LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error code -88708 with DAQmx Create Channel (AI-Voltage-Basic)

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

0 Kudos
Message 1 of 5
(4,673 Views)

Try changing the slot of the card. Also try reinstalling the drivers

0 Kudos
Message 2 of 5
(4,667 Views)

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

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

Also check whether you have got the latest and proper DAQmx version

0 Kudos
Message 4 of 5
(4,658 Views)

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

0 Kudos
Message 5 of 5
(4,650 Views)