LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Error -200479 in LabVEIW

I have a DAQmx measurement that worked when I created it now it is showing the error -200479. I cannot seem to find any information on that error code.
 
The measurement i am doing is the folloing:
 
I start with the DAQmx Create Channel AO voltage VI, channel is  the analog output of my PCI-6036E, I then go to the Waveform Buffer generation VI, I set the Freq for 130hz, 100 samples, 2.5v Amplitude, Sinewave, and 5 cycles per buffer. it then goes to the DAQmx Timing Vi (Sample Clock) set for continuous Samples, followed by writting the Wave form from the generation vi using the DAQmx Write vi. (set for analog WFM 1Chan NSampl) eveything to this point has No error, then is goes to the DAQmx Start task and the error occurs ont he output of the start task.
 
If I had info on the error it may help.. Also I did do the latest patch for LabVIEW 8.0 (8.0.1 I believe)
 
 
Jeff D.

Certified Architect LabVIEW Champion DQMH Framework

0 Kudos
Message 1 of 2
(4,347 Views)
Hi Jeff - I looked this error up in an old version of NI-DAQmxBase.  Here's what the error code is defined as:

#define DAQmxErrorCanNotPerformOpWhileTaskRunning                              (-200479)

If you have this older version of DAQmxBase - it's in the include directory in the file 'NIDAQmxBase.h'.  I didn't see it in DAQmx 7.5 or DAQmx 8.0.  What it sounds like to me is that the VI may have quit without stopping and clearing the task.  You can try giving the task a new task name and see if it starts running again.  When a task is not stopped / cleared, it remains active in memory, and will cause an error similar to what you're seeing when you try to run the VI again because the VI is trying to create a task with the same name that already resides in memory. 

Hope this helps.
tsc
0 Kudos
Message 2 of 2
(4,342 Views)