DAQmxErrChk gives problem (the specified resource is reserved)

Hello

I'm new to programming. I have a four channel USB DAQ. I use CVI to program the channels. One of the channels gives a simple output of a voltage signal while the other generates a square wave. I used the example programs for my code. I use the Volt update for the first string and the Cont Gen Volt Wfm - Int Clk example for the second case. When I run the program it compiles without error and runs. But when I start the generation of any type of wave for the second string and try to change the output voltage for the first channel, the program gives an error and stops at

DAQmxErrChk (DAQmxStartTask (taskHandle));

in the example of update of volt.

The strange thing is that when I'm not generating any output for the second channel it gives no error when I change the voltage to the first string.

Please please tell me what is the problem

The error that is displayed indicates that

The specified resource is reserved. The operation could not be performed as indicated.

Name of the task: task _unnamed<3>

Ststus Code:-50103

lahorimunda,

Please post on the Forums of NOR. If I understand correctly you are two different programs to run different channels? If this is the case you run through what we call that a reserved resource error is because you are allowed to have only one task of analog input running simultaneously. You will need to put all the channels within the same task, this will prevent you from running through the reserved resource error. I hope this helps.

Tags: NI Software

Similar Questions

  • NEITHER 9411 &amp; NI 9402 together does not (error-50103 ("the specified resource is reserved"))

    HI guys,.

    I work on a project where I need to acquire data from a rotary incremental encoder and at the same time generate impulses that will be sent to a camera high speed.

    I have a c9174 chassis or cDAQ and two data acquisition modules connected to the inside.

    NEITHER 9411 to acquire the data of the rotary encoder

    NEITHER 9402 to generate impulses and sent to the camera high speed

    The problem is that when I try to do both tasks at the same time LabView gives me the following error message:

    -50103 ("the specified resource is reserved")

    I made individual screws for both tasks in order to check if the sensor and the DAQ modules work and there is no problem. The generation of pulses program has been verified using a digital oscilloscope and the encoder is giving the desired results.

    However, they do not work when two tasks are performed simultaneously.

    I tried;

    (1) do the two tasks in the same VI

    (2) do both tasks with their screws separate - start them at the same time or start them with a certain time delay, LabView still gives this error.

    I will be highly obliged if there is one any solution to this problem.

    Concerning

    Najat

    Hello MNMQ,

    Normally this should work you can post your code?

    Have you used different counter for the 9411 ctr0 and ctr2 for the 9402?

  • task error 50103 name the specified resource is reserved

    Hi all.

    Let me tell you my configuration:

    software: Windows XP sp3, Labview 8.5 fr.

    material: chassis OR cDAQ-9172 with 4 modules installed (in this order):

    1 NOR-9217 (4 RTDs)

    2 NOR-9217 (4 RTDs)

    3 NOR-9219 (4 RTDs)

    4 NOR-9219 (4 RTDs)

    So, I want to acquire 16 temperatures.
    In MAX v4.3, all works well.
     
    As you have aspected, I got the famous 50103 error: "the specified resource is reserved. The operation could not be performed
    such as specified'. «Task name: unnamedTask<9>'.»»   -highlighting of module #2.

    My goal is to read these temperatures consecutively, I mean: mod1 ch0... Ch3, mod2 ch0... Ch3 and so on.
    My program (vi) is like this:

    In a while loop I have a stacked sequence Structure that has 4 frames, each for every DAQ Assistant asigned and configured

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

    I read something about this error and I understand that I can not use 2 or more resources at the same time.
    I understand that a resource represents a channel on a module.
    At each end of the DAQ Assistant, I have a Signal from Split (split in 4)
    But with this setup and this algorithm, I guess I read all 16 channels in total consecutively, not at the same time.
    Am I wrong?
    How can I solve the problem?
    Thank you.

    You see that the resource is reserved error because you cannot create multiple tasks in doubles in your program.  Compact data acquisition with modules is essentially identical to one of our PCI/PXI data acquisition cards that you can have that one task duplicate to read from different channels.  So, what you need to do, is use a single daq Assistant and select the channels of all the modules you want to read.  I've attached a screenshot of how to select different channels.

  • error 50103 that the specified resource is reserved - name of the Task - 4 modules

    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 fr.

    material: chassis OR cDAQ-9172 with 4 modules installed (in this order):

    1 NOR-9217 (4 RTDs)

    2 NOR-9217 (4 RTDs)

    3 NOR-9219 (4 RTDs)

    4 NOR-9219 (4 RTDs)

    So, I want to acquire 16 temperatures.
    In MAX v4.3, all works well.
     
    As you have aspected, I got the famous 50103 error: "the specified resource is reserved. The operation could not be performed
    such as specified'. «Task name: unnamedTask<9>'.»»   -highlighting of module #2.

    My goal is to read these temperatures consecutively, I mean: mod1 ch0... Ch3, mod2 ch0... Ch3 and so on.
    My program (vi) is like this:

    In a while loop I have a stacked sequence Structure that has 4 frames, each for every DAQ Assistant asigned and configured

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

    I read something about this error and I understand that I can not use 2 or more resources at the same time.
    I understand that a resource represents a channel on a module.
    At each end of the DAQ Assistant, I have a Signal from Split (split in 4)
    But with this setup and this algorithm, I guess I read all 16 channels in total consecutively, not at the same time.
    Am I wrong?
    How can I solve the problem? : smileysad:
    Thank you.

    Somehow, I managed to fix it.

    I did not use the wizard, I used the DAQmx Code, but it is very slow... I read all 16 times in 20 seconds, (I read each channel separately) but not everything installed, I thing this is why it takes so long.

    Y at - it tips to acquire very quickly?

    (I mean all 16 time to 1 second)

  • Using results of actual rate clock by error 'the specified resource is reserved.

    Hello!

    I use DAQmx 9.8, win10 x 64, NI 6221 emulated Council, labview 2012 32 bits.

    I need to define the AO sample clock frequency, check the actual clock rate, calculation based on the new value of pulse rate and write it in the jury for the output. The code example is attached.

    Everything is ok, when I use the command as a timing (as people used to do) during the installation of the task, but when I am trying to set the clock frequency, then number of samples I get "error-50103 that is reserved for the specified resource. The operation could not be performed as indicated. The error occurs after DAQmx Write.vi. I tried to use two calendar controls or a combination of timing and order property node timing with the same result.

    Is that it has no idea how to solve this problem? Probably, there are some more convenient way to get real rates that I don't know.

    I him have not tested yet on real hardware, emulated alone on board.

    Finally, I dindn can't reveal the source of the prolem. It was certainly not related to the synchronisation screw. Just more simple configuration of analog output generated the same problem in this VI, but working without errors when copied to the new file.

    Rewriting all of the project from zero contributed to y for remedy. Initially, I tried to change the existing program of someone else to change the generator stand-alone benchtop to DAC signal generation.

    Now, everything's fine. Due to the software is not complicated it only takes a few hours to rewrite

  • NOR-DAQmx 50103 error 'the specified resource is reserved.

    Suddenly, I get this error when I try to run my program. I looked at the page for orientation:

    http://digital.NI.com/public.nsf/allkb/485201B647950BF886257537006CEB89

    I followed the steps for the case 1 (traditional DAQ driver reset), but I still get the error. Other cases concern problems with the program itself, and this cannot be my cause because my program was working fine when I left him before the holidays! Does anyone know if there is anything else without not my program that could be cause of this error?

    Thank you!

    Christina

    Glance, I see nothing in your program. I guess that other programs can run.

    However, I would certainly create and delete tasks only once. At the beginning and at the end - it could theoretically help. I also suggest you to split your large loop for in 2 loops.

    BTW, a task that throw you the error?

  • Error: the specified resource is reserved.

    Hi all

    I wrote a program that will read the 4 analog input voltages, however, I get the error as shown in the picture.  Basically, Dev1/ai0 thru ai3/Dev1 will be used to get data from. But whenever I run this program, reading DAQmx comes on and the error message and I'm in trouble.

    Is there a way I can fix this so that I can read all the 4 AIs at the same time?

    Thank you very much in advance.

    Pui

    I guess that you did not attempt to find this error. He is asked many times.

    The answer is simple - do not use 4 separate tasks. Use a single task with several channels.

  • 4 usb ports - this device is disabled because the firmware of the device did not give him the necessary resources. (Code 29)

    m facing a problem with hub 4 ports usb of my... When I connect usb hub my with my usb keyboard and mouse, and then the lights of the suite to get devices but they doesnot work... and the error message shows... I checked in Device Manager and I got the message details which are given below.

    Device status:

    This device is disabled because the firmware of the device did not give him the necessary resources. (Code 29)

    driver version:

    6.1.7601.17514

    Please help me... Thank you.

    Hello

    In the Device Manager - right click on the device and Uninstall - when complete reboot.

    Check in the Device Manager to see if the device re-installed. If it isn't action - Scan for
    hardware changes.

    Also check the BIOS - Setup/settings - often F2 for system start - make sure that the USB port
    is activated. Check with Support from the manufacturer of the system/motherboard, their documentation online.
    and ask in their forums.

    How to fix error Code 29
    http://pcsupport.about.com/od/errorc/a/code-29-error.htm

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Why am I suddenly the following error message: "the specified location is reserved by the operating system and is not allowed. Please choose another location. "I've been recording all night and I have not changed the settings.

    Why am I suddenly the following error message: "the specified location is reserved by the operating system and is not allowed. Please choose another location. "I've been recording all night and I have not changed the settings.

    toml12632875 wrote:

    I've been recording all night and I have not changed the settings.

    You have completed a disc to its ability, by chance?

  • support for transactions in the specified resource manager is not started or has been closed due to an error (0x80071A91)

    try to use the windows backup utility, started using it, but came up with this error message

    Hello

    This problem occurs if the Windows file system transaction log is damaged. The Windows file system uses the transaction log to retrieve the system transactions when a file error occurs.

    To resolve this issue, follow these steps:

    1. Click on start toreduce this includes this im, type cmd in the Search box, and then click cmd in the list of programs .
    2. Click run as administrator, and then click continue. Collapse this includes this imaIf you are prompted for an administrator password or for confirmation, type the password, or click allow.
    3. At a command prompt, type the following command and press ENTER:

    fsutil resource setautoreset true c:\

    Note These steps assume that Windows is installed in the default location, drive C. If this is not the case, adjust the drive letter of the path of the folder to match your configuration.

    1. Restart the computer

    Now, check if you are able to perform the backup.

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Two tasks that share the same resource in sequence

    I'm the current exception "the specified resource is reserved.". I understand that you can not run two tasks that share the same resource at the same time. However, is it true that you can not run two tasks that share the same resource, one right after the other, without the eliminate completely from the first task?

    for example

    Task1 and task2 share the same resource
    Task1. Start();
    Task1. Stop();
    Task2. Start(); This will always throw an exception until you have a task1 (i.e. task1.) Dispose()?
    Task2. Stop();

    Hi cafarm,

    You're right, the fact to just stop at one task does not allow that run you another task with the same resources immediately after. That being said, you can start the next task without having to erase or dispose of the first by making use of the task status template DAQmx. As you can see on the next page, stop a task simply going to the State of "Clerks", which means that the material is still used by the task even if she does not actively.

    http://zone.NI.com/reference/en-XX/help/370466AC-01/mxcncpts/taskstatemodel/

    Instead, you can use the control functionality of task for the first task of transition to the status "verified" after stopping it, then start the second task. This keeps the parameters of the task without having to have the task, but it should free up resources to be used by other tasks.
    http://zone.NI.com/reference/en-XX/help/370473H-01/mstudiowebhelp/HTML/verifycommitstartstopdaqtask/

  • An error keeps coming back that there is a problem starting werconcpl.dll - the specified module could not be found. What should I do?

    An error keeps coming back that there is a problem starting werconcpl.dll - the specified module could not be found.  What should I do?

    Hello

    ·         Since when are you facing this problem?

    ·         Were there recent changes made on the computer before the show?

    Follow these methods and check if that helps:

    Method 1:

    This file is a Microsoft Windows System. If you receive the warning on the file, I suggest you to run the latest Microsoft security on your computer Scanner and check if that helps:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: the data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    Method 2: Run scan files (SFC) system auditor

    It will scan your computer to check the integrity of files on your system.

    The System File Checker (SFC) utility allows administrators to perform an analysis of all protected resources to make sure they are the correct version. Whether SFC should find all incorrect versions in one of these protected resources, SFC will be replaced by the correct versions.

    SFC follow the steps in the article to run a scan:

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    http://support.Microsoft.com/kb/310747

  • Windows cannot access the specified device, path or file. May not permissions to access you the item. Can someone tell me how to overcome this problem.

    Windows cannot access the specified device, path or file. May not permissions to access you the item. This message appears when I try to access also anti programs anti-virus will not play CD in windows media player. Can someone give me advice on what to do to remedy the problem.

    Hi Lee,.

    • You did any computer change?
    • What anti-virus program is installed on the machine?
    • What is the full and an error code error message when you access the CD through Windows Media Player?

    Follow the steps mentioned below:

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Note: try to access Cd rom drive and antivrirus program and see that you get an error

    Perform a clean boot according to the link below:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: Follow step 7 in order to his usual manner once completed troubleshooting computer

    The analysis of Microsoft Security Essentials online according to the LienSuivant:

    http://OneCare.live.com/site/en-us/default.htm

    Reply back with the results

  • Error: "\\(PC Name) is not accessible." You might not have permission to use this network resource... The specified network provider is not valid.

    Hi, this is a follow-up to the issue and my second attempt to find the solution. In addition, it is still connected to my first and second positions.

    My laptop that works with Windows 7 32-bit has 2 two natural questions:

    1. I can't access PC's on the network on the laptop itself and thus get an error:
    "\\(PC Name) is not accessible." You might not have permission to use this network resource. Contact the administrator of this server know if you have access permission. The specified network provider is not valid.

    2. When you make the file sharing Wizard, I get an error "your folder cannot be shared" and the only option is to click on 'Done '.

    I'm trying to share folders to another laptop that works with 64-bit Windows 8 but I think there must be a problem with the Windows 7 laptop. I can share and access all the folders of any laptop before.

    Thank you! Any useful response will be greatly appreciated.

    Hello Sevi,

    Thanks for posting your query in Microsoft Community.

    I understand that you have problems to access the specified network.

    But, I would like to know some information related to this topic to help you better.

    (1) is connected to a domain of the computer network?

    (2) is your computer connected to the homegroup?

    (3) have you been able to access the specified network previously.

    In the meantime, please follow the suggestions mentioned by Fazil M on May 15, 2012 and check if this is useful.

    Error "\\computername\f is not accessible.  You might not have permission to use this network resource"when accessing to Windows XP computer via a working group

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-networking/error-computernamef-is-not-accessible-you-might/a8db7f8c-6a7b-462D-B7F5-48707ae6b1f8

    I hope this helps. Otherwise, feel free to write us again and we will be happy to help you.

    Thank you

  • Startup error: DLL Load error can not load the resource dll: REPLRES. RLL the specified module could not be found

    Original title:

    ReplSync.dll - error loading DLL cannot load resource dll: REPLRES. RLL the specified module could not be found

    I get this error message whenever I start my computer: replsync.dll - DLL Load error can not load the resource dll: REPLRES. RLL specified module is not found Help please?  Thank you!

    Hello
    You did changes to the computer before the show?
    Method 1:
    Step 1:

    You can try to start in safe mode and check if the problem persists.

    The Advanced Boot Options screen lets you start Windows in advanced troubleshooting mode. You can access the menu by turning on your computer and pressing the F8 key before Windows starts.

    Some options, including the mode safe mode, start Windows in a limited State, where only the essential is started. If a problem doesn't reappear when you start in safe mode, you can eliminate the default settings and basic device drivers and services as a possible cause.

    Advanced startup options
    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

    Step 2:

    If the problem does not occur in safe mode, and then try to perform the clean boot and see if the problem still occurs. Clean boot helps eliminate software conflicts. For more information, see the following link:

    http://support.Microsoft.com/kb/929135

    NOTE: When you are finished troubleshooting, make sure that you reset the computer in start mode normal such as suggested in step 7 of the article mentioned above.

    Method 2:

    You can run Windows Defender Offline tool.

    See the following link for more information about the same:

    What is Windows Defender in offline mode?

    http://Windows.Microsoft.com/en-us/Windows/what-is-Windows-Defender-offline

    Windows Defender Offline: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows/Windows-Defender-offline-FAQ

    Note:
    data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    Method 3:

    Try the SFC (System File Checker) scan on the computer.

    SFC/scannow is a very useful command that you can use in any version of Windows. When the SFC (System File Checker) command is used with the/scannow switch, the tool analyzes all the important files of Windows on your computer and replace if necessary.

    Missing and the corruption of the operating system (like many DLLs) files are probably the main cause of the major problems of Windows. In view of this, plus the fact that the SFC/scannow is completely automatic and very easy to use, the tool should be usually one of your top not troubleshooting.

    Reference:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    Let us know if it helps!

Maybe you are looking for