Configuring External Triggering with RTSI for NI Frame Grabber in LabVIEW

Updated Mar 28, 2018

Reported In

Hardware

  • PCI-1409
  • PCI-1422
  • PCI-1424
  • PCIe-1427
  • PCI-1428
  • PCIe-1429
  • PCIe-1430
  • PCIe-1433
  • PCIe-1473

Software

  • LabVIEW

Driver

  • NI-IMAQ

Issue Details

I have a National Instruments Camera Link Frame Grabber that I would like to trigger through RTSI from an external hardware, such as a NI PXIe, PCI, or USB DAQ device. How do I configure this in LabVIEW? 

Solution

Use the NI-IMAQ function IMAQ Configure Trigger3.vi before IMAQ Grab Setup.vi to configure the frame grabber to look for a hardware trigger. 
  1. Set the Type input to RTSI
  2. Set the Line Number to be the DAQ trigger line on which the trigger will be output
  3. Set the Frame timeout and Action inputs appropriately based on your intended behavior

For example, in the image below, the IMAQ Configure Trigger3.vi is configured to look for a trigger on PXI_Trig0. Each trigger will cause a new buffer to be acquired. 



 

Additional Information

For PXI trigger lines, the RTSI line numbers map one-to-one. For example, RTSI line 0 maps to PXI_Trig0, RTSI line 1 maps to PXI_Trig1, etc. 

When using this triggering method, make sure the camera is set to free run mode. This ensures that only the frame grabber is triggered, rather than both the camera and frame grabber. If both devices are triggered, you may see slower image acquisition.  

WAS THIS ARTICLE HELPFUL?

Not Helpful