Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

error 50103 the specified resource is reserved task name

Solved!
Go to solution

Hi all.

Let me tell you my configuration:

software:   Windows XP sp3, Labview 8.5 en.

hardware:   NI-cDAQ chassis 9172 with 4 modules installed (in this order):

                        1. NI-9217 (4 RTDs)

                        2. NI-9217 (4 RTDs)

                        3. NI-9219 (4 RTDs)

                        4. NI-9219 (4 RTDs)

So, i want to aquire 16 temperatures.
In MAX v4.3, all is working fine.
 
As you aspected, I have the famous error 50103:  "The specified resource is reserved. The operation could not be completed
as specified". "Task name: unnamedTask<9>".   - highlighting module #2.

My goal is to read these temperatures consecutively, i mean: mod1 ch0..ch3, mod2 ch0..ch3 and so on.
My programm (vi) is like that:

In a while loop I have a Stacked Sequence Structure which has 4 frames, each for every DAQ Assistant asigned and configurated

for those modules.
So i have: Assitant1 for mod1, Assistant2 for mod2, and so on.
The Assistants work well in configuration preview mod. (I see 4 temperatures on each module).
But in my programm, i got the error above, on module2.

I read something about this error and I understand that I can't use 2 or more resource in the same time.
I understand that a resource represents a channel on a module.
At each DAQ Assistant output I have a Split Signal (split in 4)
But with this configuration and this algorithm I suppose I read all 16 channels in total consecutively, not in the same time.
Am I wrong ?
How can I fix the problem ?
Thanks.

0 Kudos
Message 1 of 8
(6,282 Views)
Solution
Accepted by topic author dsasorin

You are seeing the resource is reserved error because you can not create more than one duplicate task in your program.  The compact daq with modules is essentially the same as one of our PCI/PXI data acquisition cards in that you can only have one duplicate task to read from the different channels.  So, what you need to do is use just one daq assistant and select the channels from all the different modules that you want to read from.  I attached a screenshot of how to select the different chanels.

 

Regards,
Jordan F
National Instruments
Message 2 of 8
(6,268 Views)

Stupid me.... of course....

I don't know why I was thinking that I have to use 1 assistant for 1 module cDAQ....instead of 1 assistant for all modules....Smiley Tongue

I'll try this tomorrow, it has to work...I want ot read all 16 in less than 2 sec.

Anyway, the program is finished now, but not like this....i used the exemple: "Acq Resistance sample" and from here ....

Ufff...

Thank you very much, Jordan !

0 Kudos
Message 3 of 8
(6,255 Views)
No problem, good luck with your application!
Regards,
Jordan F
National Instruments
0 Kudos
Message 4 of 8
(6,251 Views)

I'm basically having the same issue, but if i aquire all the data (8 temps (NI 9211) and 2 voltages (NI 9205)) with one daq assistant, how would you take the data from one specific temperature to control other parts of the program?

0 Kudos
Message 5 of 8
(6,084 Views)
You can use the split signals function to separate your output data.  The function is located on the functions palette>>Express>>Signal Manipulation>>Split Signals. 
Regards,
Jordan F
National Instruments
0 Kudos
Message 6 of 8
(6,070 Views)

I added the split signal function, but how do you determine what signals go through what path.  I tried a "select signal", but it doesn't show all of the items i need to record.  I've attached the VI I have.

0 Kudos
Message 7 of 8
(6,066 Views)
The split signal function breaks up the signals in the same order as they are configured in the DAQ assistant.  So if Channel 0 is the first input signal specified in the DAQ assistant than the top signal in the split signal function represents the data from channel 0.  Also, it looks as if you are using the Split Signal function and the Select Signal functions.  This is unneccesary because they both are breaking up the signals being output from the DAQ assistant.  The only difference is that the Split Signal express vi lets you choose what specific signal(s) you wish to use from the DAQ assistant. 
Regards,
Jordan F
National Instruments
0 Kudos
Message 8 of 8
(6,047 Views)