LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging at 10kHz in TDMS format

Hello

I am developing executable application to log 8 channels data using C series 9205 Analog Input module, 9112 chassis and 9012 controller. Windows Home premium operating system, above 4 GHz processor and 800 GB memory to log the data continuously for 3 days. Is it achievable?

Recently I developed an application and now I found that it hangs up after 90 minutes of logging leaving user with no choice but to shutdown the computer.

Not sure if it I could improve application reliability by upgrading operating system or is it to do with file format? Please advise

 

Kind Regards

Austin

 

0 Kudos
Message 1 of 2
(2,231 Views)

Very difficult to say, given the few details provided, but I'm guessing it's your code, not your OS or file.  Can you post your code?  It sounds like you have a memory leak, or a greedy loop, or one of those other things we see here on a regular basis.  When your program hangs, is your CPU usage at 100%?  Does your memory usage increase the longer your code runs?

 

Certainly what you want to do is achievable.  Are you using a producer-consumer architecture?  Do you create the DAQ task once, acquire data, then stop and close it when you're done, or are you creating and destroying the task with every loop iteration?  Do you open your file once, write to it, then close it when you're done, or do you open and close it each time you write to it?

 

Are you using the dreaded Assistants?  Smiley Wink

 

More details, and seeing your code, will help us to point you in the right direction.  Without code, we can really only guess as to where the problem is.

 

You might also have a look at this.  It sounds kind of similar to what you want to do, so it might help you.

0 Kudos
Message 2 of 2
(2,207 Views)