Chapter 14 Onboard Programs
© National Instruments Corporation 14-37 NI-Motion User Manual
Figure 14-22 shows the subroutine that causes the motor to rotate counter clockwise.

Figure 14-22. CounterClockwise 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
109
2 3 4 6
75
8