12-06-2010 10:50 AM
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
12-06-2010 12:08 PM
Sorry, the error is -88708
12-06-2010 02:26 PM
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?
12-06-2010 02:32 PM - edited 12-06-2010 02:36 PM
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.
12-06-2010 03:55 PM
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.
12-06-2010 04:28 PM - edited 12-06-2010 04:28 PM
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
12-06-2010 04:32 PM
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.