LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using DAQ Assist. can I create a VI that measures continuously for a fixed time?

Solved!
Go to solution

I'm using LabView for a NI USB-6009, with two accelerometers as my analog input. When using DAQ Assistant to build my VI I didn't see an option for measuring continuously for a fixed amount of time. I need the test to run for two seconds then stop.

 

Is there anyway to specify the exact time length of each test?

0 Kudos
Message 1 of 3
(2,564 Views)
Solution
Accepted by topic author Dunh
That's about as simple as you can get. Set the number of samples to be twice the sample rate (or whatever multiplier you want). That's it - a single DAQ Assistant and nothing else on the block diagram. If you need it to be variable, just wire a control to the number of samples input.
Message Edited by Dennis Knutson on 08-18-2009 02:17 PM
0 Kudos
Message 2 of 3
(2,554 Views)
Thank you! What a simple solution!
0 Kudos
Message 3 of 3
(2,533 Views)