01-05-2012 07:25 PM
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.
Solved! Go to Solution.
01-05-2012 09:16 PM
Posting a snippet would help your cause a great deal.
01-05-2012 09:23 PM
Depends entirely on whether your motor controller supports such a function. What motor controller are you using? How are you communicating with it?