Chapter 14 Onboard Programs
© National Instruments Corporation 14-35 NI-Motion User Manual
LabVIEW Code
Figure 14-20 shows the main onboard program used to determine the subroutine call.

Figure 14-20. Onboard Subroutine Call Using LabVIEW

1 Begin Program Storage
2 Insert Program Label
3 Select MOMO
4 Jump to Label on Condition
5 Run Program
6 Wait on Condition
7 Jump to Label on Condition
8 Insert Program Label
9 Run Program
10 Wait on Condition
11 Jump to Label on Condition
12 End Program Storage
13 Motion Error Handler
6 10
1 5
4
9
8
131211
7
2
3