LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Obtaining pre-trigger data from triggered aquisition

I am trying to program an application to capture x samples before a trigger and y samples after a trigger.

I am looking at example programs using the DAQmx functions.

The "Acq-IntClk-AnlgStart.c" example captures a block of data occurring after a trigger event happens.  What is the best method to capture and read x samples prior to the trigger event in addition to the block of data after the trigger event?

 

Thanks

0 Kudos
Message 1 of 2
(2,201 Views)

This community example using analog triggering but might be helpful to get you going.

 

https://forums.ni.com/t5/Example-Program-Drafts/DAQmx-Analog-triggering-by-software-under-LabWindows...

Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,175 Views)