Hello Guest it is October 21, 2019, 01:45:19 AM

Author Topic: Scripting help  (Read 1283 times)

0 Members and 1 Guest are viewing this topic.

Offline c30232

*
  •  122 122
    • View Profile
Scripting help
« on: December 02, 2014, 08:01:55 PM »
I am using script for motion and data acquisition.  I would would like to gather DRO data after a move.  I am looking for a statement that will dwell/pause the script and allow the movement to complete before the DRO data is acquired.   

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: Scripting help
« Reply #1 on: December 02, 2014, 09:05:34 PM »
Code"G1 X10Y10"

While Ismoving()
Sleep(1000)  --- dwell in msec
Wend

"Write you data"

(;-) TP

Offline c30232

*
  •  122 122
    • View Profile
Re: Scripting help
« Reply #2 on: December 02, 2014, 09:07:03 PM »
Perfect.  Thank you!!!