LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 50103 the specified resource is reserved - task name - on 4 modules

Solved!
Go to solution

Hi all.

 

I'm sorry i put this post by mistake in Measurement Studio for.NET: smileyindifferent:

 

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 ? : smileysad:
Thanks.

0 Kudos
Message 1 of 5
(3,600 Views)
Solution
Accepted by topic author dsasorin

Somehow, i managed to fix it.

I didn't use the Assistant , i used Code DAQmx, but it's very slow.... I read all 16 temps in 20 seconds, (i read each channel separately) but there are not all installed, i thing this is why it takes so long time.

Is there any tricks to aquire very fast ?

(I mean all 16 temps in 1 second)

 

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

Hi dsasorin,

 

The error that you have mentioned can be caused due to a number of reasons. There is a knowledgebase article listing several reasons for it that can be helpful. Have you created a task beforehand in MAX? Are you generating the code directly from it or are you writing the code in LabVIEW and asking it to use the channels from the task you specify? Have you tried using the lower level DAQmx VIs such as DAQmx Task name and then tried generating code from that by right-clicking and selecting Generate Code >> Configuration and Example. Hope this helps!

 

Ipshita C.

 

 

National Instruments
Applications Engineer
Message 3 of 5
(3,559 Views)

It was useful for me the exemple included:

"Acq Resistance Sample.vi"

 

From this, I build 16 items identicaly, and it worked.1ch/1sample/1 DBL.   I read all 16 consecutively (all in 20 sec), then write in spreadsheet file. Now you now whay i did.

For now, it's ok the vi, but soon I want to reconsider the algorithm and do it by the book.

The goal is to aquire all 16 channels in less than 2 sec. I think it is possible with my hardware (see above). Right ?

I'll be back. Smiley Wink

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

Hi dsasorin,

 

It is possible wiith your hardware. Good luck!

 

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 5 of 5
(3,528 Views)