Tips on using Agilent GPIB Solutions in National Instrument s LabVIEW Environment

Similar documents
Agilent U2000 Series USB Power Sensors

Agilent Automotive Power Window Regulator Testing. Application Note

The Next Generation in Automated Oscilloscope Test

PCI Express 1.0 (2.5 GT/s) Protocol Test

Agilent U2000 Series USB Power Sensors

PCI Express Probes for Agilent E2960B PCI Express Analysis Systems

Agilent Technologies. Troubleshooting Three-Phase AC Motors with U1210 Series Handheld Clamp Meters. Application Note

Agilent 87421A/87422A Power Supply

Agilent N5970A Interactive Functional Test Software: Installation and Getting Started

Agilent 8762/3/4A,B,C Coaxial Switches

Agilent E6832A W-CDMA Calibration Application

Agilent Television Power Consumption Testing. Application Note

Installation Guide E Dielectric Probe Kit 85071E Materials Measurement Software

Building Hybrid Test Systems, Part 1

How to Measure 5 ns Rise/Fall Time on an RF Pulsed Power Amplifier Using the 8990B Peak Power Analyzer

Agilent 4338B Milliohm Meter

Agilent E5063A ENA Series Network Analyzer

Agilent U2000 Series USB Power Sensors

Agilent Mobile WiMAX R&D Test Set Solutions: Software and Technical Support Contract

Keysight M9485A PXIe Multiport Vector Network Analyzer. Configuration Guide

Keysight Technologies Connecting Data Acquisition Systems to a Wireless Network

Keysight Technologies N1918A Power Analysis Manager and U2000 Series USB Power Sensors. Demo Guide

Agilent MATLAB Data Analysis Software Packages for Agilent Oscilloscopes

U7248A High Speed Inter-Chip (HSIC) Electrical Test Software Infiniium Oscilloscopes

Application Note. Double click System tray icon after service started. Click start/continue button

Agilent FieldFox Remote Viewer

Agilent Infoline Web Services. Quick Reference Guide. Scan and use your phone to go to Infoline at

PXI and AXIe Modular Instrumentation

Using MCC GPIB Products with LabVIEW

Testing WiMAX receiver performance in a multipath propagation environment using Agilent s E6651A with an EB Propsim C8 radio channel emulator

DDR Memory Overview, Development Cycle, and Challenges

Report on Government Information Requests

Agilent BenchVue Software (34840B) Data capture simplified. Click, capture, done. Data Sheet

Agilent E363xA Series Programmable DC Power Supplies. Data Sheet

802.11ac Power Measurement and Timing Analysis

Updating the QIAcube operating software

What is the difference between an equivalent time sampling oscilloscope and a real-time oscilloscope?

Release Notes: PowerChute plus for Windows 95 and Windows 98

Report on Government Information Requests

Foreign Taxes Paid and Foreign Source Income INTECH Global Income Managed Volatility Fund

Agilent EEsof EDA.

Think SAFETY When Selecting a Handheld Multimeter

Report on Government Information Requests

AT-S39 Version 1.3 Management Software for the AT-8024 and AT-8024GB Fast Ethernet Switches. Software Release Notes

PXI and AXIe Modular Instrumentation

Keysight Technologies The Advantages Of Remote Labs In Engineering Education

X-Series Signal Analysis. Future-ready instruments Consistent measurement framework Broadest set of applications and software

NI USB-6008/6009 OEM USER GUIDE

Report on Government Information Requests

Cisco Router and Security Device Manager File Management

WD Hard Drive Interface Guide

Agilent 4339B/4349B High Resistance Meters

How does a venture capitalist appraise investment opportunities?

Agilent EEsof EDA.

The Real Total Cost of Ownership of Your Test Equipment

Get the benefits of Norgren s unique range of Online services

FAQs for Two-factor Authentication

N5416A and N5417A USB Compliance Test Software for Infiniium Oscilloscopes

Quantum View Manage Administration Guide

Variable Frequency Drive Troubleshooting with U1610A/U1620A

Quantum View SM Manage Administration Guide

Configuring DHCP for ShoreTel IP Phones

Agilent Evolution of Test Automation Using the Built-In VBA with the ENA Series RF Network Analyzers

Agilent P940xA/C Solid State PIN Diode Switches

Bio-Rad Laboratories. QC data management solutions. Introduce Your Laboratory to a Whole New World of Unity Data Management Solutions

How To Install A Gel Doc Xr+ Camera On A Computer Or Mouse Or Tv (For A Powerbook) With A Zoom Lens (For An Ipa) With An Iphone Or Ipa (For Mac) With The Zoom Lens

81110A Pulse Pattern Generator Simulating Distorted Signals for Tolerance Testing

Table of Contents. Conferencing Basics 3. Ready Bridge Set Up Options 4. Call Control Features 5. Security Features 6. Call Control Commands 7

Agilent IMS-SIP Network Emulator Software (E6966A)

Microsoft Voucher Ordering Processes

PANDUIT Physical Layer Infrastructure Management. EMC Smarts Integration Module

Cisco Conference Connection

Targus USB Port Adapter USER S GUIDE. Making Your Mobile Life Easier. Making Your Mobile Life Easier.

The face of consistent global performance

WD Sentinel DX4000. Small Office Storage Server. Administrator s Quick Install Guide

CNE Progress Chart (CNE Certification Requirements and Test Numbers) (updated 18 October 2000)

Voice Internet Phone Gateway

High-Speed Inter Connect (HSIC) Solution

Keysight Technologies Using Fine Resolution to Improve Thermal Images. Application Note

MANDATORY PROVIDENT FUND SCHEMES AUTHORITY

Theatres/Channels All theatres. Indirect channel. Author/Owner

Keysight N6854A Geolocation System. Configuration Guide

MAGPOWR Spyder Firmware Update Instruction Manual

MERCER S COMPENSATION ANALYSIS AND REVIEW SYSTEM AN ONLINE TOOL DESIGNED TO TAKE THE WORK OUT OF YOUR COMPENSATION REVIEW PROCESS

M24LRxx/CR95HF application software installation guide

Supported Payment Methods

Norton Ghost How to copy partitions from an HDD to a Samsung SSD

Supported Payment Methods

Make Better RMS Measurements with Your DMM

Agilent OSS access7 Signaling Meter

Agilent OSS Customer-Centric Service Manager

CISCO IP PHONE SERVICES SOFTWARE DEVELOPMENT KIT (SDK)

Creating Datalogging Applications in Microsoft Excel

E-Seminar. Financial Management Internet Business Solution Seminar

Motion Graphic Design Census. 10 hrs. motiongraphicdesigncensus.org. 9 hrs.

Rapier V1. Laser Gaming Mouse. User Guide English

NetFlow Feature Acceleration

Schedule R Teleconferencing Service

Agilent Technologies E8047B Analysis Probe System for the Intel Xeon Processor Family

OCTOBER Russell-Parametric Cross-Sectional Volatility (CrossVol ) Indexes Construction and Methodology

Transcription:

Tips on using Agilent GPIB Solutions in National Instrument s LabVIEW Environment Application Note Introduction Making the hardware connection and control is the first step toward mastering the whole connectivity challenge. With instrument connectivity standards such as the general-purpose interface bus (GPIB), universal serial bus (USB), local area network (LAN), and LAN extensions for Instrumentation (LXI), developers face the challenge of integrating these instrument connectivity standards into their systems. This is particularly true when instruments and connectivity hardware are from various suppliers, resulting in hardware driver incompatibility. Using Agilent s connectivity software and hardware, you can establish a connection control to a personal computer (PC) in a flash and help developers to balance design considerations, take advantage of various technologies, and extend the lives of their systems. By expanding your range of input/ output (I/O) alternatives, you can enable new usage models that boost productivity and add new tools that protect your investments in system hardware and software. The foundation of these benefits is an approach called Agilent Open, which simplifies system development through system ready instrumentation, open software environments, and PC-standard I/O. Figure 1. Agilent 82357B USB/GPIB converter and 82350B GPIB card This application note provides answers to frequently asked questions about incorporating Agilent GPIB connectivity products into a National Instrument (NI) LabVIEW system. These tips give an insight on how to use the Agilent GPIB interface card or converter (see Figure 1) to control instruments in a NI system. Instructions are also given on how to use both Agilent and NI GPIB controllers at the same system and how to configure the NI-488.2 based system software when an Agilent GPIB card is used to replace a NI GPIB card. See Table 1 for Agilent's GPIB compatibility with NI LabVIEW system. To substitute NI GPIB hardware with an Agilent GPIB solution, please refer to Tip 3. Table 1. Agilent GPIB compatibility with NI LabVIEW system Agilent GPIB solutions Agilent Connection Expert NI-MAX + LabVIEW NI-MAX + LabVIEW with NI I/O Plug and play Tip 1 Tip 2

Tip 1: How to use Agilent 82357B USB/GPIB converter in NI s MAX or LabVIEW? If you are installing Agilent s 82357B USB/GPIB converter for the first time and do not have either NI LabVIEW or Agilent IO Libraries 1 Suite installed, you will need to: Enable the NIVISATulip.dll, and Enable the Agilent IO libraries Suite to work with NI 488.2. NI-VISA 2 finds and accesses all GPIB devices. Although NI s MAX and NI-VISA Interactive Control are able to detect Agilent s hardware, NI-VISA does not configure Agilent hardware. You should use the Agilent I/O Libraries Suite configuration utility to configure the hardware. Follow these installation steps: Steps Step 1: Install NI-VISA library (with versions 3.6 to 4.4). Step 2: Install Agilent IO Libraries Suite (you can download the software from this website: www.agilent.com/find/iosuite). a) If you have the NI-VISA installed, you can then install Agilent VISA 3 as a secondary VISA. This is only valid with Agilent VISA version K and later. b) If Agilent IO Libraries Suite is already installed, side-by-side 4 mode will be enabled during installation of NI-VISA. You may proceed to step 3. a) Choose Typical setup to detect NI-VISA and to enable side-by-side mode. See Figure 2 and Figure 3. Figure 2. Typical setup for Agilent IO Libraries Suite. 1 Agilent I/O Libraries Each Agilent IO product is bundled with the Agilent I/O libraries. There are four I/O libraries included in Agilent IO libraries Suite: Agilent VISA, VISA, SICL, and Agilent 488. Each of them allows you to programmatically control instruments, send commands to them, and receive responses and data. 2 NI-VISA NI-VISA is the National Instruments implementation of the VISA I/O standard. NI-VISA includes software libraries, interactive utilities such as VISA Interactive Control, and confi guration programs through Measurement and Automation Explorer for all your development needs. NI-VISA is standard across the National Instruments product line. 3 Agilent VISA Agilent VISA (Virtual Instrument Software Architecture) can be used to develop I/O applications and instrument drivers that are interoperable with many other VISA applications from many vendors that comply with IVI Foundation standards. 4 Side-by-side mode Side-by-side mode allows Agilent VISA to be used simultaneously with NI-VISA. 2

Steps Uncheck Figure 3. Enabling side-by-side mode in Typical setup b) Alternatively, you can choose Custom setup for the installation, then select side-by-side mode. Complete the installation for IO libraries before Step 3. See Figure 4 and Figure 5. Figure 4. Custom setup for Agilent IO libraries Suite. Uncheck Figure 5. Enabling side-by-side mode in Custom setup 3

Steps Step 3: Connect the 82357B USB/GPIB converter to your PC's USB port. Step 4: Install Windows "Found New Hardware Wizard." a) You do not need to insert a CD-ROM; just click on the Next button until the installation is complete. See Figure 6, Figure 7, and Figure 8. Figure 6. Installing the Agilent 82357B USB/GPIB Figure 7. Initializing the Agilent 82357B USB/GPIB Figure 8. Agilent 82357B USB/GPIB installation completed b) Repeat step 4 (a) when you see "Found New Hardware Wizard" message box appearing second time. 4

Steps Step 5: Connect the USB/GPIB converter to your instrument. Apply power to the instrument and ensure that it is addressed for listening or talking over the GPIB interface. You can use the Agilent Connection Expert to check the connection. See Figure 9. Figure 9. Connecting the USB/GPIB converter to the instrument Step 6: Enable the NI-VISA Passport for Tulip so that NI-VISA is able to recognize and detect Agilent hardware. The NI-VISA Passport is a software module included with NI-VISA to support the use of Agilent hardware and is not enabled by default. To activate this module, follow the steps below: a) Use the NI Measurement and Automation Explorer (NI-MAX). For version 3.1 and subsequent versions of NI-MAX, click on Tools > NI-VISA > VISA Options b) Select the Passport for Tulip (NIVisaTulip.dll) check box. See Figure 10. c) Click Save to save your settings, then exit NI-MAX. Check Figure 10. Enabling the NI-VISA Passport for Tulip d) Close and restart NI-MAX software. You should see your instrument listed under Devices and Interfaces as Miscellaneous VISA Resource. e) NI-VISA and NI utilities such as VISA Interactive Control (VISAIC) can now access the Agilent 82357B USB/GPIB interface converter. 5

Steps Agilent IO Libraries Suite includes the Agilent 488 library. This allows you to use NI-488.2 and compatible programs from other vendors' 488 libraries with Agilent GPIB interfaces and other vendors interfaces, simultaneously. If your test system includes only Agilent GPIB interface hardware and software, you do not need to take any special action to use Agilent 488. If your system includes NI-488.2 software from NI, or any other vendor s compatible implementation, you may need to explicitly enable Agilent 488. Step 7: Enable NI 488.2 using Agilent Connection Expert. a) Enable the NI 488.2 using Agilent Connection Expert 15.x. i) Select Tools > Agilent 488 See Figure 11. Figure 11. Selecting Agilent 488... ii) Select the Agilent 488 Options tab. See Figure 12. iii) Select Enable Agilent GPIB cards for 488 programs. Check Figure 12. Enabling Agilent 488 programs b) Enable NI 488.2 using Agilent Connection Expert 14.x. i) Select Tools > Options Agilent 488 Options. ii) Select Enable Agilent GPIB cards for 488 programs. For more information, please refer to the Agilent IO Libraries Suite help topic Using Agilent 488 with NI 488.2 from the Agilent 488 Online Reference and User's Guide. 6

Tip 2: How to use both Agilent GPIB and NI GPIB converters in the same system? You can use NI-VISA to access Agilent GPIB converters such as Agilent GPIB, NI GPIB controller or PCI-GPIB card in the same system. To do so, you will need to enable the NI-VISA Passport editor in NI-MAX. NI-VISA finds and accesses any GPIB or VXI devices. Although NI-MAX and NI-VISA Interactive Control are able to detect Agilent s hardware, NI-VISA does not configure the Agilent hardware; you must use the Agilent I/O Libraries Suite configuration utility to configure that hardware. If you have already installed NI-VISA, you can install Agilent VISA as a secondary VISA (for Agilent VISA version K and later). If you already have Agilent VISA installed and are now installing NI-VISA, you can select NI-VISA as the primary VISA and Agilent VISA as the secondary VISA. Use the following procedures to enable the NI-VISA Passport editor in NI MAX to work with Agilent hardware: a) Use the NI Measurement and Automation Explorer (NI-MAX) to enable the NI-VISA Passport editor. For version 3.1 and subsequent versions of NI-MAX, click on Tools > NI-VISA > VISA Options b) Select the Passport for Tulip (NIVisaTulip.dll) check box. See Figure 13. c) Click Save to save your settings, then exit NI-MAX. Check Figure 13. Enabling the NI-VISA Passport editor in NI-MAX d) Close and restart NI-MAX software. You should see your instrument listed under Devices and Interfaces as Miscellaneous VISA Resource. If you have both Agilent and NI GPIB controllers in the same system, the controllers must be configured with different interface names; for example, GPIB0, GPIB1, and so forth. If both vendors try to use the same interface address, the NI-VISA reports an error from vifindrsrc or VISA Find Resources. NI-VISA will assign to an Agilent GPIB card a VISA interface name of GPIBn, where n is the trailing number of the SICL name assigned by the Agilent IO Configuration program. If the SICL name does not have a trailing number, the n will be assigned from the logical unit number assigned by the Agilent IO Config program. If Agilent VISA has configured an NI-488 GPIB card, it will normally default the SICL name to GPIB0. 7

Tip 2 (continued) The NI-VISA Library Passport for Tulip will then map this back to NI-VISA as GPIB0. This will cause a conflict with the GPIB0 that is already mapped to the NI-488 GPIB card in NI-VISA. NI-VISA would not be able to recognize the GPIB interface. The workaround for this problem is to run Agilent IO Config and edit the SICL name for this card to another address (e.g., GPIB9). See Figure 14. Figure 14. Selecting the VISA Interface ID to GPIB9 Tip 3: How to configure your software if you replace your NI GPIB card with an Agilent GPIB Card, when your software is written using NI-488.2? With the introduction of the Agilent IO Libraries Suite version 14.1 and subsequent versions, you can now use an Agilent GPIB card or converter with third party vendor software written with NI-488.2. If your system includes NI- 488.2 software from NI, or any other vendor s compatible implementation, you may need to explicitly enable Agilent 488. To do this, connect Agilent Connection Expert, click Tools > Agilent 488... > check on Enable Agilent GPIB cards for 488 programs. See Figure 15. Check Figure 15. Enabling the VISA 488 program This setting allows correct operation of 488.2 programs with both Agilent and third-party GPIB interfaces (even simultaneously). If you receive errors from third-party tools (such as NI-MAX) when Agilent 488 is enabled, disable Agilent 488, use the third-party tool, then re-enable Agilent 488. 8

Summary With these tips and tricks, you can now create flexible test systems by incorporating Agilent GPIB connectivity products into a NI Labview system. You can kick-start measurements sooner without having to make extensive changes to your system and at no additional cost. Related Literature Please refer to the publication below for further information. Publication title IO Libraries Suite 15 Connectivity Guide with Getting Started Publication number 5989-6133EN Related Web Resources To download Agilent IO Libraries Suite latest software, go to the following URL: www.agilent.com/find/iosuite 9

www.agilent.com Agilent Email Updates www.agilent.com/find/emailupdates Get the latest information on the products and applications you select. Agilent Direct www.agilent.com/find/agilentdirect Quickly choose and use your test equipment solutions with confidence. Agilent Open www.agilent.com/find/open Agilent Open simplifies the process of connecting and programming test systems to help engineers design, validate and manufacture electronic products. Agilent offers open connectivity for a broad range of system-ready instruments, open industry software, PC-standard I/O and global support, which are combined to more easily integrate test system development. www.lxistandard.org LXI is the LAN-based successor to GPIB, providing faster, more efficient connectivity. Agilent is a founding member of the LXI consortium. Remove all doubt Our repair and calibration services will get your equipment back to you, performing like new, when promised. You will get full value out of your Agilent equipment throughout its lifetime. Your equipment will be serviced by Agilent-trained technicians using the latest factory calibration procedures, automated repair diagnostics and genuine parts. You will always have the utmost confidence in your measurements. For information regarding self maintenance of this product, please contact your Agilent office. Agilent offers a wide range of additional expert test and measurement services for your equipment, including initial start-up assistance, onsite education and training, as well as design, system integration, and project management. For more information on repair and calibration services, go to: www.agilent.com/find/removealldoubt Product specifications and descriptions in this document subject to change without notice. For more information on Agilent Technologies products, applications or services, please contact your local Agilent office. The complete list is available at: www.agilent.com/find/contactus Americas Canada (877) 894-4414 Latin America 305 269 7500 United States (800) 829-4444 Asia Pacific Australia 1 800 629 485 China 800 810 0189 Hong Kong 800 938 693 India 1 800 112 929 Japan 0120 (421) 345 Korea 080 769 0800 Malaysia 1 800 888 848 Singapore 1 800 375 8100 Taiwan 0800 047 866 Thailand 1 800 226 008 Europe & Middle East Austria 01 36027 71571 Belgium 32 (0) 2 404 93 40 Denmark 45 70 13 15 15 Finland 358 (0) 10 855 2100 France 0825 010 700* *0.125 /minute Germany 07031 464 6333** Ireland 1890 924 204 Israel 972-3-9288-504/544 Italy 39 02 92 60 8484 Netherlands 31 (0) 20 547 2111 Spain 34 (91) 631 3300 Sweden 0200-88 22 55 Switzerland 0800 80 53 53 United Kingdom 44 (0) 118 9276201 Other European Countries: www.agilent.com/find/contactus Revised: October 1, 2008 Agilent Technologies, Inc. 2009 Printed in USA, April 22, 2009 5990-3731EN