LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to send a stop to a DAQcard from a pressure transducer


Hi Dave,

I haven't read through the whole of this posting, but it seems the error you're getting is because the number of linkes trying to be written, is greater than the number you defined in your task. So you need to make sure that when that particular event occurrs in your code, you program still only has an array with length 3 writing on the digital out.

That should resolve that particular error anyway.

Best wishes
Rob L

NI Applications Engineer

UK & Ireland


It only takes a click to rate this message 😉
0 Kudos
Message 21 of 23
(510 Views)
hey everyone,
 
thanks for your help.  ended up starting again and simplying the VI. 
 
seem to be getting an error when it passes through the read for the analogue devices. 
 
Error -50103 occurred at DAQmx Read (Analog DBL 1Chan 1Samp).vi:1
Possible reason(s):
The specified resource is reserved. The operation could not be completed as specified.
Task Name: pot
 
does anyone have a suggestion to what is the problem?  Ive submitted the VI again
0 Kudos
Message 22 of 23
(495 Views)

Are you using the Run continuously button?  I don't see anything in your code that keeps it runnin more than once.  I hope not.  Use a large while loop and wire a Stop button to the stop terminal of the loop.

Use your error wires.  I wonder if you have a bit of a race condition as you really can't control when most of those analog reads and writes will occur.  Some could be happening in parallel.  And that could cause the error message that a resource is reserved.  Wire up the error wires between the different functions.

0 Kudos
Message 23 of 23
(491 Views)