LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Acquisition rate is not as expected. Only half of the data were logged.

Solved!
Go to solution

@Billy90 wrote:

Dear @GREK5000,

Hello! Thanks a lot for your help. I tried it today and it has some problems. 

The data were too much. It exceeded the maximum data acquisition rate of the DAQ card I use. 

I just sent you a message. Hope you receive my message. 

About the test files, I don't think I am able to attached those files here 'cause those files are too large. Therefore, I will attach a screen shots of the txt file. 

Thank you for your help! 

Can't wait to hear from you. 

Billy


I have not looked at your code, but using local variables is NOT the way to get all of the data. It is a good way to miss data. It sounds like you're on the right track with a producer/consumer architecture. Just a few tweeks as suggested and you should be able to record your data without issue and without data loss.

Message 11 of 12
(388 Views)

Hi GRCK5000

Yes, I agree too much is better. However the logging rate exceeds the maximum acquisition rate of the DAQ card which makes the results unreliable. 
Since the sample rate is 25000. I am expecting 20*25000=500,000 data in 20 seconds. I’ll try the code you attached and let you know the results! Thanks!
Billy 

0 Kudos
Message 12 of 12
(376 Views)