LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is error -887078?

Hi Guys,

 

I keep getting the error -88708 " The specified resource is not available". This happens when I am trying to measure multiple analog inputs by creating the same task. I have tried restarting the vi, my computer. Nothing seems to get rid of this error. What else can I do? Please help!!

 

VJ

I may not be perfect, but I'm all I got!
0 Kudos
Message 1 of 7
(4,703 Views)

Sorry, the error is -88708

I may not be perfect, but I'm all I got!
0 Kudos
Message 2 of 7
(4,679 Views)

Can' really see what your code is. Those multiple "AI Voltage" VIs look suspicious. And that appears to be a very unusual name for a task. Have you verified the task works correctly in MAX?

0 Kudos
Message 3 of 7
(4,661 Views)

Here is the vi I tried. The acquisition vi outside "main state machine vi" collects and sends data. main has only digital outputs and analog outputs.

 

P.S. I couldn't find the other vi that is part of this parameter_acquisition.vi.

 

I have tried creating tasks on MAX and including them in the block diagram, tried holding ctrl key and adding all channels. I still get the error -88708. I am currently upgrading my daqmx drivers as this was one of the suggestions.

I may not be perfect, but I'm all I got!
Download All
0 Kudos
Message 4 of 7
(4,652 Views)

I upgraded the drivers, restarted the machine and changed the USB slot to another one on the computer. Nothing seems to work. I can't figure out what's going wrong.

 

Can't we have two parallel loops; one loop acquiring analog inputs and the generating digital/analog outputs based on the inputs received? I do have clear task vi for each task that I have created. I used to abort the program sometimes using the "red abort execution" button but I have changed that to a control on the program, but that doesn't seem to work as well.

I may not be perfect, but I'm all I got!
0 Kudos
Message 5 of 7
(4,631 Views)

This is something I notice. Every time I run the main vi, this error code -88708 pops up immediately.

_______________________________________________

error --88708 occured at DAQmx Start Task. vi:11

 

Possible reason(s):

 

The specified resource is not available. The operation could not be completed as specified.

 

Task Name: _unnamedTask<1BF>

________________________________________________

 

Now, everytime I stop the vi and start it again, I get the same error, BUT, the value in " < > " changes. The one shown is <1BF>. Next time I run it I see <1C0> and next <1C1> etc. Is this relevant?

 

VJ

I may not be perfect, but I'm all I got!
0 Kudos
Message 6 of 7
(4,616 Views)

Ignore. I solved the problem. The initialize state in main had a "reset DAQ" function programmed in. I removed that and now the acquisition parallel vi reads continuously.

I may not be perfect, but I'm all I got!
0 Kudos
Message 7 of 7
(4,611 Views)