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.

Advertisement

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

Tags: NI Hardware

Similar Questions

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

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

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

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

  • Impossible to rename a folder in COM error "the specified device name is invalid.

    Original title: A picturesque problem!

    Hi dear friends
    I came across a picturesque problem, someone at - it also have problems? : D

    http://seorooz.IR/WP-content/uploads/2014/06/capture.PNG

    Hello

    Thank you for writing to Microsoft Community Forum.

    The error "the specified device name is invalid" is displayed if you try to name a folder with a name that represents a limit of MS-DOS device name.

    The MS-DOS device driver names cannot be used as file names in Windows. As a result, we cannot name as records con, zero, etc.

    Microsoft MS-DOS booked these names for these system device drivers.

    • CON: Keyboard and display
    • PRN: System list device, usually a parallel port
    • To THE: auxiliary device, usually a serial port
    • CLOCK$: the system real-time clock
    • DRAW: Bit-Bucket device
    • A:-Z:: the drive letters
    • COM1: First communications port series
    • LPT1: First parallel printer port
    • LPT2: Second parallel printer port
    • LPT3: The third parallel printer port
    • COM2: Second communication port series
    • COM3: Third serial communications Port
    • COM4: Fourth serial communications Port

    For more information, you can also consult:

    http://support.Microsoft.com/kb/74496/en-us

    Hope the helps of information provided. Let us know in case you need any help/information to windows.

  • Flash Player error: THE SPECIFIED MOUDLE IS NOT FOUND

    I am facing a problem when I open my flash memory

    It is said:

    Rundll

    There was a problem starting

    THE SPECIFIED MOUDLE COULD NOT BE FOUND

    How can I solve this problem?

    Original title: Rundll

    Hello

    Thanks for joining us out on Microsoft Community Forums.

    From your post, it seems that you are unable to access the USB key and it gives you an error: the specified module could not be found.

    1. The USB Flash works fine in another computer?
    2. Have you tried any other USB on your computer?

    You can try the following steps and check the result.

    Method 1: You can try to run the hardware and devices Troubleshooter and check if it makes a difference:

    If your computer is having problems with a recently installed device or other hardware, try to use the hardware and peripheral troubleshooting tool to solve the problem. It checks the common issues of interest and ensures that a new device or hardware connected to your computer has been installed correctly.

    Open the hardware and devices Troubleshooter

    http://Windows.Microsoft.com/en-in/Windows7/open-the-hardware-and-devices-Troubleshooter

    Method 2: However, it could be a virus, I would also say that you to download and run the last scan Microsoft security on USB flash and check if it 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.

    You can also check out the link below and follow the suggestions of SpiritX MS MVP responded on August 20, 2010:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/specified-module-cannot-be-found/287433d7-330e-4c7c-b0b8-796cd43caeb6

    Let us know if it helps. If you have other questions related to Windows please keep us informed and we will be happy to help you.

  • Removal of startup parameter error: the specified Service does not exist as an installed Service

    Hello

    I am currently removing two services in Autoruns, for the reason that they are highlighted, and that means that it no longer exists. However, I'm running into some trouble while he was trying to do, I get the following error:

    Removal of startup parameter error: the specified Service does not exist as an installed Service

    For diagnosis, I downloaded my log of Autoruns on OneDrive text file and you can view it by clicking here.

    Thank you

    Party of Lighthouse

    My research yesterday using Google yesterday suggested malware damage.

    Select Start, all programs, accessories, right-click right-click command promptand click run as administrator on the menu drop-down... Type cd\ and press ENTER. Type "chkdsk c:/r" without the quotes and press ENTER. Make sure you include the spaces indicated. Enter it when asked if you want to run chkdsk on restart the computer. Type exit, press ENTER, and then restart the computer.

    Please run the SFC system and say if she cannot fix corrupted files: http://support.microsoft.com/kb/929833

  • causes VIX/vmrun.exe ' error: the specified version is not found "with WS 8.0.1

    vmrun.exe t ws start "Q:\VMware\REG\REG-XP3 (RC2).vmx"
    Unable to connect to the host.
    Error: The specified version is not found

    I installed in this order:


    Workstation 8.0.1

    VIX 1.11.0.18997

    On a Win7 x 64 SP1 box.

    There also the vSphere PowerCLI 5.0.0.3501 installed however this seems to need to ESX and vCenter, so it is useless for me.


    Long story short, I need vmrun maintenance tasks such as deleting snapshot which through GUI takes a.) ages, b.) pump lock your workstation / takes focus.


    How can I get this working again? I checked the vixwrapper - config.txt and it lists the following:

    # Workstation 8.0.0
    vmdb WS 14 8.0.0 Workstation - 8.0.0 - and-vSphere - 5.0.0
    Player vmdb 14 4.0.0 Workstation - 8.0.0 - and-vSphere - 5.0.0
    WS-shared 14 no Workstation 8.0.0 - 8.0.0 - and-vSphere - 5.0.0
    WS 14 vmdb e.x.p Workstation - 8.0.0 - and-vSphere - 5.0.0
    drive 14 vmdb e.x.p Workstation - 8.0.0 - and-vSphere - 5.0.0
    WS-shared 14 no Workstation e.x.p - 8.0.0 - and-vSphere - 5.0.0

    Thank you.

    I just found this same problem with Player 4.01 exaxt... VMware VIX who uses this configuration file and if the gift ' e versions EXACTLY match it flows without any usable information.

    Add this to your config file and it will work...

    # Workstation 8.0.1
    vmdb WS 14 8.0.1 Workstation - 8.0.0 - and-vSphere - 5.0.0
    Player vmdb 14 4.0.1 Workstation - 8.0.0 - and-vSphere - 5.0.0
    WS-shared 14 no Workstation 8.0.1 - 8.0.0 - and-vSphere - 5.0.0
    WS 14 vmdb e.x.p Workstation - 8.0.0 - and-vSphere - 5.0.0
    drive 14 vmdb e.x.p Workstation - 8.0.0 - and-vSphere - 5.0.0
    WS-shared 14 no Workstation e.x.p - 8.0.0 - and-vSphere - 5.0.0

  • Unable to connect to the host.   Error: The specified version is not found

    vmrun-t esx h https://192.168.1.123/SDK u root Pei password list

    Unable to connect to the host.

    Error: The specified version is not found

    Any ideas why it does not work?  It is run on a Windows XP workstation.  The target server is on the local network and running ESXi 4.1.  The vmRun version is 7.1.2 and is installed with Workstation 7.1.2.

    I also tried Ubuntu 10.04 with vmRun from a Workstation 7.1.2 installation.  There, he also fails with the same error.

    Note that ESXi 4.1 is used to test installation is not allowed and is running in demo mode.  Management of the vSphere client works without any problem the same Windows XP workstation.

    Any help would be appreciated.  Thank you.

    You must install the full package of VIX by http://communities.vmware.com/community/developer/downloads. It contains only components to manage the workstation. Please note that I had to install in the VIX 1.10.1 order then Workstation 7.1.2 to get both to work on my Windows 7 computer.

  • A virtual machine or the template with the same name is already registered. Server error: the specified key name or identifier already exists.

    Hi all

    I have a 5.5 esxi server just the a virtual machine running at the moment. I try to clone this as shown below:

    http://nchrissos.WordPress.com/2013/04/22/cloning-a-VM-without-vCenter-in-ESXi-5-1-free-edition/

    However, I get the error:

    A virtual machine or the template with the same name is already registered. Server error: the specified key name or identifier already exists.

    I have no vcenter (yet), and it's just the 1 vm. The virtual machine is turned off. I get this error regardless of the name, I said that when I choose "add to the inventory.

    All advice appreciated.

    Thank you

    Oh dear...
    you read bad advice on the internet and then you get also the stupid advice here.

    Ignore both!

    If you want to clone a virtual machine by copying - do it like this:

    Create new virtual machine with the wizard.
    Skip creating a disk for new customers.

    In Datastorebrowser copy the original vmdk to the new dir, which has been created by the wizard.
    Reopen the new VM and edit - assign the vmdk that you just copied.

    The procedure of the blog is not supposed to work.
    Sissine trick doesn't make sense either

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

  • vmrun - error: the specified service provider was not found.

    Hello

    I installed vmware server 2 on Gentoo 2008.0.

    Installed versions:

    VMware-server 2.0.1.156745 - r3

    VMware-modules 1.0.0.24

    VMware vix 1.6.2.156745 - r2

    Everything works fine from a remote machine, but if I want to start a virtual machine in the console via vmrun, I get this error message:

    Error: The specified service provider was not found

    Any suggestions how I can fix this problem?

    The problems seem to stem from the fact that you don't have the "vix.libdir" parameter in your global configuration file. Usually, it is located in/etc/vmware/config by the presence of a line like:

    vix.libdir = "/opt/vmware/vix/lib"
    

    If you add to that, vmrun needs to start working.

  • Using Windows Media Player, I get the error: "the specified module could not be found" when I try to play a wave (.wav) file.

    I have re-installed sound edge card, updated the driver, checked that it is enabled in the bios. Play other types of sounds.

    Wave Systems sounds do not play either and everything by checking the sound scheme system sounds, (Panel > properties of sounds and audio devices > sounds tab) they don't play and the 'play' button is not enabled.

    Hi sureshotsd,

    · What version of Windows media player you have installed?

    · What is the service pack installed?

    · You receive an error with the error code?

    · Do you remember all the recent changes on the computer before the show?

    Follow the method below:

    Method 1:

    Create the new user on the computer account and check if you are able to play the file. You can check the link for the procedure to create the new user below account: how to create and configure user accounts in Windows XP:http://support.microsoft.com/kb/279783

    Go back with the results.

    Method 2:

    Run the checker system files on the computer. Link, we can see: Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe): http://support.microsoft.com/kb/310747

    Note that: if he asks you the service pack CD, follow these steps from the link: you are prompted to insert a Windows XP SP2 CD when you try to run the tool on a Windows XP SP2 computer system File Checker:http://support.microsoft.com/kb/900910 (valid for Service pack 3)

    With regard to:

    Samhrutha G S - Microsoft technical support.

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

Maybe you are looking for