IVI-COM Action

13
IVI-COM Action TestExec SL Training Sequences, Multithreading & IVI-COM 1

description

IVI Driver = Interchangeable Instruments Driver

Transcript of IVI-COM Action

Page 1: IVI-COM Action

IVI-COM Action

TestExec SL Training Sequences, Multithreading & IVI-COM

1

Page 2: IVI-COM Action

IVI Driver

IVI Driver = Interchangeable Instruments Driver

Benefits Hardware interchangeability Software interoperability Ease of use

Main IVI Drivers IVI-C IVI-COM Test Application

Vendor A

Obsolete

Vendor B

TestExec SL Training Sequences, Multithreading & IVI-COM

2

Presenter
Presentation Notes
Instrument driver = a set of software routines that control a programmable instrument. E.g: Configuring, writing to, reading from, triggering the instrument Why using Instrument Driver? eliminate the need to learn the programming protocol for each instrument. VXI Plug&Play does not have common programming interface Consistency, ease of use, quality, simulation, range checking, state caching, interchangeability
Page 3: IVI-COM Action

Accessing IVI Driver

*Download from IVI Foundation webpage

TestExec SL Training Sequences, Multithreading & IVI-COM

3

Page 4: IVI-COM Action

Why Introduce IVI in TestExec SL?

Venturi 2 Venturi S3 GPIB instruments / VXI cards LXI instruments / PXI cards SCPI commands SCPI commands / IVI drivers Supported by action “msginstXXX” No SCPI commands for PXI cards

TestExec SL Training Sequences, Multithreading & IVI-COM

4

Page 5: IVI-COM Action

Setting the System.ust File

Launch TestExec SL 7.1.2

system.ust

hwhIVI.dll Path: C:\Program Files (x86)\Agilent\TestExec SL 7.1\Bin

Auto generated and will be saved to IviConfigurationStore.xml

Software Modules are read from IviConfigurationStore.xml

1

2

3

4 5

6

7

TestExec SL Training Sequences, Multithreading & IVI-COM

5

Page 6: IVI-COM Action

Creating IVI-COM Action

1

2

3

4 5

6

hwhIVI.dll

7

8

TestExec SL Training Sequences, Multithreading & IVI-COM

6

Notice that there is no parameter for instrument. The instrument parameter is located at lifetime tab with parameter name “Instance Reference”.

Page 7: IVI-COM Action

IVI Class Driver vs IVI Specific Driver

IVI Class Driver

IVI Specific Driver

TestExec SL Training Sequences, Multithreading & IVI-COM

7

MyDMMVoltMeas MyDMMVoltMeas

M918x Child Assembly specific to PXI DMM

DMM Child Assembly generic to all DMM

DMM Class name generic to all DMM

M918x Class Name specific to PXI DMM and only for DC Voltage measurement

Page 8: IVI-COM Action

Class or Interface?

TestExec SL Training Sequences, Multithreading & IVI-COM

8

Page 9: IVI-COM Action

IVI-COM Action Inside a testplan

TestExec SL Training Sequences, Multithreading & IVI-COM

9

Page 10: IVI-COM Action

Lab 5: Create IVI-COM Actions

TestExec SL Training Sequences, Multithreading & IVI-COM

10

Page 11: IVI-COM Action

IVI Migration Editor

Migrates logical names, driver sessions and hardware assets

Only migrates IVI Data which uses IVI-COM driver and that driver must exists in the destination file

Located in C:\Program Files (x86)\Agilent\TestExec SL 7.1\Bin\txslivimigrated.exe

TestExec SL Training Sequences, Multithreading & IVI-COM

11

Page 12: IVI-COM Action

Lab 6: Running IVI Migration Editor

TestExec SL Training Sequences, Multithreading & IVI-COM

12

Page 13: IVI-COM Action

Limitation

Switching modules with IVI-COM is not fully integrated

Cannot be used with IVI-COM with more than 2 classes (eg Agilent E3631A power supply)

TestExec SL Training Sequences, Multithreading & IVI-COM

13