Interchangeable Virtual Instruments Foundation IVI Foundation Delivering Interchangeability and More AUTOTESTCON 2008 Salt Lake City, Utah September 2008
Interchangeable Virtual Instruments Foundation
IVI FoundationDelivering Interchangeability and More
AUTOTESTCON 2008Salt Lake City, UtahSeptember 2008
IVIFoundation.org
Agenda
Goals, User and Member BenefitsIVI ArchitectureSpecificationsExamplesContinuing EffortsQuestions and Open Discussion
2
IVI Foundation OverviewOpen consortium
End-usersSystem integratorsInstrument and software vendors
Founded in August 1998, incorporated in March 200132 member companiesConsolidated home for many SW standards
IVI Instrument DriversVXIplug&playSCPILXI SynchronizationSynthetic Instruments
IVIFoundation.org 3
4IVIFoundation.org
User Problem
“Test systems are difficult and expensive to develop and maintain”
5IVIFoundation.org
IVI Solution
IVI instrument drivers define a new level of…quality,completeness,usability,and functionality
that reduces the cost of test system development and ownership
6IVIFoundation.org
IVI Solution
IVI driverssimplify upgrading or replacing
componentsin complex test systems intended to be
used over a long period of time
IVI Classes
Current ClassesDMMScopeSwitchFunction GeneratorRF Signal GeneratorDC Power SupplyPower MeterSpectrum Analyzer
7IVIFoundation.org
IVIFoundation.org
User BenefitsHardware Interchangeability – Protect test software investment and reduce lifecycle costs with instrument interchangeabilitySoftware Interoperability – Leverage software between common programming environments, ease multi-vendor software integration and enhance maintainabilityReduced Test Development Effort – Additional features such as instrument I/O simulation make building test systems easier.Quality – Improved performance and consistency
8
IVI Member BenefitsInfluence the development of instrument class standards Participate in and access future architectural standards Share ideas with developers, users, system integrators and vendors Access source code for shared components Participate in interoperability sessions Network with test and measurement industry leaders
IVIFoundation.org 9
10IVIFoundation.org
IVI SpecificationsUser Application Test Program
VB – LabVIEW – C/C++/C# – etc.User Application Test Program
VB – LabVIEW – C/C++/C# – etc.
IVI (C or COM)
Custom Specific Driver
IVI (C or COM)
Custom Specific Driver
IVI-C Class Driver
IVI-C Class Driver
IVI-C Class Compliant
Specific Driver
IVI-C Class Compliant
Specific Driver
IVI-COM Class
Compliant Specific Driver &
Class Interface
IVI-COM Class
Compliant Specific Driver &
Class Interface
I/O LibraryI/O Library
Instrumentation HardwareInstrumentation Hardware
IVI-SpecifiedDrivers & Interfaces
11IVIFoundation.org
IVI ArchitectureUser Application Test Program
VB – LabVIEW – C/C++/C# – etc.User Application Test Program
VB – LabVIEW – C/C++/C# – etc.
IVI (C or COM)
Custom Specific Driver
IVI (C or COM)
Custom Specific Driver
IVI-C Class Driver
IVI-C Class Driver
IVI-C Class Compliant
Specific Driver
IVI-C Class Compliant
Specific Driver
IVI-COM Class
Compliant Specific Driver &
Class Interface
IVI-COM Class
Compliant Specific Driver &
Class Interface
I/O LibraryI/O Library
Instrumentation HardwareInstrumentation Hardware
IVIConfigServer
COMSessionFactory
Setup & Maintenance Application
Setup & Maintenance Application
IVI Specified
C SharedComponents
IVI-C and IVI-COM Architectures
Two different API technologies supported by IVIMany environments can use IVI-C and IVI-COMChoose the one that works best in your ADE
IVI-C for LabVIEW, LabWindows/CVI, C/C++IVI-COM for Visual Studio .NET/C++
IVI standard is for Microsoft Windows only
12IVIFoundation.org
13IVIFoundation.org
IVI Foundation Working Groups
To achieve desired benefits, working groups in two focus areas
Architecture and technology specificationsInstrument class specifications
14IVIFoundation.org
IVI Foundation Working Groups Architecture & Technology Specifications
Spec # Spec NameIVI-3.1 Driver architecture specificationIVI-3.2 Inherent capabilities specificationIVI-3.3 Standard cross-class capabilities specificationIVI-3.4 API style guideIVI-3.5 Configuration server specificationIVI-3.6 COM session factory specificationIVI-3.9 C shared components specificationIVI-3.10 Measurement and stimulus subsystems specificationIVI-3.12 Floating-point services specificationIVI-3.14 PrimaryInterop Assembly SpecificationIVI-3.15 IviLxiSync SpecificationIVI-5.0 Glossary
IVIFoundation.org
IVI Foundation Working Groups Instrument Class SpecificationsSpec # Spec NameIVI-4.1 Oscilloscope class specificationIVI-4.2 DMM class specificationIVI-4.3 Function generator/Arb class specificationIVI-4.4 DC power supply class specificationIVI-4.6 Switch class specificationIVI-4.7 Power meter class specificationIVI-4.8 Spectrum analyzer class specificationIVI-4.10 RF signal generator class specification
15
IVI Shared Components
C Shared ComponentsFloating Point ServicesIVI-COM Session FactoryConfiguration ServerCOM Type Libraries.NET PIAs
IVIFoundation.org 16
17IVIFoundation.org
IVI Benefits
Instrument simulationImproved system performanceEase of use & higher qualityAND interchangeability
18IVIFoundation.org
Benefits Instrument Simulation
Develop and test code without instrument
Configuration steps accepted by driverDriver returns driver defined results
Reduces HW investment during development
19IVIFoundation.org
Benefits Improved System Performance
Thread-safe design enables multi-threaded executionAPI design includes properties for fast accessState caching minimizes redundant I/O transactions
Set Volts/Div = 0.5
20IVIFoundation.org
Benefits Ease of Use & Higher Quality
Driver quality and consistencyInstrument driver APIsInstallation and un-installation requirementsStandard system configuration components
Shared components common codeEase of use
Easy to learn driver paradigmKnowledge transfers to other drivers
IVI Features – Interchangeability
Swap hardware between:
Instrument manufacturer(e.g., NI™ and Agilent)
Communication bus(e.g., GPIB and PXI™)
Test Program(LabVIEW™, MeasurementStudio™, etc. )
Fluke 45 or NI 4060
DMM Class Driver
21IVIFoundation.org
IVI Features – InterchangeabilityProtect software investment when hardware needs to be replaced
Prevent downtime when repairing equipment
Share software between users of different hardware
Test Program(LabVIEW™, MeasurementStudio™, etc. )
Fluke 45 or NI 4060
DMM Class Driver
22IVIFoundation.org
IVI Configuration Associate Logical Names with Drivers and Hardware
23IVIFoundation.org
24IVIFoundation.org
IVI Getting Started Guide
Practical examples with step-by-step instructionsDemonstrates ease of use in major ADEs
Developed by experts in these environments
Using IVI Drivers in C
25IVIFoundation.org
Using IVI Drivers in LabVIEW
26IVIFoundation.org
Using IVI Drivers in LabVIEW (cont.)Use property nodes to access low-level attributes
27IVIFoundation.org
Class Driver vs. Specific DriverClass Specific
General One driver per class One driver per instrument or family of instruments
Features • Class simulation• Interchangeability
• Caching• Simulation• Multithreading
Example Functions
• IviFgen_init• IviDmm_Read
• Agilent 33120: hp33120a_init• NI 4072: niDmm_Read
IVIFoundation.org
Class Driver vs. Specific Driver
Specific
Class
29IVIFoundation.org
Class and Specific Drivers Together
Primarily use Class functions, but use Specific functions when needed
Reduces interchangeability of application
30IVIFoundation.org
IVI-COM and IVI-C in LabVIEW
31IVIFoundation.org
IVIFoundation.org
Specs Under DevelopmentClass specifications
Frequency Translation Data Conversion AC Power SupplyCounter Timer
Architecture and technology specifications.NET architecture for IVIWindows Vista and 64-bit support
32
Additional InformationFor more information or to join:
IVI Foundation Corporate Office Bob Helsel, Director of ServicesIVI Foundation PO Box 1016Niwot, CO 80544-1016
Web: www.ivifoundation.orgAdditional Resources:
IVI Overview Tri-fold:http://www.ivifoundation.org/docs/IVI_TriFold_Brochure_Final.pdf
IVI Getting Started Guide: http://www.ivifoundation.org/downloads/IVI_GSG_v_1.0.pdf
IVIFoundation.org 33