VXI Trigger Tutorial Primary Software: Driver Software>>NI-VXI/VISAPrimary Software Version: 3.3.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: How do triggers work with VXI/VME? Solution: The VMEbus standards defined a high-performance bus for test systems, but it did not cover the issues of timing and synchronization. VXI extended the VMEbus standards to define a trigger bus and protocols for trigger acknowledgments. These lines can be used for beginning or ending an acquisition sequence, for automating a test sequence, or for communicating as a digital bus. Any device is capable of asserting or receiving triggers as long as the hardware is available to control or respond to these lines. VXI/VME devices can be synchronized through the use of the VXIbus-defined trigger protocols to improve system performance with little software development. Synchronization is fixed with a known propagation rate of only 2 ns between slots on the VXI backplane. The VXIbus specification does not specifically define how to use these lines, but does define protocols for acknowledging triggers.
This protocol’s timing is very precise because it uses the 10 Mhz CLK10 signal to synchronize the On and Off signals. Also, the propagation delay between slots in a chassis is always 2 ns; this means that cards in any two slots can be synchronized to start at the same time because the delay can easily be calculated between the two slots.
Device A is the controller that sends out a start signal to the two devices, B and C. Device A sends out a start signal which is clocked in by the CLK10 rising edge. Since it takes 20 ns longer for the CLK10 signal to arrive at Device C, Device B can internally delay its trigger by 20 ns in order to synchronize its activities with those of Device C. This assumes that Device B has an internal delay capability. Synchronous (SYNC) Trigger Protocol The SYNC protocol is the simplest trigger protocol; it does not require an acknowledgment from a receiving device. It uses a single pulse on one trigger line and is asserted low.
For more information on triggers, refer to the VXI bus specifications and also to National Instruments Technical Note 040, Triggering with NI-VXI, linked below. Related Links: Developer Zone: Triggering with NI-VXI Attachments:
Report Date: 07/24/2006 Last Updated: 08/22/2007 Document ID: 3ZN887C5 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||



