Introducing the LXI Interface

Similar documents
LAN extensions for Instrumentation. The LXI Primer. Version 1.1

Using Measurement Studio GPIB to Accelerate Development with Visual Basic

Introduction to Automating Standalone Instruments

Software-Defined Test Fundamentals. Understanding the Architecture of Modular, High-Performance Test Systems

This document provides additional information for the installation and use of the Keithley I/O Layer.

Faster Time to Measurement Advances in LabVIEW Instrument Control

IVI. Interchangeable Virtual Instruments. IVI-5.0: Glossary. IVI Foundation 1 IVI-5: Glossary. June 7, 2016 Edition Revision 1.1

Introduction. 1.1 Included in this release

Agilent Technologies. Connectivity Guide. USB/LAN/GPIB Interfaces. Agilent Technologies

IVI Instrument Driver Programming Guide. (Setup Edition) June 2012 Revision IVI Instrument Driver Overview. 1-1 IVI-C vs.

With respect to the National Instruments software product(s) being used, the following patents may apply:

LXI Reference Design Overview

Keithley Instruments ExceLINX-3A ExceLINX software for the Model 2000 Release Note for Version C02 3/26/2015

Systems Alliance. VPP-2: System Frameworks Specification

Systems Alliance. VPP-2: System Frameworks Specification

R&S LXI Class C Support V1.21 (XP)

System Developer Guide

The hardware implementation of PXI/PXIe consists of a chassis, controller or computer interface, and peripheral cards.

Getting Started with IVI Drivers

Tektronix OpenChoice Software Release Notes (TekVISA V3.3.7)

*********************** **** Read Me First **** *********************** Version October 30th, 2009

LXI Developers Track - Implementing the LAN & Web Specification

LabWindows /CVI Using the Latest ANSI C Tools for High-Performance Automated Test

VISA, SICL, VISA COM,

NI-VISA for Windows 3.x WIN and GWIN Frameworks. The VXIplug&play software kit contains the following software and documentation components.

DATA SHEET. VEE Pro 9.33

Model 707B / 708B Switching Matrix Mainframe Specifications Model 707B Six Slots with Fixed Rack Model 708B Single Slot with Fixed Rack

VXI/VME-PCI8000 SERIES

GFT6084 Quad 2 / 4GS Digitizer

Automated Test Equipments

Keysight Technologies IO Libraries Suite 2019 DATA SHEET

IVI Introduction. Autotestcon 2016

Keysight Technologies VEE Pro 9.32

IVI Instrument Driver Programming Guide. (LabVIEW Edition) June 2012 Revision Overview. 1-1 Recommendation Of IVI-C Driver

Getting Started With LXI

Bitter, Rick et al "Drivers" LabVIEW Advanced Programming Techinques Boca Raton: CRC Press LLC,2001

LXI Conformance Testing Lynn Wheelwright

Integrating VISA, IVI and ATEasy to Migrate Legacy Test Systems

APPLICATION BULLETIN ICS ICS. ELECTRONICS division of Systems West Inc. VXI-11 TUTORIAL and RPC Programming Guide AB80-11 INTRODUCTION

VXIPC 800/700 SERIES FOR WINDOWS 95/NT

Hardware: Acquiring Data and Communicating with Instruments

Systems Alliance. VPP-3.2: Instrument Driver Functional Body Specification. Revision 5.1

Getting Started with IVI Drivers

NI-ModInst Help Contents Index Search

CSA8000 & TDS8000 Instruments CSA8000B & TDS8000B Instruments Using National Instruments LabVIEW

LabVIEW Basics I: Introduction Course

Evaluating a Test Executive

Tools for Developing LXI Systems

LXI Day. Sponsored by

Systems Alliance. VPP-1: Charter Document

Getting Started with IVI Drivers

Table of Contents. Pickering Instruments IVI Driver Help... 1 Contents... 1 Getting Started... 3 Introduction... 3 Essential Functions... 4 LXI...

IVI-3.1: Driver Architecture Specification

Giga-tronics ASCOR Series 8000 Switch

APPLICATION BULLETIN ICS ICS. ELECTRONICS division of Systems West Inc. FREQUENTLY ASKED QUESTIONS (FAQ) FOR ICS's 488.2V4 CONTROLLER LIBRARY AB48-43

IVI-3.1: Driver Architecture Specification

Test and Measurement Product Catalog. ZTEC Instruments. The Leader in Modular Oscilloscopes

Developing Networked Data Acquisition Systems with NI-DAQ

The IVI Driver Standards

Measurement Studio LabWindows/CVI Instrument Driver Developers Guide

Tektronix Bench Instruments PC Connectivity Installation Manual

Racal Instruments 1256L Switching System

Understanding the Benefits of IVI. Kirk G. Fertitta, Pacific Mindworks

How to communicate with instruments that support GPIB. Gianfranco Miele, Ph.D

DT8824 High Stability, High Accuracy, Ethernet Instrument Module

Integration of Software Technologies into a Test System

Systems Alliance. VPP-7: Soft Front Panel Specification. Revision 4.2

Keithley Instruments ExceLINX-2A ExceLINX software for the Model 6485,6487 and 6514 Release Note for Version C04 9/4/2013

SCPI-Recorder. Test Automation at Your Fingertips Application Note. Products: R&S SMW200A R&S SMA100B

Acquiring Data from Sensors and Instruments Using MATLAB

The PXI Modular Instrumentation Architecture

IVI Instrument Driver Programming Guide. (Visual C++/CLI Edition) June 2012 Revision Overview. 2- Example Using Specific Interface

Assessing the use of IVI drivers in your test system: Determining when IVI is the right choice

Advantech AE Technical Share Document

Step 1: Check Contents & Installation Requirements 3. Step 2: Install the Hard Drive 6. Step 3: Setup Wizard 8

Quick User Guide DB4004. DSP-based FM Radio Monitoring Receiver with TCP/IP Connectivity BEFORE YOU USE THIS PRODUCT

APPLICATION NOTE # 036

Product Description Remote System (SCPI Parser)

Using Measurement & Automation Explorer (MAX) with VXI

Developing Measurement and Analysis System using MATLAB

Agilent NFA Series Noise Figure Analyzers including the Agilent N8972A, N8973A, N8974A and N8975A NFA analyzers.

*********************** **** Read Me First **** *********************** Version August 1st, 2011

Advance Technologies; Automate the World.

VXI-MXI-Express Series

Moving from BASIC to C with LabWindows /CVI

Getting Started with IVI Drivers

VME Data Acquisition System, ADC Read

Test-System Development Guide

Test Systems Using LXI

IVI Compliance Package Release Notes

NI-VISA for Solaris 1.x and 2.x SUN and GSUN Frameworks

Transitioning from GPIB to LXI Examining Similarities, Differences and Best Practices

TestStand. Contents RELEASE NOTES. Version 2017

Programmer s Manual v2.00 (Mar 2016) SERIES 7000 Phase Noise Measurement Systems Models MODEL 7070, MODEL 7300

Keysight Technologies Modifying a GPIB System to Include LAN/LXI

USING THE XPERT2 / 9210B ON A TCP/IP NETWORK

NI Technical Symposium 2016

BOARD LEVEL PRODUCTS MULTI-FUNCTION MODBUS RTU INTERFACE BOARD

ZTS Series Solid-State Switch Systems

Programming for the LabVIEW Real-Time Module Using LabWindows/CVI

Transcription:

Introducing the LXI Interface APPLICATION NOTE Summary LXI is the latest industry standard for LAN connectivity to instruments and modular systems. Beginning with firmware release 5.7.2.1, several series of LeCroy oscilloscopes include a new remote control option: LXI, or LAN extensions for Instrumentation. LXI is the latest industry standard for LAN connectivity to instruments and modular systems. LXI-compliant LeCroy oscilloscopes include standard LXI features such as a LAN interface, VXI11 discovery, a web server and IVI-C & IVI-COM drivers. Each of these items is described below, along with examples for using the LXI interface. To configure the scope for LXI connectivity, go to Utilities > Utilities Setup, select the Remote tab as shown below, and press the LXI (VXI11) button as shown in Figure 1 below. Figure 1 - Dialog for setting up the remote control interface. The LXI standard goes well beyond specifying a LAN interface on a standalone instrument; it is intended both to replace the aging GPIB interface as the industry standard for connecting Test & Measurement equipment and to specify a complete modular standard with requirements for size, cooling, multi-device synchronization, triggering, etc. The full specification for LXI can be found at http://www.lxistandard.org. The specification describes three LXI classes that must adhere to some subset of the full LXI specification; LeCroy oscilloscopes are Class C LXI instruments. LeCroy Corporation LXI Interfacing page 1 of 6

Primary LXI Features LAN Interface The physical LAN interface on LXI-compliant oscilloscopes is no different than in other LeCroy oscilloscopes that offer LAN connectivity. All compliant oscilloscopes include a standard RJ45 connector to connect the oscilloscope to your network or to another host PC via a crossover network cable. The LXI LAN interface uses the VXI11 protocol on top of the TCP/IP stack. LeCroy oscilloscopes (with a few exceptions) have included a LAN interface standard since 2001, and optionally since the late 1990 s. This interface option remains in place and continues to be referred to as the TCPIP option, as shown in figure 1 above, and uses LeCroy s VICP protocol. VXI11 Discovery The LXI standard requires that instruments support VXI11 Discovery to automatically detect LXI instruments on your network. The LXI spec requires only that enough of the VXI-11 protocol be implemented to allow discovery, and for execution of simple *IDN? queries. After that, manufacturers may choose to switch to their own proprietary protocol for further communications with the instrument. LeCroy has decided to go one step further, implementing a full-featured VXI-11 stack that allows any command or query to be sent using the VXI-11 protocol, instead of requiring LeCroy's proprietary VICP protocol to be used. National Instruments Measurement & Automation Explorer software includes the ability to automatically find LXI instruments on a network. See the section Automatically Find Instruments and Create Aliases for more details. VXI11 is a protocol created back in the mid 1990 s, originally for use with VXIbus instruments. IVI Driver In order to be LXI compliant, manufacturers must provide an IVI driver. IVI, or Interchangeable Virtual Instrument is a driver technology that provides a standard API for communications with instruments, allowing users to potentially interchange instruments without changing their source code. The IVI Foundation manages the IVI specification; see http://www.ivifoundation.org for more information. In order to become LXI compliant, a new IVI driver (LeCroyScope) was developed. The driver strictly adheres to the Ivi-Scope instrument class specification, and includes both IVI-C and IVI-COM drivers. For detailed information about how the driver works and the functions it includes, see the help information that installs with the driver. A shortcut to the help file can be found in Start > All Programs > LeCroy > LeCroyScope > Documentation. It is important to note that IVI drivers use VISA (Virtual Instrument Software Architecture). Users of drivers that employ a VISA interface layer typically avoid the need to deal with the low-level details of the communications bus. For this reason, it is recommended to use drivers such as the LeCroyScope IVI driver or, for LabVIEW users, the lcwave or LeCroy_Wave_Series LabVIEW drivers. See the sections regarding using LabVIEW and VisualStudio for examples. Web Interface The LXI specification requires that compliant instruments should include a web server that responds to a standard http request to its IP address. Several of the webpages are shown in the figures below. Note the LAN Configuration page in Figure 3. Via this page, users can change the oscilloscope s IP address and remote control mode. It is highly recommended that users modify the password for the LAN Configuration. The password can be reset to the default value by pressing the LAN Configuration Reset button on the Remote tab of the Utilities dialog, as shown in Figure 1. The default username is lxi.lecroyuser; the default password is lxi. LeCroy Corporation LXI Interfacing page 2 of 6

Figure 2 - Web interface homepage Figure 4 - Instrument Status page Using LXI Features Automatically Find Instruments and Create Aliases National Instruments Measurement & Automation Explorer (MAX) includes the ability to automatically find LeCroy oscilloscopes and to create a VISA alias. The following screenshots show how to create a resource in MAX, and to use VXI discovery to automatically find oscilloscopes on the network and create aliases to them. See the next section on how to use the aliases in LabVIEW and Visual Studio. Using an alias is a powerful way to make your application more flexible. Figure 3 LAN Configuration Page LeCroy Corporation LXI Interfacing page 3 of 6

Figure 5 - Click Create New to start the wizard to create a new device or interface Figure 7 - When the wizard is complete, a new device and alias are created. The alias can be changed if desired on this screen. Figure 6 - Step through the wizard. In the first screen, select VISA TCP/IP Resource. Subsequent screens select whether or not to auto-detect all instruments, and to select the instruments for which a new device is created LXI Connections using the IVI Driver When using the LeCroyScope IVI driver, LXI connections are established by using either the oscilloscope s LXI VISA resource string or an alias when opening a connection. This is done via either the IVI driver s Initialize or InitializeWithOptions functions. (When initializing the connection, the IVI driver passes the VISA Resource Name or alias to a VISA Open call. The VISA handler determines the connection type to be LXI, and passes the request to open a connection (and subsequent requests to Read or Write data) to the VISA passport that handles the LXI interface.) Figure 8 shows an example application written in Visual Basic 2005, using the complete VISA resource name (left side) and using an alias (right side). The code for this example is available by emailing technical.support@lecroy.com. Note that when using the IVI driver, the lower-level details of LXI (or VXI11) programming are hidden from the user; the details of the VXI11 protocol are handled by the VISA passport. Also note that since VISA is employed, no mention of the interface bus appears in program, which facilitates upgrading from GPIB to LXI (or back). LeCroy Corporation LXI Interfacing page 4 of 6

Figure 8- Visual Basic 2005 application GUI that shows how to address the scope using both the explicit VISA resource name for an LXI instrument at IP address 172.28.14.209, and using its alia AE- 104MXi IVI-C vs IVI-COM The LeCroyScope IVI driver includes both IVI-C and IVI-COM drivers. The IVI-C driver is a DLL that uses C-based entry points for its functions. The IVI-COM driver is a based on Microsoft s Component Object Model technology. LabWindows/CVI users should use the IVI-C driver, which includes an function panel file for selecting driver functions as is standard in LabWindows. Developers working in.net environments will typically use the IVI-COM driver. See the help file that installs with the driver for more information. LXI Communications in LabView Using the lcwave and LeCroy_Wave_Series Drivers LabVIEW drivers are available for use with LXIenabled oscilloscopes from LeCroy, and can be downloaded from National Instruments Instrument Driver Network. These are VISA-based LabVIEW drivers that adhere to National Instruments driver development guidelines, and are not IVI drivers. When using LabVIEW, and when interchangeability between instruments of different manufacturers is not required, using one of these drivers is often preferred to using the LeCroyScope IVI driver. LabVIEW drivers are easier to modify since they do not require creating a DLL as is required for IVI drivers. (To use the LeCroyScope IVI driver in LabVIEW, see the LeCroyScope documentation that installs with the driver.) The two LabVIEW drivers are called lcwave and LeCroy_Wave_Series. Their code is equivalent, but they differ in that LeCroy_Wave_Series is a projectstyle driver for use in LabVIEW 8.0 and higher. Since both of the LabVIEW drivers are VISA-based they can be used for LXI connections without any modification to the code. The drivers can also be used for GPIB and VICP communications simply by using the appropriate VISA resource name. (Note that VICP users should have the VICP Passport for NI-VISA installed on their PC.) For users changing to LXI connectivity from GPIB or VICP all that is required is to use the VISA Resource String or an alias defined in Measurement & Automation Explorer. (See the Web Interface and Automatically Find Instruments and Create Aliases sections of this document.) Figure 9 - Examples function palette for the lcwave driver The following screenshots show the lcwave Transfer Selected Waveform example that can be found in the lcwave driver s Examples function palette (see figure 9). To open this example, simply right-click on its icon and select open. LeCroy Corporation LXI Interfacing page 5 of 6

Figure 10 below shows the full VISA Resource String; figure 11 shows the use of an alias defined in Measurement & Automation Explorer. Conclusion The addition of an LXI interface simplifies remote control operation. Users can locate their instruments more quickly via VXI-11 discovery, address them more easily using an alias, and interact via industry standard IVI drivers or via National Instruments certified LabVIEW drivers. Figure 10 Example showing use of the full VISA resource name, addressing an oscilloscope at IP address 172.28.14.201 Figure 11 - The user has opted to use an alias for the VISA Resource Name. LeCroy Corporation LXI Interfacing page 6 of 6