Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ sampling Rate

I am using a 6062E DAQ card to acquire data. I have trigger in my loop that turns on a warning light when a certain value is reached. Since I'm only sampling at 5 samples/sec,I noticed a lag in the response, wherease the response is instantaneous when I sample at 1000 samples/sec. I don't need this many samples. Is there a way to increase my response time without increasing my sample rate???
0 Kudos
Message 1 of 2
(2,474 Views)
Hello Aero Design,

I�m going to make some assumptions and take a shot at what could be happening here, but if my assumptions are wrong, I�ll need more information.

I�m assuming you are using LabVIEW and have a while loop with both your trigger and a for loop, which controls your data acquisition, running in parallel. If such is the case, you are going to have a maximum lag of 400 ms. The trigger will have to wait at most 200 ms to be set, then have to wait another 200 ms (since they�re running in parallel) for the for loop to cycle through again in order to fire.

If your structure is similar to what I described, there are numerous ways of fixing the lag. You could:

Put the trigger inside the for loop
Change the for loop to a while loop
Remove th
e for loop altogether

If these suggestions don�t help, or if I�m not correctly understanding your issue, please post:

The software and versions you are using
The applicable portions of your code, or a general explanation of your code structure
The lag time you are experiencing
Any other information that may help

And I�ll be happy to look further into it.

Have a nice day!

Robert M
Applications Engineer
National Instruments
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,474 Views)