National Instruments NI-Motion Home Safety Product User Manual


 
Chapter 12 Synchronization
NI-Motion User Manual 12-38 ni.com
You also can create a software trigger by writing to the RTSI lines directly
from software.
You can route position breakpoints and encoder pulses using the RTSI bus
to trigger other devices. You also can configure data and image acquisition
devices to trigger high-speed captures on the NI motion controllers using
the RTSI bus.
RTSI Implementation on the Motion Controller
You can configure an onboard buffer on the motion controller and use the
buffered high-speed capture or breakpoint functionality to synchronize the
motion application with data or image acquisition.
As shown in Figure 12-21, the I/O reaction task automatically re-enables
the breakpoints or high-speed captures on the NI 7350 motion controller.
On NI 7340 motion controllers, you must write an onboard program or use
the host to perform the same re-enabling tasks.
Figure 12-21. RTSI Implementation on the Motion Controller
Write the captured position to the buffer
or read the position from the buffer and enable
the breakpoint. You must create the buffer.
Latches position on
external trigger
(high-speed capture)
Generate trigger (breakpoint)
at a given position
Host can read/update
the buffers asynchronously
*NI 7350 only
To/From
data/image
acquisition device