I am having a problem with a small bit of code and am hoping someone can help me.
I have some special maple and yew burls and slabs I need to trace so I mount one on the table and trace it using the
crosshairs in the video window. Until now I have been writing the dros down on paper and inputting them into Aspire
by hand.
That was ok before but now I have been given 5 more to do, so with your help, I would like to use a button to
record the dro to a file so I can speed things up a bit.
So far I have gotten the code into the button and it writes to the file but when I try to write the next line to the
file it overwrites the last line, could someone please have a look and tell me what I am missing?
Sub Main ()
Open "L:\test\TESTFILE.txt" For Output As #1 ' Open to write file.
X = GetOEMDRO (800)
Y = GetOEMDRO (801)
Z = GetOEMDRO (802)
Write #1, X, Y, Z
Close #1
End Sub
With many thanks; Herman