06-26-2013 12:39 PM - edited 06-26-2013 12:41 PM
Can a PXIe6361 be set to retrigger on an analog input (APFI0)?
I have a need to measure a 4mS wide pulse once every second. The test will run for anywhere from 5 - 60 minutes.
I would like to use an Analog trigger to begin the capture a finite # of samples (1000) on channel AI0 for each pulse. I have created a task (see attached) to capture a single pulse, can the task be modified to automatically retrigger on a rising edge? Or do I need to create a loop to continually restart the task after each acquistion?
Hardware
PXIe-8133 Embedded controller
PXIe-6361 (qty3)
PXI-5422
Software
Visual Studio 2012
NI-DAQmx 9.7
Thanks in advance
06-27-2013 09:28 PM
Hi AKhan
In the path
C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage
There are several examples for voltage measurements I think that the Cont Acq-Int Clk-Dig Start-Retriggerable might work for you.
Regards
Esteban R.