Hello Guest it is May 20, 2025, 05:53:12 PM

Author Topic: Scripting help  (Read 3972 times)

0 Members and 2 Guests are viewing this topic.

Offline c30232

*
  •  122 122
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,965 6,965
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
Re: Scripting help
« Reply #2 on: December 02, 2014, 09:07:03 PM »
Perfect.  Thank you!!!