Generating a Trigger on the PXI Backplane with a Multifunction DAQ Device

Updated May 3, 2018

Reported In

Software

  • LabVIEW Base
  • LabVIEW Full

Driver

  • NI-DAQmx

Issue Details

I am using a multifunction DAQ device in my PXI chassis and I want to synchronize it with my other modules. How do I generate a trigger on the PXI backplane with my multifunction DAQ device?

Solution

To create a trigger on the PXI backplane using a multifunction DAQ device, you can generate a digital pulse and route it to the PXI backplane. This functionality can easily be added to an example program.  To do this, select Help»Find Examples... from the pull-down menu in LabVIEW.  Browse to Hardware Input and Output»DAQmx»Generating Digital Pulses and open Gen Dig Pulse Train-Finite.vi.

Modify this VI so that the counter output is routed to the RTSI bus using the following steps:
  1. Add a DAQmx Connect Terminals VI to the beginning of the VI, and connect the error wire to the DAQmx Create Channel VI.
  2. Create controls on the Source Terminal and Destination Terminal inputs.
  3. Right-click the Source Terminal control on the Front panel, choose I/O Name Filtering, and enable Include Advanced Terminals.
  4. Choose /DevX/CtrXInternalOutput as the source terminal. (X stands for the numbers specific to your system)
  5. Choose the RTSI line that you would like to trigger on as your destination terminal.
  6. Add a DAQmx Disconnect Terminals VI between the DAQmx Clear Task VI and Simple Error Handler VI.
  7. Wire the same source terminal and destination terminal controls to the DAQmx Disconnect Terminals VI.
By default, this example generates a pulse train of 5 pulses. It is recommended to change the number of pulses to 1. When finished, the VI should look similar to as shown below:

WAS THIS ARTICLE HELPFUL?

Not Helpful