Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

stop motion

Hello,

I'm using NI motion assistant to create 2 different motions in 2 vi's. Each motion includes a lot of different positions with measurements in between.

I have put these 2 motions vi's in a state machine.

The problem I have is that I need to stop each motion while they are executing before they end (cancel the motion). The best would be to be able to switch between the 2 motions using a single control, or two. Any idea how I need to implement that? If possible, please draft an example code.

Thanks a lot   

0 Kudos
Message 1 of 1
(3,948 Views)