IVI-C in TestStand

Hello,
at the moment Im using the evauation version of TestStand 4.0 if it suits my demands. I have seen in the "Insertion Palette" the IVI-C steps. Whith them it should be possible to connect to a DMM or Scope or...
So i installed the  IVI Compliance Package and the driver for my device "hp34401a". But how can I configure the driver with the right device address? In the documentation and help files i read that MAX is nescessary, where can i get this from?
 Frank
(i just have TestStand installed no LabView or LabWindows or Measurement Studio)
Solved!
Go to Solution.

You should see an Icon on your desktop called "Measurement & Automation". this is the shortcut for MAX
Regards
Ray Farmer
Regards
Ray Farmer

Similar Messages

  • Who can help me using IVI powersupply in Teststand!

    Hi there,
    I'm newly in working with Teststand and IVI drivers and
    have a little simple question.
    I have a step to configure the powersupply.
    The logical name is "SamplePowerSupply", the operation
    is "configure". If I change to the "Validate IVI Configuration" form, uncheck the simulate checkbox
    and press the button "Init" I get the following errormessage:
    ....returned an error: -1073807343 ... Insufficient location information or the requested device or resource is not present in the system (-31619).
    But in MAX I see my powersupply and it seems to work correct.
    Thanks for any answer !!
    Mr.Pe

    Some IVI drivers are designed to work in simulation mode, that is, the virtual instrument can be defined in MAX but no physical instrument is necessary to use the "instrument". If you turn off the simulate checkbox on the validate dialog box, TestStand will create the instrument session without simulation and the driver will attempt to talk to a physical instrument. If no physical instrument definition is available or if the address defined for that virtual instrument is incorrect, the above error can occur.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Agilent 34980A simulation using IVI-drivers in Teststand?

    Hello! I am unable to simulate 34980A in TestStand and here are some results based on testing:
    Agilent 34980A is linked to logical name SampleDmm. Simulate With: Specific Driver.
    IviStepTypes.seq used with only DMM and Switch steps.
    Using IviDMM IVI-C causes runtime-error in Ivi DMM Configure Single Point: Component Works IVI Control Error: The IVI Configure operation failed for logical name 'SampleDmm'. Details: Extension capability not supported by instrument driver.  (Base)
    Using IviDMM IVI-COM causes runtime-error in Ivi DMM Read Single Point: Component Works IVI Control Error: The IVI Read operation failed for logical name 'SampleDmm'. Details: Attribute ID not recognized. [IVI Error Code:  BFFA000C] Source: TSIviStepTypes
    Skipping Ivi DMM SFP -step removes that error but next one waits in Ivi DMM Configure Multi Point: Component Works IVI Control Error: The IVI Configure operation failed for logical name 'SampleDmm'. Details: Attribute or property not supported. [IVI Error Code:  BFFA0012] Source: TSIviStepTypes
    Skipping multi point steps helps until Ivi Switch Connect where another error hits: Component Works IVI Control Error: The Connect operation failed for logical name 'SampleDmm'. Details: No path was found between the two channels. [IVI Error Code:  BFFA2011] Source: TSIviStepTypes
    I find some similarities in forum post that involves HP 34401A and IVI .
    According to IVI-C Class Driver Support for IVI-COM Specific Drivers the fault might be in 64 bit system (the note in the end). Is this the case? I can't use IVI-COM-drivers in 64bit system?
    Example's default DMM Hewlett-Packard 34401A Digital Multimeter simulation works perfectly in unmodified example(it has IVI-C). It even shows simulated numbers in the SFP which is zero all the time with Agilent.
    Has anyone succeeded to simulate 34980A properly in TestStand? Any knowledge about how to solve this thing? Any help is welcome. Thank you.
    Setup:
    -Teststand 5.1
    -Windows 7 64bit
    -IVI shared components 2.2.1
    -Visa shared components 1.5 64bit
    -Agilent IO libraries suite 16.3 Update 1
    -Agilent 34980A IVI Driver 1.5.3
    -MAX/Agilent 34980A published APIs:
        -IviDmm 4.1 IVI-COM (IVI-C tried with less success)
        -IviSwtch 4.0 IVI-C & IVI-COM

    Some IVI drivers are designed to work in simulation mode, that is, the virtual instrument can be defined in MAX but no physical instrument is necessary to use the "instrument". If you turn off the simulate checkbox on the validate dialog box, TestStand will create the instrument session without simulation and the driver will attempt to talk to a physical instrument. If no physical instrument definition is available or if the address defined for that virtual instrument is incorrect, the above error can occur.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Using Offset Compensated Ohms from IVI DMM in TestStand

    I am using TestStand 3.5 with a PXI-4070 DMM and I want to be able to use the Offset Compensated Ohms function from the TestStand IVI-C DMM steps.  I cannot find this functionality from the TestStand step, even though it is shown on the front panel of the Soft Front Panel DMM, and is stated as a IVI function.
    Anybody with any ideas would be greatly appreciated.
    A.

    Good afternoon A,
    The Offset Compensated Ohms function that you are looking for is more
    specialized than what the IVI driver has to offer.  Instead of
    using IVI DMM, try NI-DMM.  This is a free download off our
    website, which can be found here:
    NI-DMM version 2.5 for Windows 2000/XP--LabVIEW Real-Time
    http://digital.ni.com/softlib.nsf/websearch/1F1A167276498327862570AC005199D5
    Regards,
    Mike Torba
    National Instruments

  • Got 17300 error when execute IVI step in TestStand

    Hi all
    This is a PCBA test platform,, a 4072 card is used for two sockets, I locked the DMM blocks in order to have just a socket access it at same time.
    but the DMM read step type still often has 17300 error, value invalid or out of range, if run only one socket, did not see same problem.
    Confused on this.
    *The best Chinese farmer*
    Attachments:
    dmmerror.JPG ‏153 KB

    Hi Farmer
    The DMM is configed to immediately trigger mode, see attachment, according to the help, immediate means DMM dose not wait for any trigger signal, just read it as soon as the "Read DMM" running.
    帖子被paulbin在09-12-2007 10:17 PM时编辑过了
    帖子被paulbin在09-12-2007 10:27 PM时编辑过了
    *The best Chinese farmer*
    Attachments:
    DMMConfigWindow.PNG ‏55 KB

  • NI-FGEN Problems in TestStand using IVI Calls

    Hello:
    I have a problem. When using a 5411 under TesStand, making IVI calls the 5411 O/P is distorted when I configure it to O/P a simple Waveform ( 1.544 MHz, 5Vp-p 0V DC Offset). The same setup using either a CVI application utilizing the function panel or the soft front panel yields a fantastic O/P. If I can not make IVI calls from TestStand then what is the use?
    Help.... Very fruntrared and on a deadline
    cheers...

    Hello Craig -
    I've quickly looked over the CVI IVIclass demos including the quick bit of Fgen code, if you run this project and monitor the output in MAX you are seeing good results? If so, yes I'd check the settings in your IVI steps in TestStand. (If you haven't seen it yet try \CVI\samples\iviclass\fgen.prj)
    CVI also ships with function-by-function class help files which on my machine are located at C:\vxipnp\winnt\niivi\Help, I point this out since the demo sequence for IVI in TestStand makes a direct DLL call to set up the soft front panel as a non-interactive window... there are a few other cases where features of the driver are not accessible just by editing the step properties, but that is across the board, so again if it worked in CVI it should work here.
    I'm going to attach a quick little TestStand sequence (written for TS 2.0.1f1 the current release) to this project as a way of you just loosely troubleshooting, all it will do is launch the soft front panel and use the controls to try and set up your waveform... Try it once with the simulated instrument, or just go straight to altering the FileGlobal variable to point to your logical name and tell me if you get better or worse response?
    To alter the internals of the call to hardware right-click on the second step and choose 'edit Fgen'... you may want to examine your clock, the channel settings and extensions to make sure anything you configured in your code is configured here... The only thing I am still unsure of is whether you were using the default sine waves or if you were definining something arbritrary, the 5411 does have the ability to set sample counts/ waveform size /sampling rate. You may want to try setting your Arb SampleRate higher, or fall back on a quick DLL call to set some attributes manually if you can't access them any other way.
    You can use the IVI operation "get Information" on a particular logical name to aquire the current/default settings of your instrument.
    Below is some text I extracted from a LabVIEW example (I don't know how useful the actual code will be, but perhaps this is the cause of your undersampled data?) Jitter can also be a symptom of undersampling. I will try and check with the hardware team for you and post if I have any other ideas...
    -Regards
    Elaine R.
    National Instruments
    http://www.ni.com/ask
    --Extracted from an example "Generating Segments of Larger Waveforms with the NI 5411" --
    >>To set up sample counts, pass the array of sample counts you want to use to create a new arbitrary sequence. The array must have at least as many elements as the value you specify in the Sequence Length parameter. Each Sample Counts array element corresponds to a Waveform Handles array element and indicates how many samples of the given waveform to generate. Each element of the Sample Count array must be larger then the minimum waveform size and a multiple of the waveform quantum. You can obtain these values by calling niFgenQueryArbWfmCapabilities.
    For the NI 5411, you can use a minimum of 256 Sample Counts, with a quantum of 8, which is the same as creating a waveform for the NI 5411. The other restriction is that you cannot use a number greater than the number of samples in the waveform.
    In terms of use, the NI 5411 only generates the number of samples that are indicated by the Sample Count number regardless of how many actual samples are in the waveform array downloaded to the NI 5411.
    Attachments:
    fgen.seq ‏50 KB

  • Integrate IVI in TestStand

    Hi,
       I've download form the website from Xantrex the LV drivers for those power supplies (I attach them). Is it possible to create an IVI driver for TestStand 3.1 with all those VIs? How can I manage it? Is ther some documentation on the web about this?
    Thanks in advance,
    Angel
    Attachments:
    XantrexDrivers.zip ‏1915 KB

    You have to first configure MAX to use the specific driver you downloaded. I've got MAX 4.1 and when you open it, one of the options on the right side of the screen is "Configure my IVI Instrument Drivers". Follow the directions there and once that is done, you can use the IVI step in TestStand.

  • Failed to acquire a wave using ivi dmm step with a FlexDMM NI-4070

    I tried to acquire wave with a FlexDMM NI_4070 and a Read Multipoint ivi step from TestStand, it didn't went thru. Configuration step is: DC volts, 0.01 resolution, immediate trigger source, auto once range mode, 0 trigger delay, 100 multipiont sample count, 10 sample interval, 1 trigger count, interval sample trigger, none meas complete dest; Read step is: wave data type, Step.Result.Reading meas dest, 5000 time out, "failed" status on time out. What I get is failed status due time out.

    Try setting your Timeout to 30000. The Timeout is in milliseconds, while the Sample Interval on the Advanced tab of the Configure step is in seconds. You have this interval set to 10. Setting your timeout to 30 seconds will give your Read operation time to complete.
    Regards,
    Eric M.

  • Ivi problems with niscope

    I am trying to use a NI-5112 digitizer utilizing IVI from within TestStand 2 and get the following Error:
    Error executing substep 'Post'.
    An exception occurred calling 'RunStep' in 'ISubstep' of 'TestStand Ivi Step Types 1.0 Type Library'
    An error occurred while executing the step.
    Component Works IVI Control Error: The IVI Init operation failed for logical name 'niScope'.
    Details: Session Manager: niScope_InitWithOptions returned an error: -1074118622 (0xbffa4022). Unknown status value 0xBFFA4022 Primary Error Code: -1074135028.
    Source: TSIviStepTypes
    -31619; User-defined error code.
    Step 'Ivi Scope' of sequence 'MainSequence' in 'IVItest.seq'
    I do not get this error when i try using mu niFGEN IVI instrument. My soft front pa
    nles all seem to work.
    Help!

    Craig,
    Please click on the following link to view my reply.
    IVI problems with NIScope

  • Chroma 62000 IVI init.

    In the early stages of development for an automated test fixture using Chroma IVI drivers with TestStand 2014.  I've used IVI previously with DMM and Scope so I am somewhat familiar but am no expert.   When attempting to run a short sequence, using the IVI set steps, I get the following error:
    "The IVI Init operation failed for logical name 'chr62000'.
    Details: Session Manager: Could not find function 'IviDcpwr_init' in DLL (or external module) 'IviDcpwr.dll'."
    Basically, I'm stuck at this point.   Driver sessions and logical names have been deleted and recreated several times.   no luck.
    Any thought?   Thanks

    In the TestStand public directory there is a decent example at Examples >> Built-In Step Types >> IVI Step Types although it sounds like you're familiar from experience with DMM and Scope.  What is this Chroma 62000 driver and where did it come from?
    Michael K.

  • Make IVI drivers from LAB VIEW drivers

    Hello,
    I have some questions about IVI drivers and Teststand.
    how can I make the interface between teststand and the IVI drivers. Or
    how can I import the IVI drivers in teststand, so that I can use them
    kind regards
    samuel

    Hi,
    You can use the LabVIEW adapter to call the instrument driver VI's direct. Use the Action Step Type to perform the configuring and one of the Test Step Types (Pass/Fail, Numeric Limit Step Types) when acquiring a reading.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Utilisatio​n d'un analyseur de spetre sous teststand 3.1

    Bonjour à tous,
    Alors voila mon probléme :
    Je travails actuellement sur une baie de test automatisée utilisant Teststant pour séquencer le test et dialoguer avec les différents appareils.
    Jusqu'ici tout va trés bien. Nous souhaitons intégrer un analyseur de spectre sur cette baie.
    Aussi nous décidons de réaliser sur un portable l'intégration de cet analyseur avant de l'intégrer sur la baie de test.
    Installation des drivers IVI Compliance package 4..2 et le nouveau MAX et Teststand 3.1.
    Je configures, me semble t'il, correctement l'analyseur (AEROFLEX IFR 2399C), il est vu par le MAX mais sous teststand, dans la partie IVI, je ne retrouves que les "vieux" driver IVI : DMM, POWER SUPPLY, FGEN.....mais pas de IVI SpecAn.
    Je suis plus qu'embéter car comment faire pour utiliser cet analyseur si je ne retrouves pas le  IVI SpecAN sous teststand ?
    Merci d'avance de votre aide
    ++

    Bonjour,
    En cherchant dans la doc, il semblerait que TestStand ne fournisse qu'un nombre limité de steps IVI, et ne soit pas directement impacté par 'installation de IVI Compliance Package.
    IVI Step Types for TestStand
    Ce qui expliquerait que vous ne trouvez pas la class SpecAn dans les steps proposés.
    En revanche, j'imagine qu'il est possible de créer ses propres steps IVI pour la classe qui vous intéresse, mais je ne saurais vous guider sur le comment.
    Bonne chance.
    Olivier L. | Certified LabVIEW Developer

  • Dialoguer avec un instrument sous teststand en utilisant le driver.dll

    Bonjour à tous,
    Alors dans un précédent post j'ai essayé de récupérer le pas IVI SpecAn sous teststand----> Pas possible
    Donc nouvelle solution :
    Je veux dialoguer avec mon analyseur de spectre sous teststand
              - Configuer sous le MAX GPIB0::7::INSTR  OK
              - les commandes sous MAX passe bien et l'analyseur répond aux instruction basiques.
    Je passes sous teststand, utilise le driver aéroflex pour l'IFR2399C et le sélectionne.
    Je lances une commande INIT, visualise via NI spy qu'une commande passe via le port GPIB mais l'appareil ne la prends pas en compte.
    En fait commant Teststand peut il savoir vers quel instrument j'envoi ma commande ? A aucun moment je ne passes le paramétre d'adresse ou autre ??????
    Je penses que mon probléme vient de la mais ne sait pas déterminer comment passer le paramétre d'adresse.
    PS : J'ai mis en PJ une vue du driver sous teststand (Ne pas prendre en compte les paramétres inscrits)
    Merci d'avance pour votre aide
    Pièces jointes :
    Sans titre.JPG ‏115 KB

    Bonjour,
    Pour moi, il faut obtenir un "instrumentHandle" (du même nom que le dernier paramètres) avant de faire votre initialisation.
    En général c'est ce genre de fonction ou on passe l'adresse GPIB de l'instrument.
    Dans votre cas vous pointez vers l'adresse 19200 en mémoire qui doit contenir une certaine valeur qui ne correpond pas à une adresse d'un matériel branché sur le bus GPIB.
    Essayez de voir si une fonction de connection est disponible (Connect(), GetHandle(), etc).
    Cordialement,
    Da Helmut

  • Session Manager Problem

    Hello,
    after creating some IVI Drivers I wanted to create an IVI Steptype for Teststand 4.2.0. After searching, I found the Session manager which was created to simplify management of different kind of sessions (IVI, VISA..) in Teststand. Unfortunately I'm not able to find any helpful documentation (except the "NI Session Manager Help") describing in which way the session manager initializes a session. The example shipped with Teststand uses different functions than described in the help file (& function panel). Here is a snippet which describes my problem:
    <<....>>
    SMObj_IInstrSession session = 0;
    CAObjHandle smSession = 0;
    long instrHandle = 0;
    char * logicalName = 0;
    SM_NewIInstrSessionMgr(NULL, 1, LOCALE_NEUTRAL, 0, &smSession);
    SM_IInstrSessionMgrGetInstrSession (smSession, NULL, logicalName, VTRUE, &session);
    //SM_IInstrSessionInitialize(session, NULL, "") ); //not necessary, getHandle intializes session
    SM_IInstrSessionGetHandle(session, NULL, SMConst_SpecificDriver, &instrHandle);
    <<....>>
    If I try to call a IVI High Level Function I'll get a "A connection to the instrument has not been initialized" error.
    The IVI Driver is initialized, because the init Function is executed and the SM_IInstrSessionGetStateDescription(...) function also displays that the session is initialized. Anyone has an idea why this happens?
    I have used the driver several times in Teststand without any problems and the settings in MAX are also correct. I'm using LabWindows 8.1.
    Thanks in advance
    7even

    Example is from the Teststand Directory ("TestStand 4.2\Examples\SessionMgr"). I have now changed some lines in my code. It is exactly the same way the example shows:
    __declspec(dllexport) void _stdcall ExecutePMIStep(CAObjHandle context)
    ERRORINFO errorInfo;
    ErrMsg errMsg = "";
    int error = 0;
    CAObjHandle step = 0;
    CAObjHandle engine = 0;
    char * logicalName = "TestSession";
    ViSession handle;
    CAObjHandle session = 0;
    tsErrChk( TS_SeqContextGetEngine (context, &errorInfo, &engine)); //Get Teststandengine
    tsErrChk( TS_SeqContextGetStep (context, &errorInfo, &step)); //Get Step
    tsErrChk( SM_GetSession(logicalName, &session, &errorInfo));
    tsErrChk( SM_GetHandle (session, NULL, SMConst_ClassDriver,
    &handle, &errorInfo));
    errChk( IOLMClass_SetMode(handle, 1, 23) ); //Custom Class Driver
    Error:
    If I execute these lines I'll get a "BFFA1190 The session handle is not valid. " error.

  • Reading frequency from a 4070 DMM

    I wish to measure the frequency of a swept sinewave. Using a ni4070 and a Ivi step in TestStand takes about 2 seconds which means that it is too slow to read the frequency of the ramping sinewave at a specific point during the ramp.
    How can this frequency measurement be speeded up?

    Hi Steve,
    I would suggest writing a LabVIEW VI to take the measurements you require and then call that from TestStand.
    Best regards,
    John
    John.P | Certified LabVIEW Architect | NI Alliance Member

Maybe you are looking for

  • Ipod touch no longer working with isimple device?

    I have a 4th gen Ipod touch that was working just fine with my isimple device in my vehicle until I believe I updated the ipod to the latest firmware. I now recieve a message saying device is not compatible with Ipod, Is there anyway I can rollback t

  • To save PO item text at the time of creation

    Hello Friends, I have a requirement to save PO item text while creating from ME21N.... I need to display the Material Classification(particular characteristics) data in the po Item text.. I have done my coding in the particular User exit.... i am get

  • Can't Install Lightroom 2 on OS 10.8

    It almost finishes the installation on my new iMac, but then quits with a critical error at the end. Is there a patch/fix?

  • Will Soundtrack Pro allow me to master multi-track audio CD?

    Please help! I have been looking for the past 4 days for a multi-track audio editing software that will allow me to burn multiple tracks to a CD. Here's what I'm trying to do: I have a 45 minute message and I want to fade a song in at the beginning,

  • Automatically show number of pages in PDF on first (general) page?

    I want to have a field at my first page of pdf document which automatically shows how many pages are there in document. Is that possible, if yes, how? i know i can have number of pages in header, but I need special field inside body of my first (gene