Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Retrigger Analog Input with Analog Start Trigger - CVI Example Code

Hello,

 

I need to read some analog input samples after an analog start trigger event, and this should happen not only once but at every trigger event.

The card I use is a PXI 6250, analog input pin ai6, analog trigger pin al7.

 

Is this possible and if, is there example code for CVI or another C-Language as I don't have LabView around.

 

Thanks in advance

Oliver

0 Kudos
Message 1 of 2
(3,273 Views)

Hi Oliver,

 

attached you will find a example for acquiring data with a digital trigger. Is there a reason why you need to use a analog trigger? If you need to use a analog trigger you can use "DAQmxCfgAnlgEdgeStartTrig(,,,); " instead of the digital trigger.

 

Best regards,

Jan

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