This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Generate IMAQdx Software Trigger

Updated Dec 8, 2022

Environment

Driver

  • NI-IMAQdx

Other

  • USB3 Vision camera
  • GigE Vision camera

I have a USB3 or GigE Vision camera that supports software triggering. How do I send a software trigger to my camera?

You can send a software trigger to a camera using one of the following two options:

Using NI MAX
  1. Open NI MAX from the Windows Start menu and click on your camera under Devices and Interfaces.
  2. Click on the Camera Attributes tab.
  3. In the Attributes table, navigate to Camera Attributes»Acquisition Control.
  4. Set the Trigger Source attribute to Software.
  5. Click on the Generate Software Trigger attribute to show the Execute button as shown in the screenshot below.
  6. Clicking Execute will send a software trigger to your camera.

Using LabVIEW
  1. In a VI, open an IMAQdx camera session to your camera.
  2. Place a property node on the block diagram and wire in the camera session wire.
  3. Expand the property to show two fields and change all to write.
  4. Click on the top property field and select Camera Attributes>>Active Attribute.
  5. Wire the string TriggerSoftware  to the ActiveAttribute property.
  6. Click on the bottom property field and select Camera Attributes>>Value>>Boolean.
  7. Wire a True boolean to this property.
Note: Writing either a true or a false boolean to the TriggerSoftware attribute will send the software trigger to the camera. To prevent the trigger from being sent when the value of the boolean is false, place the property in a case structure as shown below:

You can refer to the IMAQdx Grab with Software Trigger example program for further information on implementing a software trigger in LabVIEW.

Additional Information

If you do not see Software listed as an available option for the Trigger Source in NI MAX, then your camera does not support software triggering. If your device has an external trigger line, refer to the Triggered GigE Acquisition example program. In the other hand, if you want to use an external signal to trigger your camera, refer to How can I synchronize/trigger my camera to external signal?  article.