07-13-2009 12:32 PM
I have an application using the USB-6009 and C# to record peak voltages above a threshold. I am running in continuous mode at 10 k samples per second and evaluating the data as it becomes available. Everything was working fine until approximately 80 hours into the test. The DAQ stopped collecting the data. This has happened before but this time I was able to verify the problem.
I stopped the application and evaluated the DAQ using the NI-DAQmx Test Panels and checked the Analog Input. Everything was working correctly. Restarting the application also worked as expected.
Should I stop and reinitialize the 6009 on a periodic basis? I have some tests that run for a week or more.
Any help is appreciated.
07-14-2009 03:17 PM
Can you elaborate "The DAQ stopped collecting data..? I'm assuming you're writing to some memory, after 80 consecutive hours the data is no longer being written. Has the device powered down or has just ceased collecting samples. I'm not aware of any benchmarking done on the amount of time a user can collect samples. Therefore, re-initializing the task after a certain period of time shouldn't be necessary. Also, since it is a USB device, there is a possibility of a connection failure.
Let me know your thoughts.
Glenn