IVI driver examples

Does anyone have actual code examples using IVI drivers. (I'm not picky
about which class driver your using nor which dev environment -- LabView,
LabWindows, C++, VB)
Thanks in advance for your assistance.
Dean
[email protected]

Dean wrote:
> Does anyone have actual code examples using IVI drivers. (I'm not picky
> about which class driver your using nor which dev environment -- LabView,
> LabWindows, C++, VB)
>
> Thanks in advance for your assistance.
>
> Dean
> [email protected]
Dean,
Have you looked at the driver library on NIs web site.
There are a number of ivi drivers there for different pieces of hardware.
Most of them should have an application example.
Hope this is what you are looking for.
Kevin Kent

Similar Messages

  • Agilent E364XA IVI driver does not support measurement of 2nd channel?

    Hi,
    just downloaded the IVI driver for Agilent programmabel power supplies E364xA. It's supposed to support also the E3646A, a dual power supply. In my case there are two of 'em, connected via GPIB. I've configured 'em in MAX and have set up logical names, driver sessions and hardware assets. The two driver sessions use the hpe364xa as software module, the hpe364xa_32.dll as module path and show a whole bunch of supported devices, amoung of is also mine. I've set up two virtual channel names each for both driver sessions (4 channels over all). I can set the output voltage of both channels properly, but cannot read the voltage back. Get always the voltage level for the 2nd channel of the device. Hav
    e tried measuring both or just one channel, it always returns the voltage of ch2, either two times a very narrow level or just one result.
    Any idea?
    BTW, this happens both in LabVIEW 7.1 and in TestStand 3.0
    Greetings from Germany!
    Uwe Frenz

    Hi,
    the problem is that function does not set active channel. This function measure value from your last configured channel. For example: If you set volatge on channel 2, the measured value should be from this channel, if you set volatge on channel 1 before measurement, measured value should be from channel 1. :-(
    I attached fixed source code and DLL. Please try it, and let me know if the problem is fixed. I don't have instrument so I cannot test it. My email is [email protected] . Thanks.
    you should copy these files into [IVI] directory. The default path is C:\Program Files\IVI
    hpe364xa_32.dll => [IVI]\bin
    hpe364xa.h => [IVI]\include
    hpe364xa.c => [IVI]\Drivers\hpe364xa
    Zdenek
    Attachments:
    hpe364xa.zip ‏70 KB

  • How to add the "Voltage Calibration"in the DCpower for IVI drive??

    How to add the "Voltage Calibration"in the DCpower for IVI drive??

    To gather more information concerning the use of IVI there is a very comprehensive page of Class Specifications for IVI Class Instruments:
    www.ivifoundation.org
    This resource covers all IVI calls for each class of instruments and should provide you wiht valuable information. For an additional overview of IVI and its relationship to NI products, you can also visit our Resource Library:
    ni.com>>Resource Library>>Instrument Drivers
    Best Regards,
    Chris D
    Applications Engineer
    National Instruments

  • Generate a '2 output instrument​' directive to IVI driver

    Hi,
     I have a Tektronix AWG420 which I didn't find drivers for anywhere; however I did find an IVI driver for the AWG5x0 family in the NI drivers' zone.
    As the command set for these instruments is almost identical I tried using it, and it works great with my applications for Channel1 if I turn of the 'ID query' at initialization.
    However, as the driver doesn't recognize that I have a 2-output instrument I can't communicate with Channel2.
    Does anyone know how can I give directives to the driver that this is a 2-output instrument?
    Thank a lot,
       malosh

    Unless you want to buy LabWindows/CVI and modify the driver (orf ind someone to do it for you), I think your only option is to use tkawg5x0 Write Instrument Data to send the unsupported commands. This (and a read function) are on the Utility Functions>Instrument I/O palette.
    Since doing this makes your program instrument specific and you lose most of the reasons for using IVI, you could always write a native LabVIEW driver or use the Instrument I/O Assistant instead of the IVI driver.

  • I need IVI - COM example, can helpOr where can I find

    Very hope to get IVI - COM example, requests for help~~~~

    http://ivifoundation.org/downloads/IVI%20GSG%20201​2/IVI%20GSG%20C++%20MAR2012.pdf
    Jeff

  • Using IVI driver for reading delay in MSO6104A

    Hi,
    I have the NI IVI driver for the MSO6104A scope. The driver is functional and I manage to use it.
    My scope has a function of measuring delay between two different channels. But, how can I read the Delay measurement using IVI scope step?
    Is there any other way of reading this measurement?
    Thanking in advance
    Solved!
    Go to Solution.

    As far as I know, interchannel delay is not a supported IVI measurement function. So, you can complain to ivifoundation.org first of all. Or, in a code module, you can use the instrument specific driver to get the measurement. This would make the application 'non-IVI' so most of the reasons for using IVI in the first place are gone. Or, retrieve the waveforms from each channel and calculate the delay in a code module.

  • [Q] Creating an IVI driver *.bas file

    The VXIPNP specs require a *.bas file to accompany an IVI driver for the
    WinNT framework. We're using LabWindows/CVI to create our IVI drivers.
    But so far we haven't been able to create the *.bas file. I got far
    enough to get an error message that "cvirte.h" has types that VB can't
    deal with. But it's the IVI wizard - not I - who's including that file.
    Has anyone succeeded in creating the *.bas file, and if so then how?
    (My call to National tech support didn't help. The tech I dealt with
    simply couldn't seem to grasp that the *.bas file is a 'requirement'.
    He (correctly, I assume) states that it's not needed since VB can now
    interrogate a DLL. But that doesn't do anything towards complying with
    the VXIPNP requi
    rement for a *.bas file.)
    TIA for any help ...
    B
    ande at san dot rr dot com

    Double-click on the ".h" file in the project window to open it. Select Options » Generate Visual Basic Include. Take note of the DLL name in the "Confirm DLL Base Name" windows before you click OK, as you will need to know this file name in a future step. This will create the ".bas" module that will be included in the Visual Basic project.
    Hope that helps
    S.
    // it takes almost no time to rate an answer

  • Performing a Vi_Lock in an IVI Driver

    I am using the Tektronix AWG520 IVI-C Driver. Here is the scenario of events: I call the Initialize function to obtain a vi session. It appears that this vi session is "owned" by the driver now. As soon as I attempt to write anything to the instrument through GPIB commands using that vi session, I get an error message saying that the session is invalid. I am assuming this is because the IVI driver is either not releasing the vi session or is releasing a sort of masked vi session. Does anyone know if this is the case? I have tried a couple of things to get this result: The first thing I tried was writing an identify function that would use the function vi_write to write the *IDN? query to the instrument. This did not wor
    k. Now I am trying to do something simpler, by just trying to send the vi_lock command to the instrument. I get the same error that the vi session is not valid. Is there any possible way to get around these "problems" with the IVI driver? Any help in this matter is greatly appreciated! Thanks in advance.
    Attachments:
    tkawg5x0.c ‏280 KB

    Hi,
    It seems that your are trying to use the IVI session handle to perform I/O operations. An IVI session is initialize using the Ivi_SpecificDriverNew function. From the function help:
    "Note: This function does not create a VISA session to any instrument resources. If you use VISA to communicate to the instrument, you must create a VISA session yourself and set the IVI_ATTR_IO_SESSION attribute to that value. Otherwise, you can use the IVI_ATTR_IO_SESSION attribute to hold a handle to whatever communications resource you use."
    Look at the callback functions as a reference for instrument I/O. First the session is locked and then the IO VISA handle is obtained using Ivi_IOSession. This function returns the VISA handle stored in IVI_ATTR_IO_SESSION.
    The driver needs to initialize this attribute with a valid I/O handle (usually VISA).
    The tkawg5x0_IviInit function in this driver initializes the attribute by calling viOpen.
    Hope this helps.
    DiegoF.
    National Instruments

  • Problems to show IVI driver, properts loader when using operator interface

    I am using the Operator Interface (programmed in CVI, with asynchronous timer) in folder OP1 in attached  zip file. This operator interface puts not the error message of IVI driver, properts loader etc... on the screen (messages like in attached picture error.jpg in attached zip file). Because of stability problems I am using this operator interface but I need these error message.
    A Other Operator interface is OP2 in attached zip file. This operator interface puts the error message of IVI driver, properts loader ... on the screen (messages like in attached picture error.jpg in attached zip file).
    Now I want to have this functionality with OP1 becaus of stability reasons I have to use OP1.
    How can I implement this in OP1? I tried and searched a lot of time but I have not found a method to implement this.
    can anyone help me?
    thank you
    regards Samuel
    Attachments:
    OP.zip ‏3405 KB

    Hi Sam,
    if you open the userinterface which comes with Teststand - the simple one - you should be able to find the difference. You can find it here:
    C:\Programme\National Instruments\TestStand 4.1\UserInterfaces\Simple\CVI
     I hope this helps.
    Greetings, RMathews 

  • IVI Driver code in labview

    Hi,
      I need to develop a code which will control  any DMM instrument using IVI driver. does any one know how to write the wrapper for this
    Regards
    Parthipan

    Hi,
     only wrapper but the same code should work for different model of iDMM(ex agilent and NI)
    that is if my wrapper is open input to my wrapper is model no. It should open the particular model DMM.
    I mean to say OPEN wrapper is generic to all DMM instrument.based on the input (Model no or something) provided to
    the open wrapper it should call the particular model DLL
    Regards
    Parthipan

  • Using IVI driver for Keithley 6485

    I am trying to learn how to use IVI drivers.  I installed IVI drivers for two instruments, an HP34401A and a Keithley 6485.  I was able to get the HP to work in simulation mode (I don't have the hardware).  I am also trying to get the 6485 working in simulation mode.  The attached vi was provided by Keithley.  I configured a logical name in MAX, but this name doesn't show up as an option when I edit the "logical name" control on the front panel.  I changed the Initialize vi to Initialize with Options and added a command string control to set the mode to simulation, manually entered the correct name in the control, and ran the program.  No error was indicated in the Initialize vi.  After the configuration vi runs, however, the following error was flagged:
    Error -1074135023 occurred at IviDmm IVI Error Converter.vi
    Possible reason(s):
    Primary Error: (Hex 0xBFFA0011) Function or method not supported.
    Elaboration: FunctionId: 46,  FunctionName: ConfigureMeasurement
    Complete call chain:
         IviDmm IVI Error Converter.vi
         IviDmm Configure Measurement.vi
         KE6485_ZeroChk_LV86.vi
    This error is being generated by IviDmm Configure Measurement.vi, which is apparently installed NI code.  Specifically, the error appears to be thrown when Call Library Function Node is invoked and IviDmm.dll is called.  I wasn't able to track down any further info as to the meaning of these error codes.
    Thanks for your assistance.
    Attachments:
    KE6485_ZeroChk_LV86.vi ‏14 KB

    Hello,
    3rd party devices will show in MAX only when that device is listed at a specific place within your computer's registry. Non-NI hardware may not show up in MAX.
    As far as the logical name is concened, unfortunately, you will have to contact Keithley to get a better understanding of their code.
    You could download our IVI driver from the link below as you might have better luck with it.  You can find any of our 3rd party drivers at www.ni.com/idnet.
    Keithley 6485
    http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=238
    Regards,
    Shawn S. | NIC
    Instrument Driver/IVI PSE
    National Instruments

  • IV characteristic using Keithley 2400, Labview IVI driver

    Hi...
    I'm Pradeep. I am trying to build a LV program for measuring LjV (luminance-current density-voltage) Characteristic of LED using while loop. I am in the first part of building a program for IV characteristic. I am using Keithley 2400 (connected through PCI-GPIB) for sourcing Voltage and measure Current through the device. I use IVI driver from Keithley website (2400-854B01) in Labview 2010.
    I have made a program (please find it in attachments), while running it shows an error code -110. I fear that the voltage that I want to send to 2400 is not communicated properly. Can someone please help in finding out where I made a mistake. I'm struck for two days. I have used Initialize, Configure SOurce DC, Enable Source, Configure Measurement, GPIB Write, Read and Close from the driver (though not sure of the order to be used)
    Please ignore the Luminance measurement in the LV program at 'XY graph' and at 'Write to Spreadsheet' which are for later use when I need to add a photodiode with Keithley 2000 DMM.
    (I did not do a structured learning of Labview. I have been learning from manuals and through discussion forums for a couple of weeks. Please pardon my ignorance)
    Attachments:
    LjV char.vi ‏22 KB

    duplicate

  • Install of IVI Driver Toolset 2.0 error

    While installing LabVIEW 7.1, I received an error installing the NI IVI Driver Toolset 2.0. It states that it could not uninstall the older version of the driver, which it thought it was version 2.0 as well. It stated to contact technical support for a solution.

    Hello Weddle,
    The NI IVI Driver Toolset (IDT) 2.0 is not part of the LabVIEW Driver CD installation. However, the NI IVI Compliance Package (ICP) 2.x is so I would think that you might have had an older version of IDT on your system. To install the IVI Compliance Package, you must first uninstall IVI Driver Toolset 1.1. Please refer to the IVI Compliance Package Release Notes for more details.
    If this doesn't help, please send me the screenshot of the error you get.
    Thanks and regards,
    Vesna Jadric
    Instrument Drivers/IVI
    National Instruments
    Attachments:
    ICPReleaseNotes.pdf ‏168 KB

  • Methods and Tools for checking IVI driver

    What methods are used to check an IVI driver at the end of the development phase?
    Are there any tools available?

    National Instruments has developed the Specific Driver Test Suite that checks the behavior, compliance, structure, and function panels of an IVI driver written in LabWindows/CVI or C.
    Please refer to http://zone.ni.com/idnet/development.htm for more details about this test.

  • Problems in using Ivi driver ke230y in "IviDCPwr Measure [MSR].vi"

    Hello all,
            I have a problem in using IVI driver (ke230y) to control keithley2303 powersupply with LABVIEW 2013.
     After I initialize and config ke2303 well and run to  "IviDCPwr Measure [MSR].vi", it ocurrs errors. While lasting about 15 seconds and then reports errors as attached:
    The code (attached) when I test with other powersupplies such as agilent66309d and keithley2306(with ivi driver ke230x), it runs well.
    So I've no idear about this problem with keithley2303 powersupply, can you guys ever meet this problem and may reply for me to fix it.
    thank you for your reading and help!
    best wishes,
    Phil
    Solved!
    Go to Solution.
    Attachments:
    error.jpg ‏36 KB
    code.jpg ‏43 KB

    I don't have the any driver's source code (such as ividcpwr.dll source code), how can I modify the specific driver through labwindows.
    Follow your advice I use I/O trace to get trace as follows:
    1 IviDCPwr_InitWithOptions ("ke2303", VI_FALSE, VI_TRUE, "", 0x0C913064) VI_SUCCESS 14:45:10.675
    2 IviDCPwr_ConfigureVoltageLevel (ke2303, "CHANNEL1", 3.8) VI_SUCCESS 14:45:11.405
    3 IviDCPwr_ConfigureCurrentLimit (ke2303, "CHANNEL1", 0, 3) VI_SUCCESS 14:45:12.104
    4 IviDCPwr_ConfigureOutputEnabled (ke2303, "CHANNEL1", VI_TRUE) VI_SUCCESS 14:45:12.824
    5 IviDCPwr_Measure (ke2303, "CHANNEL1", 1, 0) VI_ERROR_TMO 14:45:16.207
    6 IviDCPwr_GetError (ke2303, -1073807339, 0, "") 0x00000037 14:45:32.991
    7 IviDCPwr_GetError (ke2303, -1073807339, 55, "Primary Error: ..................") VI_SUCCESS 14:45:32.991
    8 IviDCPwr_close (ke2303) VI_SUCCESS 14:45:33.847
    I cannot see any GPIB command in the trace but some IviDCPwr functions.
    Besides, if I know any bug (eg. some wrong GPIB command) in ividcpwr.dll, how can I modify it before I get it's source code.
    Pls teach me anytime in your conveneince.
    thanks!

Maybe you are looking for

  • Recovery of Win 8.1 on HP 15-r151nr

    Hi! I have notebook HP 15-r151nr My notebook has a pre-installed Windows 8.1 single language OEM But I re-install Windows 7 on my notebook. GPT (or MBR) was replaced and recovery partition was deleted. But then I was need Windows 8.1 again. I have in

  • All elements flow (remotely) when you update a page. What shall I do?

    I will try to document exactly what I am trying to complete in Muse. I have a single master upon which all pages have been built and until now without any problems. I am running v1.1, Build 960, CL768344 - AIR Runtime 3.2.0.2060. On my fron page I ha

  • MRP - Assigned RFQ

    Hi All, I have a material suppose 'x'. There is one RFQ already created for this material. Now based on the daily MRP run, it creates a PR for this material and automatically deletes the req on the same day. I checked the stock, it is 1. Safety stock

  • I got an Australian Iphone 4s which I'll be using in Norway. Why won't my SIM Card validate?

    I got an Iphone 4s from Australia to Norway (Northern Europe). My SIM card works, but my Iphone will not validate my SIM card. The cellphone was bought for 400 AUD. No SIM card was in the pack, so I take it it isn't locked. Why won't my Iphone 4s val

  • CFFTP Usage

    I am trying to utlitize cfftp in the following scenario: 1. user logs into our website. 2. user clicks link to .cfm template which uses cfftp to display contents of their personal directory (located on our ftp server, which is a different physical ma