Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I unreserve a DAQmx resource?

I am trying to use a Simulated AO Task.

 

It seems like I was able to sometimes get it to work, but now I can't even start a task. I get this:

 

Error -50103 occurred at PowerControl_DAQLoop - AOWrite.vi

Possible reason(s):

NI Platform Services: The specified resource is reserved. The operation could not be completed as specified.

Task Name: SimBufferedAO

 

Um... OK. So how does one go about "unreserving it"?

0 Kudos
Message 1 of 5
(3,444 Views)

Update: Closing LabVIEW worked.

 

Any idea what causes this condition? Anyone seen this before? Or know a better way to clear it?

0 Kudos
Message 2 of 5
(3,442 Views)

Are you stopping and clearing the DAQmx Task?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5
(3,435 Views)

I don't want to clear it because I want to restart it later during the execution. So no, I am not clearing it.

 

Also, my understanding is that clearing the task is what you do when you've created teh task from scratch, and in this case I am using a task that is pre-defined for me in MAX.

 

Is this incorrect?

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

You are going to have to supply some code so I can figure out your situation.  Otherwise I will just be grasping at straws.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 5
(3,399 Views)