08-10-2010 02:37 AM
Dear Members
I am getting the above error while I am trying to use FGEN and SCOPE from Elvis II and II+ with the following error description"Measurements: Resource requested by this task has already been reserved by a different task".
08-10-2010 04:16 PM
Hello,
This error occurs because the resources for those instruments are not being cleared correctly or a task is already running on the requested device(s). To resolve the error, make sure that you are not referencing the same device(s) on separate parts of your code. Additionally you can also try either clearing the task or channel in use by using a DAQmx Reset at the beginning of the code so that the hardware is reset every time the code is run. Another recommendation e.g. if using the FGEN Express VI in a While Loop to continuously control the output is to stop and unreserve the device. A TRUE value must be sent to the Stop input on the final iteration of the While Loop, as shown here.
Best regards,
Ali M
Applications Engineer
National Instruments
08-24-2010 01:01 AM
11-27-2012 03:39 PM - edited 11-27-2012 03:43 PM
@jpnombo: Which of Ali's pieces of advice worked for you? Will you please elaborate?
@Ali_M: When you say: "make sure that you are not referencing the same device(s)" How would you define devices? I am using a cDAQ and 4 modules (9485, 9201, 9211, 9263)
11-28-2012 06:21 PM
Hello ross.wehner
Are you experiencing the same error that jpnombo is experienced? What Ali M means is that if you create a task that has cDAQMod1channel 1 running and attempt to access any other channels on your card then it will give you an error saying that the resource is reserved. I would define devices as your modules. Consider your 9485, 9201, 9211 and 9263 all different devices.
Regards,
Izzy O.
Applications Engineer
National Instruments
02-03-2014 01:39 PM
Hello,
I am really new to Labview. I have a DAQ set up for a 9205 and 9211 and I am getting the same error. I have a waveform chart for each for graphing (sorry if I'm not using the terms right). Would someone be able to explain what my problem is and how to potentially fix it? Below is my code. Thank you!!
02-04-2014 11:11 AM
Without seeing how your DAQ Assistant's are set up, it is difficult to tell exactly what the problem might be. I would start by setting up your voltage and thermocouple channels in 1 DAQ Assistant.
02-04-2014 12:06 PM
I have everything set up correctly, when I run each of the two DAQ's separately (in different programs) they work exactly how I need them to. However, my problem is merging the two into one program so that I can use the 9211 and 9205 simultaneously.
02-05-2014 09:01 AM
Can you provide more information on what you are doing in each DAQ assistant? Are both for analog input?
03-15-2016 04:24 AM
Hi,
I have a chassis and NI module which are cDAQ-9171 and NI 9205. (I use Labview 11.0 version)
I try to get two analog input values from different two analog chanels of NI 9205. Unfortunatelly, it is dislayed the same error. (Screenshot is in attachments).
Also, i send my project file in attachments to you for making clear everything.
Thank you in advance for your interest
Best regards,
Serbay Özkan