Error -229771 at DAQmx Start Task.vi

I'm getting this error as described at: http://digital.ni.com/public.nsf/allkb/03123D0E8A36C48E862577A4005B6BAA?OpenDocument I've tried the solutions offered there, to no avail. Using Labview 64 bit (latest versions)

There is essentially no code to show, but the machine I'm using is in a secured environment, so I couldn't anyway. What happens is that I place a DAQ assistant from the Functions palette on the block diagram, configure it for digital input from a single line on a NI-6534 PCI card which is receiving data from an external function generator.
If I click on the "run" button on the DAQ assistant, I see the digital signal flash as I would expect. I then close the assistant, and Labview generates the code. I then connect the data line to a Boolean indicator (boolean array of 1) and click run, at which time I get the error message indicated.
I'm told I'm using the latest versions of Labview 64-bit version and DAQmx, which were obtained and installed less than a month ago. I don't have access to the host machine right now, so I can't give you the exact numbers. It is running Windows 7 64-bit version.
I realize I'm not giving you much to go on, but I'm grasping at straws...

Similar Messages

  • Error 89136 at DAQmx start task (Acq&Graph Voltage-Ext Clk-Analog Ref.vi)

    HI,
    I am trying to run example vi Acq&Graph Voltage-Ext Clk-Analog Ref.vi ( I have made some modifcations) in labview 8.2
    I am trying to read pressure (from a compressor),
    I have an encoder with 1024 pulses per revolution,
    So I want to read 1024 samples for each of the 1024 pulses of the encoder and use the encoder as the trigger (with a channel that gives one pulse per revolution),
    I get the error above and I have no idea why (I don't understand the settings at all).
    Please help.
    Attachments:
    Acq&Graph Voltage-Ext Clk-Analog Ref.vi ‏43 KB

    educob wrote:
    Hi,
    english is a foreigner language for me but i don't have significant problems understanding it.
    My problem is lack of technical labview knowledge.
    I want to read the pressure each time a encoder produces a pulse.
    It  should be as easy as setting the trigger (the encoder signal for each complete revolution) and the external clock (the enconder train of pulses).
    But as easy as it sounds I can't do it.
    Thanks.
    Since that error message is telling that you are doing something that is wrong. I suggest you read the capabilities of the hardware. What you think the hardware should be able to do has no bearing on what it CAN do.

  • Error 229771 occurred at DAQmx Start Task - only in Labview project

    Labview 2011 sp1
    os: W7 32bits
    DAQmx 9.7.0f0
    ni-PCI 6251
    Hi,
    I'm working with a ni-PCI 6251 card. I got the error :  Error -229771 occurred at DAQmx Start Task. Possible reasons :Internal sofware error  occured in MIG software ... when I'm trying to launch my data acquisition vi. This error was already reported in this post :
    http://forums.ni.com/t5/Academic-Hardware-Products​-NI/Error-229771-occurred-at-DAQmx-Start-Task/td-p​...
    I tried to reinstall DAQmx as explained in the post but it unfurtunatly it did'nt fix my issue.
    I've notice the following points :
    1. This error appears randomly, after several reboots the vi will finally run without error
    2. The error only appears when the vi is included in project
    I will really appreciate any kind of help.
    sebastian
    Attachments:
    test_daq_2.vi ‏23 KB

    Bonjour,
    Je vous invite à jeter un oeil sur le lien suivant :
    http://digital.ni.com/public.nsf/allkb/03123D0E8A3​6C48E862577A4005B6BAA?OpenDocument
    Il devrait résoudre votre problématique.
    Cdlt,
    Matthieu RICORD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Été de LabVIEW 2014
    12 présentations en ligne, du 30 juin au 18 juillet

  • Error -200587 occurred at DAQmx Start Task.vi:7

    I am running the attached code Merrit_Coil_calibration, and I get the following error:
    Error -200587 occurred at DAQmx Start Task.vi:7
    Possible reason(s):
    Requested operation could not be performed, because the specified digital lines are either reserved or the device is not present in NI-DAQmx.
    It is possible that these lines are reserved by another task, the device is being used through the Traditional NI-DAQ interface, or the device is being reset. You might also get the error if the specified resource is currently in use by LabVIEW network variables bound to the DAQ Channel, or if the DAQ Channel is being used in any OPC Client software.
    If you are using these lines with another task, wait for the task to complete.  If you are using the device through the Traditional NI-DAQ interface, and you want to use it with NI-DAQmx, reset (initialize) the device using the Traditional NI-DAQ interface. If you are resetting the device, wait for the reset to finish.
    Device:  Dev2
    Task Name: _unnamedTask<F>
    I am calling the same DAQ, many different places in my code and I think that is the problem, but I can not figure out why or hw to fix it.  Anyone have any suggestions?
    Attachments:
    Final.zip ‏2434 KB

    Thank you both for your input.  I slightly changed my code to Merritt_Coil_calibration (updated code attached) and the first error went away, but now I have a different one which is:
    Error -200429 occurred at DAQmx Write (Digital U32 1Chan 1Samp).vi:1
    Possible reason(s):
    Value passed to the Task/Channels In control is an empty string (or I/O control).
    The value must refer to a valid task or valid channels.
    As far as what DAQ device I am using, it is the NI USB 6009.  I am only using digital port 0.  During different pieces of my code I send different values to port 0.  I am using this to drive some stepper motors.  I thus send square waves on the different pins on port 0.  I do not know if this is exactly what you were asking. 
    Whatever the case, I was wondering if anyone knows why this error occurs and how I could fix it. 
    thanks.
    Attachments:
    honorsproject.zip ‏256 KB

  • Does multiple instances of DAQmx start task result in error?

    I am trying to read voltages from pressure transducers and LVDTs in two separate While Loops. But when running the program there is an error regarding DAQmx Start Task.vi. So I was wondering if multiple instances of DAQmx Start task results in error. I have attached the vi.
    Thanks
    Attachments:
    IsoConsolidationDAQMAX02.vi ‏140 KB

    Thank you for the reply. New to Labview so I didn't know that we had to search using the error code, I tried searching using text though. Will do that from the next time, thanks.
    I do not have the problem with the write tasks but only with the read tasks. Right now I have one start task for all the input from the pressure transducers and LVDTs and three start tasks for the three analogue outputs and the program seems to run fine.

  • Daqmx control task

    我的情況是: 在開師兄的LABVIEW 檔的時候.發覺要搜索很多未知的檔案,
    例如 daqmx control task.vi
    DAQmx  start task.vi
    我想問這些檔案可以在那裏找呢????
    檔案在這裏
    附件:
    tttttteeeeessssssssttttttttt.vi ‏187 KB

    你應該是沒有安裝NI-DAQmx
    你可以連到以下的網站下載:
    http://www.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/zht/pg/1/sn/catnav:du,n8:3478.41.181.5495,...
    最新的版本為NI-DAQmx 9.2.2
    建議安裝前先確認使用的Labview版本
    然後打開readme.html 找尋是否該版的NI-DAQmx有支援所使用的Labview版本
    例如在NI-DAQmx 9.2.2支援Labview 8.5.x, 8.6.x, 2009, and 2010

  • Error 229771 DAQmx create task internal MIG error

    Receiving error 229771 @ DAQmx create task.vi: 2, internal error in MIG software.  not start task. - for a simple ThermoDAQ read application
    reinstalled drivers, attempted to start NI configuration mgr and Device loader but they are immediately stopped-  disabled anti virus, etc.   help?

    Hi eremark,
    There are a few things we can try to troubleshoot error 229771. This error can occur if NI services are not running and occurs when LabVIEW tries to communicate to these non-running services. It can also occur if you have a corrupt MAX database. There are a few things we can try
    1. Can you please try verifying if NI services are running?
    2. Can you check if you are administrator of your PC?
    3. Do you know if DAQmx was installed under an administrator account?
    4. Have you tried disabling your firewall?
    5. Try removing all DAQ devices, restarting your computer with them removed, shutting down the computer again and connecting them back up. 
    6. Did you repair your daqmx drivers or reinstall them? It is important to make sure you do a true reinstall (http://digital.ni.com/public.nsf/allkb/ADD22E807D5A12AD862579EC00760F79?OpenDocument) instead of repair which will force overwrite anything from previous installations
    7. Try repairing a corrupted MAX database - http://digital.ni.com/public.nsf/allkb/86256F0E001DA9FF86256FFD005B827C?OpenDocument http://digital.ni.com/public.nsf/allkb/7FF79722720AEE488625759B0074A2CA?OpenDocument 
    Please let me know if you have any questions or need any clarification with any of these troubleshooting steps. Thanks
    Doug W
    Applications Engineer
    National Instruments

  • DAQmx Stop Task error -50550

    Hi,
    I'm occasionally encountering error -50550 while attempting to stop an AI Task; though its occurrence is sporadic:
    LabVIEW Error Details:
    Error Code: -50550
    Source: DAQmx Stop Task.vi:3 Task Name: AllAI
    Description: Error -50550 occurred at DAQmx Stop Task.vi:3 Possible reason(s): A synchronization object was not acquired within the time limit. The operation could not be completed as specified. Task Name: AllAI
    The way I've currently written my VI, I'm creating an AI voltage task with a sampling rate of 1k and buffer size of 50k. I start the task use the daqmx read in a while loop until I reach a threshold, and then fall out of the loop and stop the task.
    I'm using LabVIEW 8, DAQmx 8 on WinXP.
    Anyone have any idea of the cause or cure?
    Thanks in advance,
    Glyn

    Hi Glyn,
    Unfortunately, I do not have many ideas about that error.  Can you post the portion of your code that demonstrates this error so that I can try to see it?  Also, how often do you see this error?  It sounds like it is not every time that you run the program.
    Thanks,
    Laura

  • Task ALE/EDI: Error handl cannot be started immediately

    When an IDOC is being created in SAP(3.1I) from an external system(Gentran GIS), it is added with errors status 56. The error text states as 'Task ALE/EDI: Error handl cannot be started immediately
    'The task ALE/EDI: Error handl (no. TS00008068) cannot be started immediately by user GIS'.    
    Can anyone advise where the user 'GIS' need to be added to avoid getting that IDOC error

    Hi Bhaskara,
    This can be caused by several issues:
    1. The user GIS has NO authorization to run workflows or to run this specific workflow task (TS00008068).
    2. The user GIS has NO authorization to run function module EDI_ROLE_FOR_PROCESSING (or when running this function module it will return data in the ACTOR_TAB, which means that the workflow cannot be started by default users).
    3. Within the partnerprofile (transaction WE20) at the specific inbound parameters for the message on the tab "Post processing: permitted agent) an agent has been defined that will not resolve to the user GIS (and therefore this user is NOT allowed to do post processing).
    Most likely issue 3 is here at hand. If this is the case, REMOVE the entry for the agent (or consider to setup an organisational unit/work center and make GIS a member).
    The error, by the way, is an inbound processing error. It is possible that in the ALE layer something has not been defined properly.
    Within the partnerprofile (transaction WE20) at the specific inbound parameters for the message on the tab "Inbound options" and double-click on the entered Process code.
    You must now check the entries here.
    Example:
    If you use an own function module (named in the Identification field) you must set the radio buttons to Processing with ALE service AND Processing by function module. The little button behind the identification field will show some details.
    At least the detail fields (on tab IDoc) Object type, Start event and End event must be filled.
    Default values for these are: IDOCAPPL (=Object type), INPUTERROROCCURRED (=Start event) and ERRORPROCESSCOMPLETD (=End event).
    Of course within ALE you can define different types of process codes (what you like most for your specific handling).
    Hope this helps you a bit on your way.
    Regards,
    Rob.

  • Daqmx read.vi timestamp incorrect problem (storing the timestamp from start task)

    Hello,
    I have a state machine with 1st state: configure DAQ where i have [daqmx create channel.vi --> daqmx timing sample clock--> DAQmx start trigger--> daqmx start trigger] connected in order
    sample clock in continuous mode, 10000 samples to read and sample rate 1000 Hz ,
    start trigger has rising edge selected with a dev1/PFI0 from a daq board.
    next state of SM is read channels which has daqmx read.vi set to 1d waveform  Nchan Nsamp.
    and the program first configures and goes to read channels state and is just waiting for the true value on PFI0,
    but the time stamp is not updated to current time/ when daqmx read starts instead it is getting the initial t0 from the time when it was in configure DAQ state of my SM in other words it stores the starting time when strart task.vi was run and then updates from then on.
    so in effect i am not getting the exact time stamp values while i am running the vi.
    i tried to build waveform by inputting the actual current time but the chart doesnot scroll and shows only few values each reading, when i tried to input the t0 from the waveform given out by read daqmx. vi, it then behaves normally..
    option #1 from this link says
    http://forums.ni.com/ni/board/message?board.id=250&thread.id=47648&view=by_date_ascending&page=2
    Try and do exactly what the driver does.  This
    will require you to do exactly what you are doing in the posted
    example.  Call the current system time immediately prior to calling the
    DAQmx Read and subtract dt * x where x is the number of samples already
    acquired.  This will require you to know exactly how many samples have
    been acquired.  This can be found by calling the Total Samples Per
    Channel Acquired property immediately prior to the DAQmx Read.  This
    introduces some points of innaccuracy.  For example, you're system time
    is already innaccurate to some amount.  In addition, it takes some time
    between calling system time, calling the total samples acquired, and
    calling the DAQmx read.  If 2 samples are acquired between calling the
    system time and total samples acquired, you could be off by a few
    samples.  For slower clock rates, you will have more accuracy. 
    but there are no samples that are acquired until the rising edge, so the number of samples is always zero before the read operation
    http://digital.ni.com/public.nsf/allkb/5D42CCB17A70A06686256DBA007C5EEA 
    this link says that
    and the number of samples in my waveform is constantly changing around 20-40, so i cannot really input the current time to build the waveform, thats what i can figure out for now..
    can somebody tell me why this is happening or is there any fix around this, how to get the current time into my daqmx read.viso it displays the currect time on my waveform chart
    Thanks,

    thanks,
    im using LV 8.6, daqmx driver 8.9.5.
    yes the program u posted get the currect time. but see attached program thats what i have in my program exactly
    if you took out the time to using the get waveform components using the waveform  from daqmx read. i still have the timestamp as the application start time. plz see attached code 8.2v and FP
    the waveform time x axis is not current, it is starting from the application start time.
    PS: samples to read = 10,000 and sample rate = 1000
    plz help..
    Attachments:
    daqmx read problemp.png ‏8 KB
    daqmx read problem.vi ‏36 KB

  • Stand-Alone application with LabView 7.0 getting error can't find DAQmx clear task.vi

    I have attempted to create a stand alone vi with the Build Application or Shared Library(dll) in LabVeiw 7.0
    When I put it on another PC to test it I get the error "can't find DAQmx clear task.vi"
    the other PC has Labview 7.0 and DAQmx 8.1 also.
    I believe my problem is in the source tab where you are supposed to add support and dynamic vi's I have search the forums and Ni's data base and have not found a solution.
    Solved!
    Go to Solution.

    Hi LabTech09,
    When you run the executable on the other computer is when you get this error?  Do you have the exact same versions of LabVIEW and DAQmx on both computers?  Does the dialog allow you to navigate to the DAQmx clear task.vi?  If so, you can find these VIs in C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\DAQmx\configure\task.llb.  Does the executable work on the development machine (the machine it was compiled on)?
    Regards,
    Jim Schwartz

  • CDAQmax Start Task Error -200022

    Hello,
    I've been working with labview for a couple of months and I was asked to add new data measurements to an old program. The problem is that whenever I add the new code for the new measurements I get error -200022. It says that it is located in the cDAQmx Start Task and the possible reason is that the channels for the new measurements have already been reserved by a different task. However, I have checked and made sure that the channels for the new code were not being used for the old program.
    The old program is quite big and complex. I've been working on trying to understand every part of it, but its not easy and my supervisors asked me to complete this project in about two weeks. Is there a way that I can add my new code using without having to change anything from the old program? 
    Attached is an image of the error message that I'm getting.
    Looking forward for any help,
    Thanks.
    Jose
    Attachments:
    Error -200022.png ‏184 KB

    Hello Jose,
    I am David, an Applications Engineer at National Instruments UK
    Without seeing the program that you are trying to run it is hard for me to make many comments on anything that could be causing the error. I have searched our resources here and have founf the following article that explains the reasons for getting this error message:
    http://ae.natinst.com/public.nsf/web/searchinternal/5664c009da244727862571e900046775?OpenDocument
    If you read this article it should guide you so that you can see the changes that are needed so that your program will run as desired. If this does not help then feel free to contact me again on this post and possibly attach the VI or a screenshot/ snippet of it so that I can have a go at debugging.
    Good luck and let me know how it goes.
    Regards
    David B
    Applications Engineer
    National Instruments UK

  • Getting error -200452 using DAQmx Base Trigger (Digital Edge).

    I'm trying to set up AI and counter output, and I'm using digital output as trigger for to start AI and counter at the same time. I get error 200452 "Specified property is not supported by the devise..." not consistently, but around 5 runs out of 100. Below the error description, the error box shows "This error code is undefined. No one has provided a description for this code..." If I "Retain Wire Values" in Block Diagram, the error first appears after 'Start Digital Edge' block in top counter output line.
    Using LabView 8.5 on MAC OS X and DAQmxBase 3.2
    The MAC I have is not Intel base, so I can't upgrade LabView and DAQmxBase to latest version
    Note: The file contains just a small portion of the program, but the rest of the program does not have any other DAQmxBase blocks accessing the channels used here in code attached.
    Attachments:
    Combined V 1.5.41_sm.vi ‏98 KB

    Hi Azotov,
    It looks like the DAQmx Base driver readme includes Mac OS X support for LabVIEW 8.5.  Could you specify what hardware you are using?
    I found one KnowledgeBase specifying that error code occurs when you try to use certain properties with certain devices.  Of course, this would most likely occur every time you run the task, not 5% of the time.
    Since I'm running Windows, it's a little difficult to see if you have DAQmx Base "Reset Device" functionality with that version of the driver.  You might check if you can run that functionality before using your device, though.
    National Instruments

  • Errors are not showing in Tasks view

    Hello,
    I dont know why errors are not showing in Tasks view after I click Save All Metada, they only show when a Rebuild de project. This start to happen after a few days, can anyone tell me how to fix this?
    Thanks

    Hi Carol,
    After rebuild all compile time dependency and syntax might be checked and something is missing then errors suppose to come.
    If you have doubt you can re install the NWDS...
    Deepak!!!

  • Error in transporting WF workflow task

    Hello,
    I face an error when moving WF workflow task from Dev to QA.
    System is 4.0B.
    The QA transport log shows (errors in bold):
    Subsequent processing RH_ACTIVATE_PDOBJECT_AFTER_IMP for PDWS T started at 20:23:01
    Time... 20:23:02       Run time... 00:00:01
    Start activation of object WF 91000095 (client: 100) 202302
    <b>Error while activating</b>
    Time... 20:24:00       Run time... 00:00:58
    <b>Errors occurred during post-handling RH_ACTIVATE_PDOBJECT_AFTER_IMP for PDWS T</b>
    Post-handling RH_ACTIVATE_PDOBJECT_AFTER_IMP belongs to development class SP00
    <b>The errors affect the following R/3 components:</b>
       <b>BC-BMT-OM (Organizational Management)</b>
    In QA, the new version of the WF - created and activated in Dev - does not appear at all. I checked OSS Note 138411 - Collective note: PD Transports and OSS Note 88180 - Error during import postprocessing (Org.unit) but they didn`t help.
    In Dev, the new version of the WF was saved and activated and manually inserted in a customizing request from tr. PFTC. The transport included object <b>R3TR TDAT PDWS</b> with entries for HRP, HRT and SWD_* tables, with records for the WF task.
    Any help would be appreciated.
    Thanks and regards,
    Krisztian

    Hi Ravi,
    WS and TS tasks are recorded in changes, only the WFs and Ts are not. This is because some Personal Development objects are not to be transported, hence automatic transport connection for these is deactivated in IMG. Since WFs and Ts are considered as PD objects, the automatic transport is deactivated for them as well. For WFs and Ts manual transport is available in PFTC.
    This is unfortunate but this is how it`s set.
    On the other hand, version management is not something that works too well for workflows anyway (at least in 4.0B). You can`t see the differences in two separate versions like you would in a program. And in WFs and Ts you are able to generate versions just like for WSs and TSs for version management. So from my point of view manually transporting WFs and Ts are not the issue. But I may be wrong...
    Nevertheless I activated automatic transport connection and did a change in Dev like that. The transport created was moved to Acc, but still same problem...
    So I`m running out of clues.. maybe I just overlooked something...
    Thanks
    Krisz

Maybe you are looking for

  • Open pictures in Camera RAW and still have paths/clipping paths?

    Hello A big problem in Bridge is that I can not open my pictures in Camera RAW and still have my paths left. I work in a place where we get loads of product photos from many different companies and they almost always have a clipping path in it. Many

  • Is it possible to correct a typo in the menu?

    There's a typo in the text of the menu of a DVD that I created in iDVD. Is it possible to correct this error without redoing the project? An idea that I have in mind would be to make a "dummy" DVD that has the correct menu, copy both DVD's to my hard

  • How can I make a version(s) of java on windows compatible for multiple app

    I have a switch application from EMC -connectrix manager which requires 1.5.0_x, we have 1.6.0_x on our management servers. Is java backwards compatible/supporting earlier versions for applications requiring earlier versions. If so, di I have to enav

  • Without Wi-Fi, how can I connect?

    I am a teacher and I would like to use my Ipad Mini as an interactive whiteboard while presenting lessons. Unfortunately, we don't have Wi-Fi in our building. How can I connect to my desktop and control it with my Ipad Mini while walking around the r

  • My iPad2 is stuck with a popup that says "iCloud Backup"

    My iPad2 is stuck with a popup with the title of iCloud Back up that states "This iPad hasn't been backed up in 2 weeks.  Backups happen when this iPad is plugged in, locked, and connected to WiFi"  I click OK and nothing happens.  I cannot power dow