LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

command executes before motor finish moving

Solved!
Go to solution

Folks,

 

Need a bit of help.  I'm trying to program an X-Y scanning stage for a microscope.  I want the stage to move in X to a certain position, stops, and then move in Y to a certain position.  I have a "wait (ms)" function to ensure that the X movement completely finish before the Y movement kicks in.   But this only works if I put in a very long time, like 10s, for the "wait (ms)".  If I use a short time then the Y movement will occur before the X-movement finish, that is, both motors are moving at the same time, so this will not work.

 

What I want is a command that moves the Y immediately and only after the X finish.  Is there something like "wait until movement completes"...?

 

Thanks.

 

 

0 Kudos
Message 1 of 3
(2,567 Views)

Posting a snippet would help your cause a great deal.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 3
(2,561 Views)
Solution
Accepted by topic author sonny746

Depends entirely on whether your motor controller supports such a function.  What motor controller are you using?  How are you communicating with it?

0 Kudos
Message 3 of 3
(2,558 Views)