Mystery Error -50103

OK, so I'm finally up to LV2009f3, doing some cDAQ work.
I'm adding code for devices, one at a time and checking them out.
(I'm using simulated chassis, and simulated devices - thank you, NI, for this capability!) 
When I add the strain gage (NI-9237). I start getting an error (-50103 - resource is reserved).
MAX says the board works fine, and gives me the simulated sinewave.
I boil my code out of my program, and it works fine by itself.
But when I try to do BOTH module 4 (9201) and module 6 (9237), I get the error.
The attached snippet (I like snippets, BTW) shows the code.
Before I added the error wire to force the strain gage module to configure AFTER the voltage module, I would get the error every time.
But, sometimes it would occur on the VOLTAGE module, and sometimes on the STRAIN module.
I could run it several times, and the error would come from one or the other, but it would occur every time. 
So what are the rules here?  They are completely different modules, yet something is temporarily tied up when I try to configure them in parallel.
It's some sort of race, judging by the error happening on one or the other.  One chain is claiming this "resource", and the other finds it busy and complains.
Yet the error is attributed to the START TASK vi. 
What am I missing?  What are the rules about this? 
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks
Solved!
Go to Solution.
Attachments:
Error.PNG ‏30 KB
StrainSnippet.png ‏51 KB

More info:
IN the snippet I showed, running the things serially removed the problem.
In my real code, I do the CONFIG at one point, and the START at another.
IOW, in the CONFIG operation, I  CREATE CHANNEL, set DAQ TIMING and set BUFFER SIZE for two modules, in parallel, getting two TASK IDs that I remember.
In the START operation, I START both tasks in parallel.
Forcing the CONFIGS to run sequentially does NOT fix the error.
Forcing the STARTS to run sequentially does NOT fix the error.
Forcing them both  to run sequentially does NOT fix the error.
Even adding a 1-sec delay between STARTS  does NOT fix the error. 
IOW, it appears that I have to START one task before I can CONFIG the other, a state I don't understand. 
Message Edited by CoastalMaineBird on 01-16-2010 10:02 AM
Message Edited by CoastalMaineBird on 01-16-2010 10:03 AM
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks
Attachments:
Config.PNG ‏29 KB
Start.PNG ‏16 KB

Similar Messages

  • Error 50103 (rwfdt:rwfdtprint): ERR Error occurred sending Job output

    Getting the below with a particular report I am running. Seems that the cache file isn't getting created for some reason. There are other cache files in the directory so it's not a user permission type thing I'm guessing.
    Anyone seen this before?
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtni_NextInstance): running
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtni_NextInstance): quit
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtgcf_GenCachefile): running
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtgcf_GenCachefile): Cache file is C:\oracle\product\10.2.0\MT\reports\cache\66117201.txt
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtgcf_GenCachefile): quit
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtprint): caching output from backend drivers
    [2007/7/4 2:10:15:431] Error 50103 (rwfdt:rwfdtprint): 14:10:15 ERR Error occurred sending Job output to cache

    Hi,
    Sorry I didn't realize that i didn't answer to this question because of reference to others.
    I solve it with change of values in rwserver.conf
    one of values is default but other solve issue.
    <property value="no" name="keepConnection"/>
    engLife="2"   or    engLife="1"This happens in my env because application often change user (db schema). And this is workaround for restarting engine.
    regards

  • Applicatio​n on Win7 64bit throws error -50103, but not on Win XP 32bit host

    LabVIEW application newly installed on Win7 64bit host throws error -50103.
    Same aplication deployed from same installation disk on Win XP 32bit host have been working for 2 years withourt problem.
    I did have a problem with importing the MAX configuration from the Win XP 32bit machine to the  Win 7 64bit machine.
    My solution was to install all the drivers from my most recent Devaloper Suite 2012 DVD.
    After that the executable did run fine, except when the variuos DAq tasks are executed for the second time in a loop it thows error -50103.
    If i click ok on the erro popup, everything else works fine until in the next pass of the loop I get the same error.
    Why would I get error on one host but not on the other one?
    How do I fix this?
    Scientia est potentia!

    A common error that you can find numerous posts about with a search
    http://forums.ni.com/t5/forums/searchpage/tab/mess​age?filter=location&location=forum-board%3A170&q=5​...

  • Error -50103 occuring in one program, but not occuring in another similar program

    Hello,
    I'm a new user of LabView and I'm trying to figure out how a part of this programming process works.  Anyway, the block diagram of the working program consists of the first two pictures (C:\Users\Labview\Pictures\errorsetupnew1.jpg  -and-  C:\Users\Labview\Pictures\errorsetupnew2.jpg).  The parts in question are the DAQAssistant9 and DAQAssistant12 in the lower half of the diagram.  When I run the program, everything goes fine.
    So now I'm trying to run two other programs that both share the same properties as these two DAQAssistants, but they are in two separate programs.  When I run one program, it works, but when I run the other program, Error -50103 occurs at DAQmx Control Task.vi:10.  Pressing continue yields Error -50103 occuring at DAQmx Read (Analog 1D Wfm NChan NSamp).vi:3. 
    So my first attempt at solving it was to consolidate it into one program and run it all together, however the same error shows up.  I isolated the two While loops which seem to be causing the problem into a test program (third picture) and the error occurs there as well. 
    My question is what is different from the program in the first two pictures that is allowing the program to run correctly and the test program (which can be extended to the program that I need to work).
    I'm new, so please let me know how many beginner mistakes I might be making here!
    Thanks
    Attachments:
    errorsetupnew1.jpg ‏137 KB
    errorsetupnew2.jpg ‏113 KB
    errortest.jpg ‏82 KB

    I'm not currently at the computer with the files in question, but what if I attached those instead when I got the chance?  The problem is that I don't believe I am using the same DAQ resource in two different tasks.  The command line runs correctly in one, but can not run in the other even though the part giving the error is just a copy of the other program.
    I'm trying to run through the previous posts about this particular error but the LabView lingo is something I'm still getting used to.  Thank you for bearing with me and helping.

  • Error 50103 the specified resource is reserved - task name - on 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 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.
    Solved!
    Go to Solution.

    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

  • A question related to error 50103

    Hi everyone,
    I meet with the famous error 50103" specified resource is reserved" in a retriggerable data acquisition on PCI6110, when I am trying to configure 1 AI input and 2 counter output.
    Four tasks are involved:
    1. Use the freqout to generate one continuous pulse train
    2. Divide the frequency of this pulse train and generate a new continuous pulse train as the trigger
    3. Generate a finite pulse train after every falling edge of the trigger. This finite pulse train is connected to AI sample clock.
    4. Continuously acquire data
    In this application, how could I configure all the ports and avoid the 50103 error?
    Thank you all.
    Hall

    HI Hall,
    I think you can get this to work by combining the first two tasks that you have. You can use freqout to divide down the pulse train you are generating. As I am seeing it know you have two task, 1 generating a pulse train from freqout, and the other dividing down that pulse train with a counter. YOu should be able to just use freqout for the pulse train. Since you are going to be using a finite pulse train, which reserves 2 counters, you need to make sure you are not using another counter for the continuous pulse train. Let me know if I misunderstood how your application was set up. Have a great day! 
    Best Regards,
    Adam G 
    National Instruments
    Applications Engineer

  • Error -50103 the specified resource is reserved

    I installed DAQ 8.0, and loaded the example AcqIntClk and ir ran with a simulated device PCIMIO16XE10. Then I ran a measurement studio example in which I had to create a task using MAX. That ran okay. Then I deleted the task I had created, and returned to AcqIntClk and ran it again. This time I get the error when I press Start
    error -50103 the specified resource is reserved
    Please advise what to do?
    Thnaks,
    Saroj

    Hi saroj-
    Let's consolidate this discussion here.
    Thanks-
    Tom W
    National Instruments

  • Error 50103-

    Hey
    I have a common problem of error 50103 with my programming and I do not know how to get around it and I was wondering if I could get some help with it. I am trying to generate two different signals using DAQmx. One is used to generate a signal for the camera and the other is used to generate a signal for a galvo. Unfortunately, the signal for galvo must change in a loop. My major problem is that the signal for camera has to be outside of the loop and the signal for the galvo has to be inside the loop. Therefore, DAQmx Write and DAQmx Start Task vis must be out side of the loop to operate the camera while array for galvo signal is in a loop after that. Is there anyway of storing the signal for camera outside the loop and run it then add the signal for galvo in the loop?
    Any help would be very much appreciated.
    Thank you.

    Mcdan wrote:
    I'm not sure how to advise you without more details about what signals you're trying to generate and how they are supposed to interact with the camera.  In the jpg you attached, I can't see exactly what data you're generating in the bottom right left for loop, but I wonder if you're using analog output to produce a digital pulse (perhaps a trigger for the camera).  What hardware are you using?  It might make more sense to use digital output or counter output if this is indeed what you're generating.
    How are the two signals you're generating used, and how must they be timed with respect to one another?
    Dan
    Hey Dan,
    Originally, the bottom for loop created 2 arrays for both camera and the galvo systems. For the camera, the for loop generated digital signals just to turn on and off the camera. For the galvo, the for loop was used to generate an increasing voltage and a decreasing voltage to move the galvo kind of like a door. So when they are synchronized, the camera would take a picture of a sample at different positions controlled by the galvo. 
    However, now I am trying to change the movement of the galvo for each snapshot of from the camera. Instead of taking picture of the whole sample at once, I have to decrease the increment and get more pictures of the sample in the same position and that is why I have to put the signal for galvo in the while loop.
    If I used digital output for the camera Daqmx write and analog output for galvo Daqmx, would the error 50103 still pop up?
    If there is anything that is not clear, please tell me and I'll try to answer as thoroughly as possible.
    Thanks

  • Error 50103 in LabView using NI 6363

    hi everyone,
    I have encountered a problem. I was trying to write a Labview program in which i will get simultaneous signal from an unsteady pressure transducer and a steady pressure transducer.(both give voltage input signals)
    both will run for the same time however the frequency of aquisition is different in both cases, so i was trying to make 2 DAQ allocations..but when i run it shows the error 50103 that resource is allocated.
    So is there any way that i can group all my voltage tasks in one VI but at the same time give diffrent aquisition frequency(100KHz) for unsteady transducers but an aquisition frequency of around 100Hz for the steady transducer.
    Is there any way that both could be run simultaneously. Thnaks in advance.
     If possible just can u share the sample VI too....
    Solved!
    Go to Solution.

    thank you very much for your reply but if you'll clear another doubt is that whether it is not possible at all or is their some way?
    I can combine all the tasks that is not a problem, but the problem is whether there is any way around the sample rate thing or we have to give same to all??

  • Mystery Error code while emptying trash

    I just installed the 10.6.6 Update before I had this problem, but I don't know if there is a connection. When I tried to empty the trash, I got the barber pole progress bar for a few seconds and then this error code alert: The operation can’t be completed because an unexpected error occurred (error code -8003).
    My first question is: is there a way to find what Mystery error codes actually mean?
    Next I went ahead and tried a few things to get the trash emptied. I pulled stuff out by dragging it to the desk top until it emptied successfully, then put files and folders back in until it stuck again, and I found the problem file. It's an app file left over, I think, from the last time I updated the app. I tried to open the lock on the get info page for the file, and that didn't help. I restarted the computer. No help.
    Any suggestions for how to proceed. I've still got this poison file sitting in my trash, that prevents any trash empty while it's in the trashcan.
    Thanks for any help you can provide.

    Try holding down option while emptying the trash or restart your machine and then empty the trash.

  • Starting an array of DAQmx tasks throws error 50103 on start

    Hello,
    I am creating and starting a number of tasks from an enum array which will be subsequently used to read data from devices.  The issue is that the second iteration of the starting loop throws error 50103 (specified resource reserved).
    When I carried out some testing I discovered that the tasks are set up correctly and the error is thrown only on the start task.
    I have attached the section of code for reference. 
    Thanks
    Dave
    Attachments:
    DAQmx taskInit_fastLoop.vi ‏66 KB

    I have to call the start vi more than once as the tasks are contained within an array.  As I understand (but suspect I may be incorrect), that for each case corresponding to the input enum array, the task within that case is started (once) due to the auto indexing of the array.
    This is a subVI which is only called once in the application.  The output from this should be a list of started tasks which I use in subsequent read operations until the program is complete, where the tasks are then cleared down.
    Apologies if I have repeated myself, but I am trying to understand how this works, since what I am seeing does not seem to make any sense to me.
    Dave
    Attachments:
    tasksetup.png ‏103 KB

  • Error -50103 occured with timed loop inside a while loop

    Hello everyone,
    i wrote an application to sample analog voltage from  DAQ6024E card (see the attachments).
    I have a big while loop in the VI because a I want to add some other functions later.
    In the "WHILE_Cont Acq&Graph Voltage-Int Clk.vi" I use a while loop inside the big while loop to read the samples. It's working properly.
    but when I use a timed loop inside the big while loop (see "TIMED_LOOP_Cont Acq&Graph Voltage-Int Clk.vi"), I get an error -50103 from the timed loop.  It seems that the first cycle is ok, but after the first cycle the error occurs.
    I don't know what happens with the timed loop, anyone can help me? what does the error -50103 mean? thanks a lot!
    PS: I am using LabVIEW 8.0
    Message Edited by molo511 on 10-22-2006 05:21 AM
    Message Edited by molo511 on 10-22-2006 05:23 AM
    Attachments:
    TIMED_LOOP_Cont Acq&Graph Voltage-Int Clk.vi ‏143 KB
    WHILE_Cont Acq&Graph Voltage-Int Clk.vi ‏75 KB

    hi molo511,
    I tested your program but only with simulated devices. I had to delete the wire to the timing, so that the timed while loop runs with 1kHz. Did you already try this? Because this works on my PC.
    I also found a link in our database that might be interesting for you.
    http://digital.ni.com/public.nsf/websearch/04BEDD9E9E91ED3486256D180048116D?OpenDocument
    Greets
    Philipp N.
    NI Application Engineer

  • Error -50103 : How can I get the resource which is reserved

    I get the error -50103 when I try to start two A0 task on two different channels. The error message tells me that "The specified resource is reserved".
    But how can I known what is the specified resource. Is that a clock signal, a buffer or what else ?
    More generally, how can I known the resources used by a task ? Is that a VI which can gives me all the resources used by a task?
    Thank for your answer
    Félix
    Software : Labview 7, Driver : daqmx 7.3,
    Board : PCI 6259 M serie

    Hello:
    I'm trying out a shipped example called PID-Control Multichannel VI and
    I'm getting the same error? How can NI shipped it with this problem?
    Anyway what should be the remedy here?
    Thanks,
    Berns
    Bernardino Jerez Buenaobra
    Senior Test and Systems Development Engineer
    Test and Systems Development Group
    Integrated Microelectronics Inc.- Philippines
    Telephone:+632772-4941-43
    Fax/Data: +632772-4944
    URL: http://www.imiphil.com/our_location.html
    email: [email protected]
    Attachments:
    PID Control-Multi Channel.vi ‏160 KB

  • Error -50103 when I am trying to access two channels on USB 6366 board in the same time

    I am trying to use two DAQmx tasks attempting to access two channels from
    USB-6366 in the same time. But it gives me an error Error -50103. So I looked
    online and find out it says ' It is not possible to have multiple DAQmx tasks
    attempting to access the same physical device. '. So I am wandering how can
    collect data from my ai0 and ai1 channels in the same time? Here is my code,
    and please help me out. Thanks very much
    Attachments:
    error_-501013.vi ‏27 KB

    Simple - use a single task with multiple channels. Surely the answers in all of the related posts said that. The channel list is just dev1/ai0:1.

  • DAQ Asst Connection Diagram & Error 50103

    Hello LabVIEW Community,
    I am currently trying to integrate two different VIs which both require an AIGND on my SCB-100.
    The SCB-100 has two separate AIGNDs (pinouts 1 and 2), but in the two DAQ Asst VIs I am using, the connection diagram for both asks for pinout 2.
    I think this is leading to a Error 50103 about reserved resources.
    Is there any way to switch one of the DAQ Assts' AIGND to pinout 1?
    Thank you all for your help.
    Sincerely, 
    Sincerely,
    Ethan A. Klein
    SB Candidate in Chemistry & Physics
    Massachusetts Institute of Technology
    Class of 2015
    Solved!
    Go to Solution.

    Thank you very much, Mr. Knutson.
    I didn't do a thorough search. I assumed it had something to do with my two DAQ Assistants, and figured it was that they shared a pinout as the error said something about resources being reserved.
    Sincerely,
    Sincerely,
    Ethan A. Klein
    SB Candidate in Chemistry & Physics
    Massachusetts Institute of Technology
    Class of 2015

Maybe you are looking for

  • How to separate multiple addressees on one to: or Bcc: line

    Can't figure out how to separate addressees on one line. Nowhere is this spelled out. Other forums say a colon or a semi-colon. Neither one works. When I add either one, the first address turns red, meaning it is no longer recognized by Thunderbird.

  • How to debug global vars ??

    I have a problem with the tcode iw32. sometimes the dates are not updated by the system if the main date is changed in a operation. this happens with 1 out of 10.000 orders but the impact on the process is very frustrating since it's hardly noticed i

  • HT1428 How do I revert settings from renaming the home folder?

    *PREFACE* I've read plenty of articles today on why NOT to attempt to rename the home folder.. This was done mistakenly by a friend attempting to help with my wifes macbook air. While they were able to rename the home folder, upon reboot, all system

  • Time Capsule Ignoring my 'Excluded' Folders

    Hi, This is my first time backing up with Time Capsule / Time Machine. I excluded quite a lot of stuff that I have backed up elsewhere -- I have a 140 gb drive and the TM settings say "Total Included: 75 gb." However, when I start my backup, the prog

  • Requisition import

    Hai all, i want total details of Requisition import,once i import the data in requisiton Interface Tables ,then execute the statndard concurrent program Requisiton import after complte this program maily which tables will effect,once i use internal r