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.

Similar Messages

  • Acq&Graph Voltage-Int Clk.vi error-2147220712

    Hi All,
    I had this Acq&Graph Voltage-Int Clk.vi running excellently since 4yrs. Only yesterday I see this error poping when I run this program. 
    The pop up says : Error-2147220712 occured at DAQmx Create channel (AI-Voltage-Basic).vi
    I tried to run the example Acq&Graph Voltage-Int Clk.vi and I get the same error.
    could you help me to resolve this. Thanks a lot.
    Regards
    Nag

    Hi Nag,
    I have looked at your error and tried to find other people having had this problem. It seems that for some people it was fixed by reinstalling/repairing the DAQmx drivers.
    This can be done by going to:
    my computer >> add/remove programs >> national instruments
    In the dialog box you should see the DAQmx drivers and be given an option to do a repair. Try this and let me know how it goes.
    Kind Regards,
    Laurence C.
    Senior Test Development Engineer
    Dyson Ltd

  • Why "Acq&Graph Voltage-Int Clk.vi" does not get constant voltage for constant voltage input?

    Dear All
    Labview 7.1/XP/NI6221
    I try to use NI 6221 to read analog input by using "Acq&Graph Voltage-Int Clk.vi".
    The reading voltage does not constant and not correct value, when I put constant voltage.
    How should I solve this problem?  Thank you.
    When I use "DAQ Assistant" to read analog input it work well.
    Thongchai

    Thongchai,
    As I recall from an earlier discussion exchange with you, you are performing Reference Single Ended (RSE) measurements on channels 0-3, is that correct?  In the example, there is no selection for the input terminal configuration on the DAQmx Create Task -- for M-Series boards on channels 0-8 the default configuration is differential.  If you right click on this input and select "Create Constant", you can choose RSE and it should measure the correct values.  Let me know how that works for you.
    Erik F
    Applications Engineer
    National Instruments

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

  • 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

  • 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

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

  • Increase acquisition time in Cont Acq&Graph Voltage-Analog SW Trigger.vi

    The NI example Cont Acq&Graph Voltage-Analog SW Trigger.vi takes one second of data. I need to take much more and can't figure out how to increase the acquisition time.
    Is this something that has to be adjusted in one of the DAQmx task sub VIs?

    Hello Richard,
    Welcome to the forums. You post this question on the DAQ forums and that is the correct one to ask this so let keep it there and do not hesitate in posting back if you need more help.
    Best,
    Message Edited by Yardov on 07-09-2007 11:44 AM
    Gerardo O.
    RF Systems Engineering
    National Instruments

  • Cont Acq&Graph Voltage-An​alog SW Trigger.vi

    can thus example be modified so that its is sending out a wafeform, say a pulse for example; for analysis on an external scope?
    i have been having problems generating a pulse output with my 6008, apparently it does not support hadware timin, so im wondering if
    i can overcome this with the config, but in reverse? i.e using software timing

    This example does not generate a signal on analog output channels
    It acquires a signal on its analog input channels
    Look at example vi's you will find in this folder
    Find examples>>Hardware input/output>> DAQmx>> Analog generation and choose suitable analog generation vi from that folder

  • 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

  • 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

  • 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

  • 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

Maybe you are looking for

  • Best way to reinstall OS X and user acts??

    https://discussions.apple.com/message/21962798#21962798 Just in case the discussion forum blocks the above link (its happened before), that discussion is about the problem I've had with my new iMac. I can browse the web for minutes, hours, or days, a

  • How to colour a b/w drawing? [was: doubt]

    how to colour a b/w drawing?

  • ERS??

    Hello All, I have been trying to run the ERS process..... 1. I have ticked GR based IV and ERS in vendor master 2. Then I created a PO for this vendor with the GR based IV ticked in the PO 3. Now I go to txn MRRL and run the Txn in test mode 4. I get

  • Step by step screen shots fro APO and SRM, CRM , SCM extractions.

    hi friends, can i get step by step screen shots fro APO and SRM, CRM , SCM extractions. Thanking u suneel.

  • Radio interface Problem in Air-lap1131-a-k9

    I have one Air-lap1131-a-k9 and i convert in autonomus system , but when the AP reload the message " the interface radio is not present " apper so when i type sh run the interfaces radio dont apper... Please help me