Chapter 14 Onboard Programs
NI-Motion User Manual 14-36 ni.com
Figure 14-21 shows the subroutine that causes the motor to rotate clockwise.Figure 14-21. Clockwise Subroutine Using LabVIEW
1 Begin Program Storage
2 Set Operation Mode
3 Load Target Position
4 Load Velocity in RPM
5 Load Accel/Decel in RPS/sec
6 Start Motion
7 Select MOMO
8 Wait on Condition
9 End Program Storage
10 Motion Error Handler
1
5
109
2 3 4 6
8
7