Example Programs

Showing results for 
Search instead for 
Did you mean: 

IMAQ Triggered Sequence and Save


The example demonstrates how to acquire a number of frames with NI-IMAQ and save them to disk.



This example uses the low level asynchronous acquisition of NI-IMAQ to acquire frames to preallocated buffers.
If activated the acquisition can be triggered so a frame is only acquired when a trigger occurs. The 'IMAQ Occurrence Config' function can generate a occurrence when the acquisition starts or stops, so the application can check whether the asynchronous operation has finished.




  • LabVIEW 2012 Base Development System (or compatible)
  • Vision Development Module 2012 (or compatible)
  • NI-IMAQ 4.7 (or compatible)


  • NI-IMAQ compatible hardware


Steps to Implement or Execute Code

  1. Select a path to save the frames to
  2. Configure the acquisition settings
  3. Run the VI


Additional Information or References

IMAQ Triggered Sequence and Save LV2012 NIVerified.vi - Front Panel.png


IMAQ Triggered Sequence and Save LV2012 NIVerified.vi - Block Diagram.png




**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**