LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stopping a motor before it reaches its required position

I am using labview to control a motor that lifts a lift but I want to stop it when the user wants it to stop and not until it has reached its required position. The code was generated through motion assistant, so the position it is going to has already being set but I want it to halt it at any time, I am using a stepper motor and a NI motor drive board

Message Edited by pj84 on 03-15-2005 09:59 AM

0 Kudos
Message 1 of 2
(2,147 Views)
You can use a while loop where you look for a manual stop or position reached and if you get a manual stop then use the "Stop motion.flx" to make the stop. If you use on board programming you might need to use "Stop program.flx" before you stop the motion.

/Ola.L
0 Kudos
Message 2 of 2
(2,127 Views)