Chapter 14
Onboard Programs
LabVIEW Code
1
1 Load Constant to Variable
2 Load Constant to Variable
3 Begin Program Storage
4 Set Operation Mode
5 Insert Program Label
NI-Motion User Manual
2
3
4
5
6 Read ADC
7 Multiply Variables
8 Subtract Variables
9 Jump to Label on Condition
10 Load Velocity
Figure 14-9. Updating Velocity Based on ADC Channel in LabVIEW
8
9
6
7
14-16
10 11
12
11 Start Motion
12 Read Variable
13 Jump to Label on Condition
14 End Program Storage
15 Motion Error Handler
14
15
13
ni.com