EasyManuals Logo

Agilent Technologies 75000 Series B User Manual

Agilent Technologies 75000 Series B
78 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #62 background imageLoading...
Page #62 background image
The first code in the GPIB address is the Select Code. Most computers will most likely use a Select Code of
7. However, if IBASIC is installed, the select code used by IBASIC is 8.
Typical GPIB addresses for different program languages and libraries are:
70900 - BASIC
80900 - IBASIC
70900 - sent as a Long Integer in QuickBASIC using the GPIB Command Library
70900L - sent as Long Integer in C using the GPIB Command Library
hpib7,9,0 - sent as string in Visual BASIC using the Agilent Standard Instrument Control Library
(SICL)
hpib7,9,0 - sent as character string in Visual C/C+ + using the Agilent Standard Instrument Control
Library (SICL)
Determining System Information
The VXI-5 document specifies a standard set of commands to access VXI system information. These
commands follow the convention used in SCPI and IEEE 488.2. Use the following commands to determine
system information.
Determine Logical Addresses
Use the VXI:CONFigure:LADDress? command to determine all Logical Addresses in the mainframe. This
allows you to determine the Secondary GPIB address of each instrument and also make sure the Logical
Address switches are set correctly. A common mistake is to interpret the Most Significant Bit (MSB) for the
Least Significant Bit (LSB), or a 1 for a 0. Execute from IBASIC:
DIM A$[128] ! Dim variable for returned data
OUTPUT 80900.;"VXI:CONF:LADD?" ! Send SCPI command
ENTER 80900.;A$ ! Enter returned data
PRINT A$ ! Print returned data
The command typically returns the data which returns data that may typically look like this:
+ 0,+ 24,+ 112,+ 113
Note that an instrument must have a Logical Address that is a multiple of 8.
Determine Additional Information
Execute the following commands to determine additional information about an instrument. Execute from
IBASIC:
DIM A$[128] ! Dim variable for returned data
OUTPUT 80900;"VXI:CONF:SEL 24" ! Select instrument at Logical Address 24
OUTPUT 80900;"VXI:CONF:INF?" ! Get instrument information
ENTER 80900.;A$ ! Enter returned data
PRINT A$ ! Print returned data
C-2 Debugging VXI SCPI Programs

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 75000 Series B and is the answer not in the manual?

Agilent Technologies 75000 Series B Specifications

General IconGeneral
BrandAgilent Technologies
Model75000 Series B
CategoryControl Unit
LanguageEnglish

Related product manuals