07-29-2014 08:56 PM
I have a problem where the file writing from a analog reading task will eventually stop working. The acquisition will work normally but after a period of time (tens of seconds to tens of minutes) it will stop writing files.
The mode of operation is to continuously acquire and periodically switch to a new file.
The key functions are 'readTaskConfigure()' and 'AnalogInCallback()'. The 'ShowWaveforms' flag is set to false.
I suspect the problem is with resource usage. Any suggestions on how to make this more efficient would be greatly appreciated.
Thanks,
Lorne Vaasjo
07-30-2014 05:47 PM
Hello Lorne.V.
Does it give you any error message or display any information when it stops writing files?
Also, have you seen our text-based examples? They are installed with NI-DAQmx. In National Instruments/NI-DAQmx/Text-based Code Support. Maybe there are examples that could help you verify what is missing.
Regards
Ernesto