error-50103 occurred at DAQmx control Task.vi:6

I'm new to LabVIEW. I'm using LabView 8.6 and one NEITHER cDAQ-9172. For practice, I'm doing a program that takes the temperature and pressure readings and graphs.

I don't have the modules or sensors yet, so I started by simulating a RTD temperature measurement NI9217 and a NI9237 module for the measurement of pressure.

I created 2 while loops that run in parallel. One with an assistant of data acquisition for the temperature and the other with an assistant of data acquisition for the pressure.

Highlight run out, when I run the program, the signal is both while loops. The temperature seems to work ok and the data graphic. The pressure, however, only goes in once, and I get the error message: "error-50103 occurred at Task.vi:6 DAQmx control Possible reason (s): the specified resource is reserved." The operation could not be performed as indicated. »

In addition, the stop button does work on my front. I have to use the button stop in the toolbar.

Anyone has any advice on what I can do to fix this problem or any suggestions on the best ways to address the issue?

Thank you.

Search the forums for error 50103.  That will tell you everything you need to know about this error code.

For more information on your questions, post your VI so we can see what might be wrong.

Tags: NI Software

Similar Questions

  • Error-50103 occurred at DAQmx control

    We strive to take into two signals in LabVIEW through our acquisition of data, and then pass them through two channels of detection of distinct peaks, however, when we try to run the program, we get the following message is displayed:

    Error-50103 occurred at DAQmx control Task.vi:14

    Possible reasons:

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

    Task name: _unnamedTask<9>

    I have attached the circuit we use below, any help woud be appreciated.

    Problem solved, use:

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

  • Error-50103 occurred at DAQmx start Task.vi:11

    Hello

    I use a nor-6008 to perform a thermal sector and I get the error "error-50103 occurred at DAQmx Start Task.vi:11 '. I have read other forums of discussion and it seems combe because I use the wizard DAQmx who don't properly resolve the resource when finsihed. I've dug further and saw that it is linked to an on-board clock synchronization problems. However, I can understand how to solve this problem.

    I thought that I create a loop that continuously monitors inputs and sometimes to interrogate the memory so I'm not kidding to the top of the clock. It's much harder to do than sounds. Can someone take a look at my code and give me some advice/suggestions to clean the DAQmx assistants.

    Thanks in advance

    Cole

    I finished by dividing my resource between the two input channels using a single assistant DAQ and dividing down the data rate and the number of samples. Works fine now.

    Big pain in the ass well.

  • Error-50103 occurred at DAQmx Start Task

    Hello!

    I use the attached VI to control a stepper motor which works perfectly under LV2010 but begins to throw error (image below) when used under LV2012. If anyone has any idea please help... -Thank you!

    Note I have DAQ assistant is configured correctly.

    Hi KowdTek,

    Thank you for the update.  I assumed you didn't intend the output to be continuous (smooth).

    Screw Express generally are not designed for this type of use because they open and close a session whenever you call one.  This should result in a glitch in the output as you have seen.  To be honest, I'm quite surprised you did not see this before not smooth behavior with your application on Windows XP, and I don't have a good explanation of why it worked.  I can, however, recommend a more robust approach to generate this smooth output you are looking for.

    If the goal is to only move once by INIT (for example once you start moving, do not stop until you are finished, how the VI returns to INIT state), you must convert your VI Express DAQmx code (right-click"NOR-DAQmx generate code).  And try a similar implementation in your case EXEC & LUN.  This should produce the desired behavior.

    Kind regards

  • Error-200022 occurred at DAQmx start Task.vi

    Hello

    I have peripheral cDAQ and 3 modules that nor-9234 connected.

    My program (see attachment) works correctly with only 2 modules, but does not work with 3 modules.

    With 3 modules I have this error: "error-200022 occurred at Task.vi DAQmx Start.»   "Possible reasons: resource requested by this task has already been reserved by another task."

    To solve this problem, please help me

    Thank you

    Now I understant the error. This is correct (see below)

  • Error 200485 error has occurred to DAQmx create Task.vi:2

    I continue to have this error:

    The specified task cannot be loaded because it is not in the area of data.

    Check the data area to the MAX. You are looking for similar characters, such as the capital letter 'o' and the number zero.

     


    I would like to know what is the problem with the program.  I have attached the VI.

    Basically I'm controlling a physical light connected to the NI Elvis II by comparing input from 0-7 DIO and DIO 8-15.

    So if DIO 0 is enabled, 8 DIO must also be to turn on the LED.

    But for the moment, the program may not run. Need assistance to locate the error! ><>

    Try the function AND.

  • Error-200077 occurred at DAQmx control

    Hello

    I'm having a problem with a sample less than a rate of 1 k with the NI USB-4431.

    Possible reasons:

    Requested value is not supported for this property value. The value of the property may be invalid because it is in conflict with another property.

    Property: SampClk.Rate
    Asked the value: 100.000000
    Valid values begin with: 1.0e3
    Valid values ending with: 102.400000e3

    My vi is attached.

    I tried to change the wait, but it makes no difference.

    I would really appreciate the help on this one please.

    Thanks in advance,

    AT12.

    Hello

    http://www.NI.com/PDF/products/us/cat_usb4431.PDF

    According to the specificaitons in the aforementioned document, the sampling rate is 1kS/s to 102.4kS / s

  • more info on the DAQmx control task

    Today I came across an older post where I had some questions and Jeff· just Þ· Bohrer showed a good example, it's here:

    http://forums.NI.com/T5/LabVIEW/AES-single-element-queues-data-value-references/m-p/2978093/HIGHLIGH...

    I doesn't pay attention to the DAQmx task manages the part, but now some new questions of time came to my mind, I hope someone can give me some explanations...

    Usually, when I'm working with some hardware with DAQmx driver, I simply specify the channel, and I use the VI of virtual channel create for my work I want to use.

    Recently I read about benefits use MAX to previously create some global (?) of the tasks (for example a cDAQ with many modules and i/o channels) and using these tasks in a LabVIEW project. In this case I can just skip the 'Create Virtual Channel.vi', begins with the measurement with a "Start Task" DAQmx and stopping a VI 'stop the task', correct? However in the link above, the VI "Task of control" (next), first used with a parameter "commit" and during the closing of the measure, with a setting of "Cancel" (and no task to stop vi was used).

    I threw an eye using the Task.vi 'control', but the info it is not too detailed, where I can find a few more details, or maybe someone might highlight the use and benefits of this vi? Sounds a bit 'funny' aid, as for the parameter commit: "Programs the hardware as much as possible depending on the configuration of the task."

    So what is the difference between the use of the "task of control" in a code and do not use it (so when we use only the start and the stop task live)? Do we not the same behavior with the latter?

    Thanks in advance!

    Martins wrote:

    The overall task configured max subject: we conduct research, so I always just develop for our lab, we do not sell anything. However, I have some questions related to a task configured and saved to the MAX:

    • So I have a task created at MAX, I guess that this task will be usable only if I use it in a project of LV on the same PC? What if I need to move my application to another PC (but of course with the same modules cDAQ, etc., but perhaps under different numbers...)

    The task can also be used with a .exe. You can export MAX settings to a file (file, export...) .nce, and then import the settings to a new PC. If necessary you can tweek the numbers.

    • I would like to create an EXE from my code and don't run this EXE to our systems (not install). Y at - he tips that I should keep in mind when I create an executable from a project that contains a task of MAX?

    I can't think of something special. Personally, I prefer to load the name of the task from a configuration file, you can also use a control on the front panel to select the task.

    I have a feeling, when we need complete flexibility, the course of MAX isn't really practical, Yes? I want to say, if we want to for example programmatically recognize all our application materials and create tasks to ensure that all physical changes on the side of the PC in the future will not affect our code?

    I agree that you have as much flexibility, but for my applications most of the time MAX provides sufficient flexibility

    But this scenario could be documented for future users in the lab, I imagine, so what they have to do, is to recreate the overall task? What happens when we take the application as an exe on another PC and manually re-create the (I hope that quite the same) necessary global task with the same name that awaits the EXE? It works this way?

    Thanks for the very useful info!

    Edit: "Yes you can set a MAX task that includes several modules and channels so that they all have the same type of action."

    This is also a limitation compared to the creation of code depending on task, Yes? I mean, using the DAQmx 'Create Virtual Channel.vi', we can even combine for example analog inputs with for example in a cDAQ thermocouple hunts...

    No it is not a limitation, for thermocouple is entered analog. If you can combine them in LabVIEW, you can combine them in MAX.

    Edit2: I really miss other docs of type "real demonstration" of the NEITHER! I could imagine a sort of case study examples where different material handling OR would be explained... Of course we can hunt together pieces of mosaic, but a more compact image could help a lot for those who want to learn faster

    Ben64

  • Error-200278 occurred at DAQmx Read

    Hello

    Following an updated example developed by an engineer to support NOR super useful. I did a routine very simple acquisition of a certain level of synchronization between tasks (attached) to use in a PXI system between modules of strain gauges (4330), voltage module (6341) and a frame of independent SCXI1000. The routine seems to work very well up to a certain point, when a very strange problem appears (-200278). It's always the voltage task that generates the error.

    Any suggestions?

    The task of voltage is set to acquire finished samples.  You want "Continuous samples" I think.

  • USB-6221, replaced by USB - 6221 BNC - error-50103

    My client is reproducing a system that worked well with NI USB-6221 enclosure. Now, I get an error with the NI USB-6221 BNC. The error only occurs when I try to perform auto calibration.

    ---
    The error:

    Error-50103 occurred at DAQmx Self Calibrate.vi:1

    Platform AND Services: The specified resource is reserved.
    ---

    I've implemented the pilot as a driving force.

    What is strange to me is that I can run the engine of the autonomous action to set up the device and run the auto cal without getting an error. But when I call these routines of an another vi - the error occurres.

    To specify (and reproduce the problem) - with USB-6221 BNC is defined as 'dev1 ':
    (1) acquisition of analog data in AE.vi - select 'Configuration' as an action on vi and then run it
    (2) acquisition of analog data in AE.vi - select 'Cal' like action then don't run it - no error
    (3) place the screw DAQ in a new vi as shown - run and that's when I get the error

    This is my first experience with DAQmx, any ideas what could cause this problem would be appreciated.

    Thank you
    Steve

    LV2009 Sp1
    MAX 4.71
    NOR-DAQmx Device Driver 9.2.1

    Hi Steve,.

    "Setup" action leaves the DAQmx run task, so the 6221 AI resources are reserved to prevent other programs and live to interfere. When the top-level performance, LabVIEW VI automatically tells DAQmx to clear the task. That's why you get different behavior when you run the action as the first level VI engine when you run the engine of the action as a Subvi. Self-cleaning, you must cancel (e.g. stop or clear) all the tasks before you can calibrate the device automatic, try performing the action 'Close' before 'Cal

    Brad

  • What is error 50103? the task of DAQmx START?

    Hello

    I use cDAQ 9174 with NI 9401 to measure the period of the encoder.  I have two encoders and learned that I need to have a separate task for each.  Initially, I got an error telling me that the task was not reserved, so I followed the advice of the forum and added the TASK of CONTROL DAQmx, STORE of the value.  That eliminates the error, but now I have a new error 50103, which offers very few details of what actually is the error.  The seal is a snippet of the code, you see where there are three tasks, two tasks of meter to measure the period of encoder, and task of measurement of blood pressure, which in my opinion is not related to this error.

    Error 50103 to DAQmx controls TAsk.vi:3.

    The possible reasons: NI Platform Services: T / he said that resource is reserved.  the operation could not be performed as indicated.

    TAKS name: task _unnamed<3E>

    Thus, at the beginning, said he reserved the task, now it tells me that the problem is the reserve.  Does anyone know what this error is talking about?  The attached code is connected to a WHILE loop that aims to do a bunch of stuff with the data from the period after it was collected.

    Thank you

    Dave

    Hi dav2010,

    I modified the original example of working with the two counters at the 9174. It worked for me. Let me know if it works for you also.

    Best,

  • Error-200431 occurred at .vi DAQmx Create Channel (I-acceleration-accelerometer)

    Hello

    I tried to use DAQmx Create Channel to accelerometer and yet it responds with error (see below). When I use max OR to measure the accelerometer (I-acceleration-accelerometer), there is no error, and I see that acceloremeter works.

    OR PXI-1042 and I use OR-4462 card to measure vibration vith acceloremeter.

    Error-200431 occurred at DAQmx Virtual Channel Create

    Possible reasons:

    Physical channel selected does not support the type of measure required by the virtual channel you create.

    Create a channel to a type of measure that is supported by the physical channel, or select a physical channel that supports the type of measure.

    Property: I. MeasType
    Requested value:
    You can select: sound pressure, voltage: Microphone, accelerometer, Position: Eddy Current proximity probe, Force sensor: IEPE, speed sensor: IEPE

    Task name: _unnamedTask<104>

    Hi serdaryilmaz,

    I'm not sure why the accelerometer mode does not work, but it works very well in normal mode - it maybe has to do with the accelerometer, you?  Whatever it is, if it works with the voltage mode, I am happy that we found a way to make it work.  Is this an acceptable work around you?

  • Error-200609 occurred in the DAQmx write: selected buffer too small

    Hello, I write a few VI simple test that I will build finally to call external analogue output VI. I started with a very simple program to produce samples finished using the clock on board with DAQmx Timing.VI. When I run the program, I almost immediately get an error. The error message is below.

    Error-200609 occurred at writing DAQmx (Analog DBL 1Chan 1Samp) .vi:1

    Possible reasons:

    Generation cannot be started because the size of the selected buffer is too small.

    Increase the size of the buffer.

    Contradictory property
    Property: Output.BufSize
    Corresponding value: 1
    Minimum supported value: 2

    Task name: _unnamedTask<1C>

    I used the VI DAQmx before in similar applications and never encountered this error. In addition, I read the link below which DAQmx Timing.VI should automatically generate the buffer. Any ideas what could be the cause?

    Data sheet:

    Windows 7

    LabVIEW 2012

    PCIe-6353 as DAQ card

    Here is a picture of my diagram and the VI is attached.

    Oops. Just realized my very stupid mistake: I forgot to add the VI of task start. I did and it works as expected.

  • Error: "some errors have occurred during the processing of requested tasks". Sending emails from Outlook Express

    Original title: Repetitivet sending emails from Outlook Express

    When sending emails from my Outlook Express , the following occurs:

    (1) as usual, send the message falls into my Outbox and begins to be sent.

    (2) when the message was sent, I get a message that "some errors occurred while processing requested tasks" but no actual errors are displayed.

    (3) the sent items folder does not show that a message has been sent... but a message has been sent.

    (4) the original message remains in my Outbox and will be sent over and over again.

    As you can imagine, it's a very embarrassing problem.  All suggestions are welcome, but please keep the instructions clear and simple.

    Ed *.

    Hello

    Windows XP Service Pack 2 is installed on your computer? To work on this question, see these steps.

    It seems that there is a corruption of dbx file.

    I suggest you go over your messages out of the Inbox, and then create new folders Outbox and sent items after you move the messages you want to save to a local folder that you create.

    Reference:

    (a) click onTools

    (b) thenOptions

    (c) selectMaintenance

    (d) Record Store will reveal the location of your Outlook Express files.

    (e) Note the location and navigate on it in Explorer Windows or, copy and paste to start and select run.

    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden.

    To view these files in Windows Explorer, you must enable Show hidden files and folders

    Reference:

    (a) clickStart

    (b) Control Panel

    (c) Folder Options icon

    (d) notice, or in Windows Explorer

    (e) Tools

    (f) the Folder Options

    ( viewof g).

    With Outlook Express closed, find the DBX files for the items in the Outbox and sent and delete them. New ones will be created automatically when you open Outlook Express.

    After you're done, followed by compacting your folders manually while working * off * and do it often.

    Reference:

    (a) clickOutlook Express at the top of the the folder tree so no folders are open.

    (b) click onthe file

    (c) work offline (or double click working online in the status bar).

    (d) file

    (e) file

    (f) compact all folders. Wait for the compaction to complete.

    General precautions for Outlook Express:

    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend about a300 MB max for less risk of corruption.

    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095

    Compact often as specified above.

    Reference:

    (a) in the Tools

    (b) selectOptions

    (c) maintenance:

    (d) uncheck Compact messages in the background and leave it unchecked. (N/a if running XP/SP2).

    And backup often.

    See also: error messages when you send and receive in Outlook and Outlook Express http://support.microsoft.com/kb/813514

    An Outlook Express basic repair kit

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

    Hope the information is useful.

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

Maybe you are looking for

  • How to read the host name or serial number cRIO locally

    I have not worked with cRIO and decided to ask for help.  (o). I don't know about the screws that allow to access this information from a connected Windows machine, however, I want to retrieve and display this information on remote panels.  But I can

  • I get a code 31 on windows vista

    I own 3 studio 17 dell. At the same time bought by ignorance. I am getting a code 31 in the infrared device consumer after my computer takes a mini dump (blue screen of death) at the beginning and I have to start in safe mode. (don't get started me o

  • Change sync offline files from the network domain to another partition or drive

    With the increased use of SSDS, it became necessary to synchronize with a player or a different partition of the domain network; However, Microsoft recommends against change becase of the cache offline (SCC) is a system folder.  This is a big problem

  • Conditional feature does not completely

    I have a currency field named CostOfWork and a second currency named PaidFinalReviewFee field.  When numbers are entered in a field, all the numbers already entered in another field should automatically be deleted.In the field of CostOfWork propertie

  • JSAFE_InvalidUseException using t3s

    Hi, I configured my weblogic to use t3s. Now, I'm getting JSAFE_InvalidUseException. Any idea that jar I'm missing? Please share the location of the jar as well.Exception: java.lang.NoClassDefFoundError: com/rsa/jsafe/JSAFE_InvalidUseException      [