02-25-2009 01:34 AM
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.
Solved! Go to Solution.
02-25-2009 06:24 PM
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.
02-26-2009 03:28 PM
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....![]()
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 !
02-26-2009 03:59 PM
03-31-2009 04:39 PM
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?
04-01-2009 08:54 AM
04-01-2009 10:35 AM
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.
04-02-2009 02:15 PM