LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous sampling with retriggering

For my vi right now, i want to collect data continuously using the BNC 2110. What i want to do is to send a triggering square wave of about 200Hz into the BNC 2110 and whenever i have the rising edge, my DAQ hardware will collect about 50 samples. This will allow me to collect about 10000 samples in a second. Is there anyway to do that? 

0 Kudos
Message 1 of 4
(2,333 Views)

Yes. There is. Look at DAQmx examples (Help-> Find examples)

0 Kudos
Message 2 of 4
(2,299 Views)

Sorry for the inconvinience but which example?

 

0 Kudos
Message 3 of 4
(2,287 Views)

In LabVIEW 2012, you can open the NI Example finder by navigating to Help » Find Examples....


Once there, the Voltage-Finite Input example outlines triggering quite well. To find it, please go to Hardware Input and Output » DAQmx » Analog Input » Voltage- Finite Input.vi .


Additionally, the following link will take you to a KnowledgeBase article that discusses retriggerable tasks:

https://www.ni.com/en/support/documentation/supplemental/21/retriggerable-tasks-in-ni-daqmx.html


The BNC-2110 is a breakout box, not the actual DAQ device. Please check the published specifications of your DAQ module to see if it supports retriggering.

Cameron
0 Kudos
Message 4 of 4
(2,268 Views)