07-13-2010 04:32 AM
Hi,
I am trying to construct a VI that moves a piezoelectric stage, the VI then needs to scan voltages from the DAQ card to build up arrays of the voltage and coordinates before constructing a 3D graph.
The VI successfully moves the stage and reads the position back to me but when it tries to scan voltages from the DAQ it fails (I'm using the DAQmx Create Channel (AI-Voltage-Basic).vi example, as this has been used in a previous, similar (and successful) VI within my department.)
I get the following error code:
Error -88708 occurred at DAQmx Create Channel (AI-Voltage-Basic).vi
Possible reason(s):
The specified resource is not available. The operation could not be completed as specified.
Task Name: _unnamedTask<1>
Any help on this would be appreciated - I'm fairly new to LabView and am at a loss with how to fix this!
Thanks
-Tom
07-13-2010 04:37 AM
Try changing the slot of the card. Also try reinstalling the drivers
07-13-2010 04:45 AM
Is this working when you restart the computer? It might be that the recources are still recerved because the Clear Task.vi wasn't executed (either it`s not present or you did use the abort button).
Felix
07-13-2010
04:49 AM
- last edited on
04-11-2025
10:29 AM
by
Content Cleaner
Also check whether you have got the latest and proper DAQmx version
07-13-2010 05:09 AM
I restarted it and ran my VI and it seemed to work.
Before I restarted I found the example VI (AI-Voltage-Basic) and ran that just to see if that worked - it didn't (same error as my overall VI).
I did have a clear task.vi in my main VI (I had simply copy/pasted the example VI into my own) so can someone shed light on why this now works?
Felix I see you state that the resources are still reserved due to Clear Task not executing - can you go into more depth on that (bearing in mind that this VI was in the code)?
Thanks for all your help so far guys!
-Tom