Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Task becoming invalid after set time

I have a small DLL that I use to output two analog voltages using the function  DAQmxWriteAnalogF64(). I call the DLL repeatedly with varying output voltgage levels. After a set time of 4m 55 seconds (not always the same but quite close) the output voltages passed are no longer being output. I look at the error code from the Write function and it is -200088 "Task Specified is Invalid or does not exist" Any ideas as to why my task becomes invalidated after a certain time interval?? It happes whether or not I start the task first then repeatedly call the Write function with the auto start of task set to NO or if I have the auto start of task set to YES.

 

 

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

Hi wmh,

 

What environment are you programming in? Are you using LabWindows/CVI 2010? What operating system and version of NI-DAQmx are you using?

 

Thanks! Hopefully we can come up with more clues as to why you're receiving this error.

 

Regards,

 

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