Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Thermocoulple reading error: "The specified resource is reserved. The operation could not be completed as specified."

I am trying to simply read the temperature from T type thermocouples connected to an SCXI 1120 with a 1327 attachment.  In the NI Measurements and Automation program I have no problem reading three seperate temperatures from the traditional NI-DAQ virtual channels.  When I attempt to read the data in LABVIEW I set up three temperature channels in only one task, so having multiple AI tasks at once is not the problem.  I am using the DAQ assistant VI with a constant CJC of 25 and continuous sampling.  However, when ever I run this simple set up I recieve an error, "The specified resource is reserved. The operation could not be completed as specified."  I'm not sure what I am doing wrong but any help would be appreciated, Thanks.
0 Kudos
Message 1 of 2
(3,852 Views)
Hello Sean K,
 
First off I see that you are in the .NET forums. You might get better responce if you post your questions according to your problem. So for this question I would go with either the DAQ or LabVIEW forums.
 
So I see that you are getting "The Specified resource is reserved" error when using the Daq assistant. However you state that in Measurement and Automation Explorer you are using the traditional NI-DAQ virtual Channel. So if that is the case then the Traditional DAQ driver is reserving the SCXI card therefore the DaqMX driver is not able to access the card. The reason for this is that the DAQ assistant is a part of the new DaqMX driver. So this is going to cause a resource error because the traditional daq driver has control of the device. So if you go into Measurement and Automation right click on the Traditional NI-DAQ (Legacy) Devices and reset the driver. Then find the device under DaqMX devices and reset the device there. At this point I would open a test panel by right clicking on the device under NI-DAQmx devices and see if your thermal couples can take readings. Then go back to your program and use the daq assistant.
 
Let me know if this helps you and post back if you have any other questions!
 
Cheers!
 
Corby_B
0 Kudos
Message 2 of 2
(3,825 Views)