Hello Guest it is October 11, 2024, 11:25:29 PM

Author Topic: DRO values output to file  (Read 3099 times)

0 Members and 1 Guest are viewing this topic.

DRO values output to file
« on: May 23, 2012, 11:13:00 AM »
Wonder if someone has any suggestions. I need to output X & Y DRO values to a file, one X,Y pair per line, every time a keyboard button is pressed. Is this possible?

Thanks
Zoltan

Offline BR549

*
  •  6,965 6,965
Re: DRO values output to file
« Reply #1 on: May 23, 2012, 08:26:14 PM »
'Macro for logging XY DROs use for button code
Open "c:/Mach3/DroLog.txt" For Append  As #1
Print #1,GetDro(0) &"," &GetDro(1)
Close #1
End
Re: DRO values output to file
« Reply #2 on: May 24, 2012, 09:08:50 AM »
Thank you, very much appreciated!

Zoltan