Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Using PCI 6534 in Pattern I/O with external trigger,how can I tell the PCI 6534 how much samples to read after trigger?

If I want to acquire a fixed amount of data after every trigger periodically,do i have to use finite data acquisition mode or continuous one. Thanx in advance!
0 Kudos
Message 1 of 2
(2,852 Views)
Sardar,

If you only have a start trigger, the count parameter of the DIG_Block_In() function determines how many samples will be acquired after the trigger. To acquire a fixed amount of data after a trigger, you will want to perform a finite acquisition. The following example demonstrates this programming structure:

C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC\Di\DIsingleBufExtTrig653x.C

Good luck with your application.

Spencer S.
0 Kudos
Message 2 of 2
(2,852 Views)