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