Branching Onboard Programs LabVIEW Diagram
The following block diagram demonstrates using NI-Motion to add conditional jumps in an onboard program.
![]() |
Tip Refer to NI-Motion\Documentation\Examples\NI-Motion User Manual\ for the LabVIEW VIs for these examples. |
|
||
| 1 Begin Program Storage | 6 Select MOMO | 10 Wait on Condition |
| 2 Set Operation Mode | 7 Wait on Condition | 11 Jump to Label on Condition |
| 3 Load Velocity in RPM | 8 Start Motion | 12 End Program Storage |
| 4 Insert Program Label | 9 Select MOMO | 13 Motion Error Handler |
| 5 Load Target Position | ||

