National Instruments NI-Motion Home Safety Product User Manual


 
Chapter 14 Onboard Programs
© National Instruments Corporation 14-29 NI-Motion User Manual
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 31