Hello Guest it is July 19, 2019, 05:24:22 PM

Author Topic: DRO values output to file  (Read 1778 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,874 6,874
    • View Profile
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