Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with task not writing to file

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

0 Kudos
Message 1 of 2
(4,780 Views)

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

0 Kudos
Message 2 of 2
(4,759 Views)