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

Similar Messages

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

  • 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

  • Cont Gen voltage Wfm-int clk variable rate + Led off when square wave exceeds 2,5 volt

    Hi, example Cont Gen voltage Wfm-int clk variable rate I would
    like the LED lights up when when the square wave exceeds 2.5 volts. I
    have a USB 6218. how can I do? Thanks for your help
    Attachments:
    Cont Gen Voltage Wfm-Int Clk-Variable Rate( per spostamento avanti indietro) con offset di 2,5 vers alfa.vi ‏65 KB
    led su fronte salita.JPG ‏104 KB
    Immagine7a.JPG ‏68 KB

    Hi Giakko,
    I saw that you discussed here the same problem on the Italian Forum, so i post the linked documents to let other users to benefict of the support:
    Can I Perform Retriggerable Analog Input or Output with an Analog Trigger?
    Retriggerable Analog Output with Analog Trigger
    Best Regards
    Matteo C. - Test Engineer

  • Is there any examples for VB as the "Cont Acq-Int Clk" for ANSI C?

    I wanna acquire  continuous datas using the USB-6008 in VB , but I can't find how to use "EveryNCallback" in VB!
     there is any way to acquire  datas continuing for real time computing in VB?
    Thinks!

    The device can return a set of samples after a amount of sampling(at least 1000 times, that's enough), namely at a longer time.
    Maybe there is RAM in the device which I didn't find on the user guide & specifications.
    Well.Now I have known the bottleneck is the slow reaction of PC.\(^o^)/
    The examples of VB still doesn't work. its parameters settings show in the picture.
    If I set the Sample Rate above 300Hz it show that msgbox after seconds ,if below 300Hz, it can work longer, .
    And if I set like this:
    it can work well,even the Sample Rate up to 10kHz.
    Wait for anyone who can settle this.
    Thanks for your patient help,NIhuyu!
    Yutong Sun
    帖子被gamesun在 10-20-2009 04:51 AM
    时编辑过了
    帖子被gamesun在 10-20-2009 04:51 AM
    时编辑过了

  • How to change the waveform-type inside of the waveform graph from int to double?

    Hello,
    attached you find a vi with two waveform-graphs.
    When i rightclick them and select "create constant" then it creates the constant.
    The difference between the two graphs is, that one creates a double-array inside the constant and the other graph creates an int-array inside
    The question is: Where can i change inside of the int-graph that it also creates a double-array in the constant?
    (Problem is that all double-waveforms send into this graph are changed to int and rounded in the display)
    Thanks for the help
    Attachments:
    waveform.vi ‏27 KB

    The datatype of a chart or graph is determined by the last thing you wired to it.  By default, they are simple doubles or arrays of doubles.  My guess is that you first wired a waveform with an integer data type to the graph.  It should switch automatically to a double waveform graph if you wire a waveform which contains double data to it.  If it does not, that is probably a bug.  If you have a VI in this state, please post it and I will report it to R&D.
    Thanks!
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • System/Application startup causes error -2147220712 (and others)

    I have a developed a .NET logging application (in C#) using DAQmx and an NI USB-6210 board all running under XP Pro. All works fine when the application is launched after the host PC system has been running for some time.
    I have now put a shortcut to the application in the Startup folder so that it is launched as part of the system boot (The system is set to run the account containing the Startup folder immediately on boot). I now get the following error message.
    NationalInstruments.DAQmx.DaqException: (Hex 0x80040318) Internal error: The client has failed to connect to the configuration server, possibly because the server is too busy or has run into a communication error. Please note the steps you performed that led to this error and contact technical support.
    Status Code: -2147220712
       at nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >.CheckWithName(StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >* , tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* pName)
       at NationalInstruments.DAQmx.DaqSystem.get_Devices()
    i.e. it fails at the first DAQ call in the application at the statement
                     string[] devices = Daqsystem.Local.Devices;
    that I'm using to determine if the hardware device I want to use exists on the system.
    My guess is what is happening is that my application is starting before the NI configuration server and the other underpinnings of the DAQmx interface have completed their startup activity.
    I also have to insert waits of several seconds  AFTER this call succeeds , i.e after the device I want appears in the return string from the call before I can execute calls like
                    myTask.AddGlobalChannel(cD.globalChannelName);
    to prevent 'resource not available' type errors from this call. Even after the device name is returned there are clearly other startup activites going on.
    I suppose I could catch each DAQmx call exception, wait and retry until I get success all the way though this configuration stage of my application, or put a big 'worst case' delay in at the start to allow the NI code to do what it has to do, but that's a kludge at best.
    Is there any other coding mechanism or call that I can use from my application that indicates that DAQmx and all its underpinning NI code is up and running and ready for use? 
    Regards,
    Malcolm Sharp

    I am having a similar issue, however, waiting for 15 mintues before starting the program with a try/catch loop does not solve the problem. I am using four computers to test the issue with windows 7: a laptop running x64, laptop running x86, desktop running x64, desktop running x86. All computers are executing the exact same build of the application, and all have the most current version of Daqmx installed. Both of the desktops don't have the issue, but both of the laptops cannot find connected devices (I am only using a USB-6008), and the following exceptions are being thrown:
    ------------------------------------------------------------------------------Exception 1
    Exception Message:     Internal Software Error occurred in MIG software. Please contact National Instruments Support.
    Task Name: _unnamedTask<0>
    Status Code: -229771
    Exception Source:      NationalInstruments.DAQmx
    Exception Stack Trace:    at nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >.CheckWithName(StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >* , tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* pName)
       at NationalInstruments.DAQmx.Task..ctor()
    Exception Target Site: Void nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >.CheckWithName(nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >*, nNIDMXS100.tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>*)
    ------------------------------------------------------------------------------Exception 2
    Exception Message:     MAX:  (Hex 0x80040318) Internal error: The client has failed to connect to the configuration server, possibly because the server is too busy or has run into a communication error. Please note the steps you performed that led to this error and contact technical support.
    Status Code: -2147220712
    Exception Source:      NationalInstruments.DAQmx
    Exception Stack Trace:    at nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >.CheckWithName(StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >* , tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* pName)
    Exception Target Site: Void nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >.CheckWithName(nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >*, nNIDMXS100.tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>*)
     Also, I have noticed that both National Instruments software, as well as the application I am building require internet access permission by my firewall in order to find the devices. I have tried both enabling access for all National Instruments software and my application, as well as disabling the firewall altogether, both to no avail. On top of the present exception issue, is there any way to prevent the daqmx driver from requiring internet access by a firewall in case a user disables access and cannot figure out the cause of the problem?
    Thank you,
    Matt

  • Producing a line graph of int values and saving as an image

    Hi,
    I wonder if anyone could help me with this. I have 2 arrays of integer values that I would like to plot as a line graph (e.g. X[ ] and Y [ ]) and then have this line graph saved as an image (the format isn't too important but PNG would be preferred).
    Could somone point me in the right direction of an easy way to do this?
    Thanks,
    Pete

    Have a look at the following classes :
    java.awt.Graphics (drawLine method)
    java.awt.Image
    java.awt.BufferedImage
    javax.imageio.ImageIO (jdk 1.4+)

  • My Windows XP failed to install Adobe Reader XI Int Explorer script error?

    On my Windows XP, I failed to install Adobe Reader XI  because of Internet Explorer script error - how can I overcome this?

    You can try using this tool to first remove all traces of Reader:
    http://labs.adobe.com/downloads/acrobatcleaner.html
    Then, you may download the full offline Reader installer for the version you want from
    http://get.adobe.com/reader/enterprise/
    After downloading, restart your computer and run the installer before doing anything else.

  • SVG graphs: microsoft jscript run time error

    I have an application that uses SVG pie charts. A few months ago, we suddenly started to get an error message saying, "Microsoft JScript Runtime Error: Object expected, line: 1, column 26". After you click ok, the pie charts are displayed.
    The only thing that has changed is that the application is now being run from Juniper. Also, if i run the application using Firefox instead of IE 7, we don't get the Microsoft JScript error. ( We are using Adobe SVG viewer for IE 7 given that IE doesn't have native support for SVG graphics).
    Does anybody else have any similar problems or know what can be the cause of the error?

    Hello,
    What is Juniper?
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Voltage ramping VI - looping error?

    I am using a previous VI for my Xantrex PSU that sets current or voltage of the PSU. I have added a loop to it that will allow me to ramp up the voltage given set user values (timing, scale, etc.) Those parts work. However, in my VI the loop does not set the voltage of the PSU, but sets it to the value only AFTER the loop has finished.
     I know my counting is correct, because it displays proper count up rates.
    Any help with my VI would be much appreciated!
    Thank you,
    Steve
    Attachments:
    Voltage Ramp.vi ‏46 KB

    The reason is because you are setting your voltage (config voltage vi) only once and outside the loop.  Move this VI inside the loop so that you reset the value repeatedly.  Click on "highlight execution" (the yellow bulb) while viewing your block diagram and run the program so that you can see the program flow, and you will see what the problem is.Message Edited by Sudhir Gopinath on 06-14-2007 01:27 PM
    S G
    Certified LabVIEW Architect, Certified TestStand Developer, Certified Professional Instructor

  • Select a Vi to acquire, save and read continuous analog voltage

    Hi,
    i'd like to get a Vi to acquire a continuous voltage in a chart or graph to measure a load cell. I would like to save it in binary format (ASCII) or DIadem format and then to be able to display and use it in Diadem.
    I have already tried lots of vis but it is not easy to find one that can do all those functions.
    At the momemt I am using the Continuous Acq&Graph Voltage-Int Clk and I mixed it with other vis to be able to save it in a binary file. So at the moment I can save it witout errors if the samples number, the frequency rate and the loop time are not too high.
    But I have sometimes errors and I don't know how to read this saved file in LabView or Diadem.
    In Labview the VI that normally read binary file (graph or chart) doesn't read my chart...?
    Attachments:
    Continuous data acquired (diagram).jpg ‏162 KB

    Hi Intern2005,
    For continuous streaming, I would recommend to create the binary data file yourself with the standard LabVIEW file I/O VIs, then create a header file to describe the binary file that you've streamed.  Here you have the choice of a TDM header file or a DAT header file.  The DAT header file approach requires downloading the LabVIEW-DIAdem Connectivity VIs:
    http://digital.ni.com/softlib.nsf/websearch/5121C7F322C9392886256EDF005BB4FF?opendocument&node=13206...
    The TDM header approach requires using a new set of TDM header VIs wrapped around a C++ DLL, which you can not yet download, but which I'm providing below.
    Both approaches are wrapped up in the ZIP file below, with examples, and both approaches are 100% readable by DIAdem.
    Ask if you have questions,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Attachments:
    TdmHW.zip ‏1246 KB

  • How to send TTL output AND acquire AI voltage data using USB-6211

    Hello,
    I am relatively new to Labview, so please bear with me.  I have a research application involving 2 pressure transducers and a high-speed camera.  I wish to acquire analog voltage data from the 2 pressure transducers.  However, at the start of the acquisition, I will need to send a single TTL output to trigger the camera.  This TTL pulse must be sent out at exactly the same time that the AI acquisition begins, in order to ensure that my 2 pressure measurements and camera images are 'synchronized' in time.
    Is this possible on the USB-6211 running with LabView 8.20?  I currently have a fairly simple LabVIEW vi that uses a software trigger to start an AI acquisition - I have attached it with hopes that it may help anyone willing to assist me.  I would prefer to be able to simply add something to it so that it will output a TTL pulse at the start of the acquisition.  
    Thank you in advance.
    Regards, Larry
    Message Edited by Larry_6211 on 12-19-2008 11:24 AM
    Attachments:
    USB6211_v1.vi ‏212 KB

    Hi All,
    I'd like to clear a few things up. First, you'll find that if you try to set the delay from ai start trigger and delay from ai sample clock to 0, you'll get an error. Due to hardware synchronization and delays, the min you can set is two. Note that when I say two, I am referring to two tick of the AI Sample clock timebase, which for most acquisitions is the 20MHz timebase. I modified a shipping example so you can play around with those delays if you want to - I find that exporting the signals and looking at them with a scope helps me visualize what is going on. The Manual has some good timing diagrams as well but it looks like you've already hit that. The defaults would give you a delay of  250ns from the start trigger - is this too high for your situation? What is an acceptable delay? I tend to think that "exactly the same time" is a measure of how precise rather than an absolute (think delays in cable length making a difference.)
    With all that in mind, I see a few options:
    Start your camera off of the AI start trigger (an internal signal) and just know it is 250 ns before your first convert. 
    Export the convert clock to use as a trigger. This assumes your camera can ignore the next set of convert clocks.
    More complicated option: Internally you have an ai start trigger, sample clock and convert clock. From your start trigger to the first convert is 250ns but if you export your convert clock you're going to get future convert clocks as well. One option would be to generate a single triggered pulse using a counter (start with the  Gen Dig Pulse-Dig Start.vi example) with the AI start trigger as the trigger for the counter, an initial delay of 250 ns, and a high time of whatever you want it to be. This should give you a singe pulse at very close to same time (on the order of path delays) as your first convert clock. 
    Hope this helps, 
    Andrew S
    MIO DAQ Product Support Engineer
    Getting Started with NI-DAQmx
    Measurement Fundamentals
    Attachments:
    Acq&Graph Voltage-Int Clk.vi ‏37 KB

Maybe you are looking for

  • Trouble getting the default  user directory under Windows XP

    I m trying to get the default user directory under windows XP SP3. To do so, I'm using System.getProperty("user.home"); I was expecting to get a path like "C:\Documents and Settings\user", nstead of that I get "C:\Documents and Settings\user\Destop".

  • Database connections in Planning

    Hi, We are experiencing issues suddenly in our production environment and we are not able to run FR reports as a result. When we run the reports we get the following error: *8001: The Database Connection could not be found: CHRDistr:CHRDistr:Essbase:

  • What is the last version of firefox that works with albine 0.748 ?

    My albine worked with the last version before I upgraded to 17. I did not save that version and would like to go back to it. I did save firefox 9 and that is what I am using now but I believe you have a later version that i could use. What was the ve

  • What kind of mathematical optimization problems exits in SAP? (NP problems)

    What kind of mathematical optimization problems exits in SAP? I don't use SAP and don't have any experience with SAP but I would be interested what complex optimization problems, preferably "NP problems", exits or where a fast solution (semi-solution

  • Airport express with an ethernet splitter

    Hey, I am thinking about getting an aiport express (802.11n) to connect my gaming consoles wirelessly as they are too far away from my router, and they are only 802.11g. Is it possible for me to get the AX set it up wirelessly to connect to my networ