LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering NI-DAQmx

I am using NI-DAQmx, and I want to sample at 30 kHz, for example 27 kSamples; I want to do it in a cycle, so I need a trigger (I'd like it to be external). I'd like to have a trigger working like the counter you can put to the graphic panel, but it has to be hardware, to say a digital signal through the PFI0 pin. I've a PCI 6143 card. Thanks
0 Kudos
Message 1 of 2
(2,998 Views)
Graziano,
you can find an example that does what you need among the examples provided with the CVI installation. The example is called ContAcq-ExtClk-DigStart.prj and it is found in the folder
...\CVI\samples\daqmx\Analog In\Measure Voltage\

Just use devx/Internal20MHzTimebase as the External clock source.

Regards,
AlessioD
National Instruments
Message 2 of 2
(2,998 Views)