LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Code -50103 "Resources reserved".

Hello all,
Morning!  I have connected my SCXI-1100 to 1308 terminal blocks and trying to acquire readings using the DAQmx Create Channel vi.  I have channels ai0:12 connected to one DAQmx Create Chan vi and channels ai13:22 connected to a second DAQmx Create Chan vi.  I'm running these both vi's in the same WHILE loop.  And this is when the error -50103 props up saying "Resources are reserved".  How can I overcome this?
Many thanks for your input. 
0 Kudos
Message 1 of 8
(4,294 Views)
Carnot,

i asume that when you talk about "aiX" you think of the inputchannels you can connect on the SCXI 1308. these channels are multiplexed in the SCXI 1100 to a single inputchannel which is acquired by the DAQ-card in the end. since you create DAQmx-channels for the DAQ-card, i think, this short  explaination (which in fact is simplified in a certain way) shows the problem: you want to use the same resource (channel or better said "functionality") of the DAQ-card in to different programms at the same time. the driver therefore catches this and creates the error-message you are seeing.
to solve the problem, you must put all inputchannels in one DAQmx-task.

Norbert B.
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 8
(4,285 Views)

Hi Norbert, 

Thanks for the message, I'm not creating individual individual tasks, I left that out for LabView to do that.  I tried an alternative using stacked sequences and using each of the Create Channel vis individually within each sequence and that seems to work.  Will get back to you with more input.  Cheers.

0 Kudos
Message 3 of 8
(4,283 Views)
Carnot,

your solution is working if you do not need to acquire all channels at the same time (simultaneously). so if it is working for you in this case, thats fine, except i would advice you to use the errorcluster to synchronize the vis instead of a sequenxe-structure.

Norbert B.
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 8
(4,279 Views)

Hi Norbert,

How can you use an "Error Cluster" INSTEAD OF a Sequence to do simultaneous DAQ?

Cheers.

0 Kudos
Message 5 of 8
(4,265 Views)
Carnot,

Please refer to the examples delivered with NI DAQ. there you can find special examples for synchronisation of multiple functions. they should point out what i meant 🙂

Norbert B.
NI - Germany
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 8
(4,258 Views)
Hello this example does not do the job because of the bugging error?

Berns B.
Bernardino Jerez Buenaobra
Senior Test and Systems Development Engineer
Test and Systems Development Group
Integrated Microelectronics Inc.- Philippines
Telephone:+632772-4941-43
Fax/Data: +632772-4944
URL: http://www.imiphil.com/our_location.html
email: Bernardino.Buenaobra@ph.global-imi.com
0 Kudos
Message 7 of 8
(4,130 Views)

Hi Berns-

Please see my response here.

Thanks-

Tom W
National Instruments
0 Kudos
Message 8 of 8
(4,125 Views)