Hello Guest it is February 04, 2026, 08:16:50 AM

Author Topic: Scripting help  (Read 5368 times)

0 Members and 1 Guest are viewing this topic.

Offline c30232

*
  •  122 122
Scripting help
« on: December 02, 2014, 07: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, 08: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, 08:07:03 PM »
Perfect.  Thank you!!!