Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Pausing Zaber Motor Execution

I have the following program and I wish to pause execution of the program until motors 1 and 2 have finished moving. What the program does is it runs through the whole command chain without pause and the "Move Absolute" commands never seem to execute (as it reaches "Close" before the Move Absolute commands have time to execute).

0 Kudos
Message 1 of 2
(4,537 Views)

Hi bilaln,

Check out our example VI called "Zaber Expert - Sumultaneous Requests". It should have come with the Zaber instrument driver. There's also a brief description and screen shot on our web site:

http://www.zaber.com/wiki/Software/Labview_Driver#Expert_-_Simultaneous_Requests

 

For your specific scenario, it looks like you need to add a second blocking read next to the one you already have, and then add two more blocking reads just before the close. Each blocking read only waits for one response, so when you send two simultaneous requests, you have to wait for two responses.

 

yours,

Don Kirkby

Zaber Technologies

0 Kudos
Message 2 of 2
(4,515 Views)