Figure 14-18. synchronization host code in labview – National Instruments NI-Motion User Manual
Page 237

Chapter 14
Onboard Programs
© National Instruments Corporation
14-29
Figure 14-18 shows the code that runs on the host.
Figure 14-18. Synchronization Host Code in LabVIEW
Note
As the host is polling a register on the motion controller, it is not invoking the Host
Communication Task on the real-time operating system on the motion controller.
Therefore, the onboard programs executing are not preempted. In this situation, the
onboard programs run deterministically.
1
Read Move Complete Status
2
Set User Status MOMO
3
Read Variable
2
3
1