Agilent Technologies E1406A User's Manual And Scpi Programming Manual

Command module scpi programming guide
Table of Contents

Advertisement

Quick Links

Agilent E1406A
Command Module
User's Manual and SCPI Programming Guide
Where to Find it - Online and Printed Information:
System installation (hardware/software)............. VXIbus Configuration Guide*
Module configuration and wiring........................ This Manual
SCPI programming.............................................. This Manual
SCPI example programs...................................... This Manual
SCPI command reference ................................... This Manual
Register-Based Programming ............................. This Manual
VISA language information ................................ Agilent VISA User's Guide
Agilent VEE programming information ............. Agilent VEE User's Manual
*Supplied with Agilent Command Modules, Embedded Controllers, and VXLink.
*E1406-90004*
Manual Part Number: E1406-90004
Agilent VIC (VXI installation software)*
Printed in Malaysia E0606
Agilent 75000 Series C

Advertisement

Table of Contents
loading

Summary of Contents for Agilent Technologies E1406A

  • Page 1 SCPI command reference ........This Manual Register-Based Programming ......This Manual VISA language information ........ Agilent VISA User’s Guide Agilent VEE programming information ..... Agilent VEE User’s Manual *Supplied with Agilent Command Modules, Embedded Controllers, and VXLink. *E1406-90004* Manual Part Number: E1406-90004...
  • Page 3: Table Of Contents

    Using Agilent VIC ........
  • Page 4 Chapter 2. Configuring the Agilent E1406A Command Module (continued) Starting System Operation ....... . . 60 VXI SYSFAIL* Line .
  • Page 5 Chapter 5. Agilent E1406A Command Reference ..... . . 119 About This Chapter ........119 Command Types .
  • Page 6 Chapter 5. Agilent E1406A Command Reference (continued) OUTPut ......... . 148 :ECLTrg<n>:IMMediate .
  • Page 7 Chapter 5. Agilent E1406A Command Reference (continued) SYSTem ......... . 167 :COMMunicate:GPIB:ADDRess? .
  • Page 8 Chapter 5. Agilent E1406A Command Reference (continued) VXI (continued) :CONFigure:HIERarchy? ....... 192 :CONFigure:HIERarchy:ALL? .
  • Page 9 Common Commands Quick Reference ......235 Appendix A. Agilent E1406A Specifications and General Information ... 237 Device Type .
  • Page 10 Appendix B. Agilent E1406A Error Messages ......249 Using This Appendix ........249 Reading an Instrument’s Error Queue .
  • Page 11: Agilent E1406A Command Module User's Manual

    The design and implementation of any circuit on this product is the sole responsibility of the Buyer. Agilent does not warrant the Buyer’s circuitry or malfunctions of Agilent products that result from the Buyer’s circuitry. In addition, Agilent does not warrant any damage that occurs as a result of the Buyer’s circuit or any defects that result from Buyer-supplied products.
  • Page 12: Safety Symbols

    REMOVE POWER and do not use the product until safe operation can be verified by service-trained personnel. If necessary, return the product to an Agilent Technologies Sales and Service Office for service and repair to ensure that safety features are maintained.
  • Page 13: Declaration Of Conformity

    Ray Corson Product Regulations Program Manager For further information, please contact your local Agilent Technologies sales office, agent or distributor. Authorized EU-representative: Agilent Technologies Deutschland GmbH, Herrenberger Stra e 130, D 71034 Böblingen, Germany Agilent E1406A Command Module User’s Manual...
  • Page 14 Notes Agilent E1406A Command Module User’s Manual...
  • Page 15 Notes Agilent E1406A Command Module User’s Manual...
  • Page 16 Notes Agilent E1406A Command Module User’s Manual...
  • Page 17: Chapter 1. Agilent E1406A Command Module Overview

    Warnings and Cautions ......Page 15 Using Agilent VIC ....... . . Page 15 Command Module Functional Description .
  • Page 18: Command Module Functional Description

    Command Module Functional Description The Agilent E1406A Command Module is the foundation of a VXIbus system (see Figure 1-1). Though its role in a VXIbus system is largely transparent (for example, the user need not program its functions) it provides the following key functions: Translates SCPI (Standard Commands for Programmable Instruments) commands for Agilent register-based instruments.
  • Page 19: Command Module Physical Description

    The Agilent E1406A Command Module occupies one C-size mainframe slot. The faceplate has annunciators, clock and trigger connectors, interface ports, and extraction levers that are described below. Faceplate There are four annunciators on the Agilent E1406A faceplate which show the following: Annunciators Failed Shows that the command module has failed its power-on self-test or has stopped working at some point in time.
  • Page 20: Faceplate Clk10 And Trigger Connectors

    The GPIB and The GPIB port allows an GPIB cable to be connected from the Agilent E1406A to a computer, or to an external disk drive. The RS-232 RS-232 Ports port can be used as a user interface, or used for peripheral control if the Agilent E1406A contains Instrument BASIC (IBASIC).
  • Page 21: Installing The Command Module In A Mainframe

    Installing the Command Module in a Mainframe Refer to Figure 1-3 to install the Agilent E1406A Command Module in a C-size mainframe. Set the extraction levers out. Slide the Agilent E1406A into any slot until the backplane connectors touch. Seat the command module into the mainframe by pushing in the extraction levers.
  • Page 22: Command Module Memory

    Command Module Memory The Agilent E1406A comes from the factory equipped with 512 KB of RAM and 1.25 MB of Flash ROM. Agilent E1406A Option 010 provides 1.75 MB of Flash ROM and 1 MB of RAM. For applications which do not require shared RAM, the non-volatile RAM can be configured to a full 2 MB if the extra 512 KB of RAM and 512 KB of Flash ROM has been installed.
  • Page 23: Chapter 2. Configuring The Agilent E1406A Command Module

    Chapter 2 Configuring the Agilent E1406A Command Module About This Chapter One purpose of the Agilent E1406A is to provide the resource manager function required by VXIbus systems. This chapter describes the resource manager’s function and shows you how to modify the configuration process with user tables you download into non-volatile user RAM.
  • Page 24: Modules Configured Statically And Dynamically

    RAM. Note Refer to the C-Size VXIbus Systems Configuration Guide for information on configuring the E1406A Command Module as the resource manager. Modules Configured Statically and Dynamically Statically configured modules are plug-in modules whose logical addresses are set with logical address switches.
  • Page 25: User-Defined Dynamic Configuration

    (Error 39). Valid Flag is part of the table header and is one byte. Number of Entries (1 - 254) is the number of entries in the table. Number of Entries is part of the table header and is one byte. Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 26 (table) space allocated , system errors will occur. You can DIAGnostic:NRAM:CREate recover from these errors by executing DIAGnostic:BOOT:COLD or by pressing the "Ctrl-R" keys on an RS-232 terminal while cycling mainframe power. Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 27 OUTPUT @E1406 USING "#,3(K)";"DIAG:DOWN ";A;" ,#0" OUTPUT @E1406 USING "B";Dy_config(*) !Link the dynamic configuration table to the appropriate algorithm. OUTPUT @E1406;"VXI:CONF:DCT ";A !Restart the system instrument to set the user-defined configuration. OUTPUT @E1406;"DIAG:BOOT:WARM" Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 28 This error occurs when there are 0, or greater than 254 entries in the user-defined dynamic configuration table. The logical addresses assigned by the dynamic configuration table are used by the system until DIAGnostic:BOOT:COLD VXI:CONFigure:DCTable 0 is executed. Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 29: Setting Vxi-Mxi Configuration

    For a more detailed discussion of how to assign logical addresses Configuration please refer to the Agilent E1482B VXI-MXI Bus Extender User’s Manual. The window of a local extender must include the logical addresses of all remote extenders on its interconnect bus.
  • Page 30 8 within the allowable range for that VMEbus until all of these addresses have been used. Any additional dynamically configured devices will be assigned – the lowest available addresses within the allowable range for that VMEbus. Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 31: A16/A24/A32 Address Window Configuration

    If possible, no devices will be assigned to memory locations in the – bottom or top of the total memory (for example, in A24 memory addresses 000000 - 200000 or E00000 - FFFFFF Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 32: Interrupt Register Configuration

    The ECL Trigger Register will be set to C0C0 (ECL Triggers disabled) for all remote and local extenders that support ECL Triggers. You can enable ECL Register Triggers and set the ECL Trigger directions with the extender table. Configuration Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 33: Utility Register Configuration

    4. Data is downloaded into the table with the command: DIAGnostic:DOWNload < address >, < data > 5. The table is linked to the appropriate algorithm in the command module processor with the command: address VXI:CONFigure:ETABle < > Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 34 * int16 is a 16-bit integer, or two bytes. Determining the The user-defined extender table has a one word header and each of the Table Size 12 fields is also one word. The amount of RAM allocated with Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 35 DIAGnostic:NRAM:CREate , system errors will occur. You can recover from these errors by executing DIAG:BOOT:COLD , or by pressing the "Ctrl-R" keys on an RS-232 terminal while cycling mainframe power. Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 36 ECL Triggers (ECL0 IN) The program on the next page downloads the table shown above into user non-volatile memory. The program notes each of the steps used to create and load the table. Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 37 OUTPUT @E1406 USING "#,3(K)";"DIAG:DOWN ";A;" ,#0" OUTPUT @E1406 USING "W";MXI_config(*) !Link the user-defined MXI table to the appropriate algorithm. OUTPUT @E1406;"VXI:CONF:ETAB ";A !Restart the system instrument to set the user-defined configuration. OUTPUT @E1406;"DIAG:BOOT:WARM" Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 38 This error occurs when an A32 memory device is located outside of the allowable logical address range of an MXIbus extender. You should reconfigure the VMEbus memory devices or create a user-defined extender table to override the default algorithm. Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 39 VXI-MXI extender. You should make sure the INTX card is correctly installed and that it is functioning. The system configuration assigned by the extended device table is used by the system until DIAGnostic:BOOT:COLD VXI:CONFigure:ETABle 0 is executed. Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 40: Setting Commander/Servant Hierarchies

    Setting Commander/Servant Hierarchies In a VXIbus system, a commander is a plug-in module which controls other plug-in modules. “ Control” can be a commander such as the Agilent E1406A Command Module translating SCPI commands, and/or serving as the GPIB interface for (servant) modules within its servant area.
  • Page 41: User-Defined Commander/Servant Hierarchies

    4. Data is downloaded into the table with the command: address data DIAGnostic:DOWNload < >, < > 5. The table is linked to the appropriate algorithm in the command module processor with the command: address VXI:CONFigure:CTABle < > Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 42 For example, to assign three modules to a particular commander, the table size would be: 2 + 6(3) = 20 bytes would be executed as: DIAGnostic:NRAM:CREate OUTPUT @E1406;"DIAG:NRAM:CRE 20" Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 43 (table) space allocated DIAGnostic:NRAM:CREate , system errors will occur. You can recover from these errors by executing DIAGnostic:BOOT:COLD or by pressing the "Ctrl-R" keys on an RS-232 terminal while cycling mainframe power. Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 44 Example: Assigning a The following program assigns secondary GPIB address 01 to the Agilent Secondary GPIB E1411B 5 -Digit Multimeter at logical address 25. The program notes each of the steps used to create and load the table. Address !Assign an I/O path and allocate a variable to store commander/servant !hierarchy data to be downloaded to the command module.
  • Page 45 This error occurs when there are 0 or greater than 254 entries in the user-defined commander/servant hierarchy table. The secondary GPIB addresses (and/or commanders) assigned by the commander/servant hierarchy table are used by the system until is executed. DIAGnostic:BOOT:COLD VXI:CONFigure:CTABle 0 Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 46: A24/A32 Address Mapping

    RAM) can be allocated. However, the command module cannot access those addresses on the other device. An address allocation table can be used to reserve blocks of A24/A32 addresses for VMEbus devices. This table is also used to Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 47: Reserving A24/A32 Address Space

    Allocating Address Space for VMEbus Devices: Method 1 1. Configure and install all modules (except VMEbus devices) in the Agilent 75000 Series C Mainframe. This process is described in the C-Size VXIbus Systems Configuration Guide. 2. Turn on the mainframe and note section 6 of the resource manager’s configuration sequence (Figure 2-3).
  • Page 48 GPIB Opening GPIB access for message-based device at sec addr 03 access to the module at secondary GPIB address 03. Figure 2-3. Resource Manager Configuration Without Extenders Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 49 The resource manager identifies the status of the command module VMEbus timeout. This must be DISABLED for systems without VXIbus extenders (E1406A Command Module GPIB switch #5 = 0). Searching for static devices in mainframe 0 The resource manager identifies all statically...
  • Page 50 Table 2-6. A24/A32 Address Allocation Table Format Memory Record Table Format Format Valid Flag/ Laddr Number of Records Address Record #1 Frame ID Addr space Address Record #2 Base addr Memory size Address Record N Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 51 For example, to reserve A24 addresses for two VMEbus devices, the table size would be: 2 + 12(2) = 26 bytes. would be executed as: DIAGnostic:NRAM:CREate OUTPUT @E1406;"DIAG:NRAM:CRE 26" Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 52 (table) space allocated , system errors will occur. You can DIAGnostic:NRAM:CREate recover from these errors by executing DIAGnostic:BOOT:COLD or by pressing the "Ctrl-R" keys on an RS-232 terminal while cycling mainframe power. Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 53 OUTPUT @E1406 USING "#,3(K)";"DIAG:DOWN ";A;" ,#0" OUTPUT @E1406 USING "W";Mem_alloc(*) !Link the A24/A32 memory allocation table to the appropriate algorithm. OUTPUT @E1406;"VXI:CONF:MTAB ";A !Restart the system instrument to set the user-defined configuration. OUTPUT @E1406;"DIAG:BOOT:WARM" Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 54 VMEbus devices (address = -1). ERROR 43: INVALID UDEF MEM TABLE This error occurs when the user-defined A24/A32 address allocation table is not true (valid flag does not equal 1). Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 55: Interrupt Line Allocation

    Response and Data Low Registers (see the VXIbus System Specification). The assignment and use of the interrupt lines is described in Figure 2-5 and with the information which follows. Figure 2-5. Example of Interrupt Line Allocation Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 56: User-Defined Interrupt Line Allocation Table

    Interrupt lines not assigned to programmable handlers remain unassigned. Many Agilent modules have interrupt line 1 as their factory setting. Thus, they are available for immediate use with the Agilent E1406A Command Module. Commander modules which are programmable interrupt handlers are assigned interrupt lines 2, 3, 4,...7;...
  • Page 57: Chapter 2. Configuring The Agilent E1406A Command Module (Continued)

    Programmable interrupters can be assigned to interrupt lines with no handler. This allows a programmable interrupter to have a non-programmable interrupt handler handle its interrupts. If Number of Interrupters is 0, Intr Laddr is not specified. Chapter 2 Configuring the Agilent E1406A Command Module...
  • Page 58 ANSI/IEEE 488.2-1987 Arbitrary Block Program Data format. More information on the Arbitrary Block Program format can be found on page 121 of this manual and in the ANSI/IEEE 488.2-1987 document. Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 59 Figure 2-6. Assigning an Additional Interrupt Line The program assumes that a VXIbus system contains an Agilent E1411B -Digit Multimeter that is a servant to a second Agilent E1406A Command Module at logical address 64. Since the command module is the only other commander and is a programmable interrupt handler, it is assigned interrupt line 2 by the resource manager.
  • Page 60 The interrupt lines assigned by the interrupt line table are used by the system until DIAGnostic:BOOT:COLD is executed. When using multiple command modules, GPIB cables must be connected from the slot 0 command module, to each command module in the system. Configuring the Agilent E1406A Command Module Chapter 2...
  • Page 61 GPIB address of 08. It has a servant pointer setting of 32, thus its servant area is from logical address 65 to logical address 96. If the Agilent E1411B multimeter has a logical address of 80, its secondary GPIB address is 10. Thus, when programming this multimeter, its GPIB address is: OUTPUT 70810;"..
  • Page 62: Starting System Operation

    One of the signals on the VXI backplane is SYSFAIL*. This signal is intended to indicate that some VXI module in the system has failed. During power-on or rebooting the Agilent E1406A, VXI modules may briefly generate the SYSFAIL* signal. VXI modules that fail to operate may continue to generate SYSFAIL* after the power-on period as an indication of the failure.
  • Page 63: Chapter 3. Using The Display Terminal Interface

    In this position, a special Loader instrument is present, and will let you download drivers or a new operating system to Flash ROM. The terminal interface uses the built-in RS-232 port and/or the optional Agilent E1324A RS-232C/422 Terminal Interface for Command Modules to provide a front panel for C-size VXIbus systems.
  • Page 64: Terminal Interface Features

    Terminal Interface Features Figure 3-1 shows a typical terminal interface display with its function labels across the bottom of the screen. The first five function keys (f1 through f5) select instrument menu choices. Function keys f6 through f8 provide menu control and access to utility functions.
  • Page 65: How Instruments Appear In The Menu

    When you select an instrument, you are assigning the terminal interface to that instrument. This means that any menu operations, commands executed or recalled, errors displayed, and so forth pertain only to that instrument. Terminal interface operation of an instrument is independent from other instruments and independent from the remote operation of the instrument.
  • Page 66: Display Terminal Menu Tutorial

    Figure 3-2. "Select an Instrument" Menu Figure 3-2 shows the Select an Instrument menu when the Flash ROMS Run/Load switch on the front of the Agilent E1406A Command Module is set to "Run". If this switch is in the "Load" position, the SYSTEM instrument entry will be replaced by LOADER and the rest of the instruments will disappear from the menu.
  • Page 67: Using The System Instrument Menu

    In addition to the instrument menu keys, CLR_INST, RST_INST and SEL_INST are helpful when operating instruments. These and other utility keys are accessed by pressing the UTILS key (see Figure 3-3). Refer to “ General Key Descriptions” on page 77 for information on the RCL_..
  • Page 68 Typical GPIB address: +9 SCPI command used: SYST:COMM:GPIB:ADDR? Figure 3-4. Reading the Command Module GPIB Address Using the Display Terminal Interface Chapter 3...
  • Page 69 For information on a single instrument, enter its logical address and press RETURN. For information on all instruments, enter a single space and press RETURN. (in this case, 8 was entered) Logical address of selected device Instrument name GPIB secondary address Note: See page 189 for a description of each field of instrument information.
  • Page 70 C-Size VXIbus Systems Configuration Guide Note: Configuration of the E1406A RS-232 port is covered in the Figure 3-6. Configuring the Command Module RS-232 Port Using the Display Terminal Interface Chapter 3...
  • Page 71 logical_address SCPI command used: VXI:REC < > logical_address msg_string end_flag SCPI command used: VXI:SEND < >, "< >"[,< >] Figure 3-7. Programming Message-Based Devices Chapter 3 Using the Display Terminal Interface...
  • Page 72 SCPI command used: SYST:TIME < hour >, < minute >,< second > SCPI command used: year month SYST:DATE < >, < >,< > Figure 3-8. Setting the System Clock and Calendar Using the Display Terminal Interface Chapter 3...
  • Page 73 Note: The RESET selection in this menu is equivalent to executing DIAG:BOOT, which has the same effect as cycling the mainframe power. Pressing RST_INST from the System instrument menu is equivalent to sending the *RST command to the System instrument. Figure 3-9.
  • Page 74: Using The Loader Instrument

    Using the Loader The Loader instrument appears on the Select an instrument menu when the Flash ROMS Run/Load switch on the front of the Agilent E1406A Instrument Command Module is set to "Load". This instrument allows you to: Read the command module GPIB address –...
  • Page 75 Switchbox instrument at logical address 32 (secondary address is 04) SCPI command used: SCPI command used: channel_list OPEN < > CLOSE < channel_list > Enter channel number and press RETURN (for example, 102 for channel #2 on card #1) Figure 3-10. Opening and Closing Channels Press f2 to advance to the next channel in the scan list (that is, to trigger the instrument) Enter channel list and press RETURN...
  • Page 76 Enter card number and press RETURN Enter card number and press RETURN SCPI command used: SYST:CPON < card_number > SCPI command used: card_number SYST:CTYP < > Enter card number and press RETURN SCPI command used: card_number SYST:CDES < > Figure 3-12. Displaying Card Type and Description or Resetting Card Using the Display Terminal Interface Chapter 3...
  • Page 77: Monitor Mode

    Monitor Mode Monitor mode displays the status of an instrument while it is being controlled from remote. Monitor mode is useful for debugging programs. You can place an instrument in monitor mode using terminal interface menus, or by executing the command from the DISP:MON:STAT ON terminal interface or by remote.
  • Page 78: Executing Commands

    This is particularly useful for accessing functions not available in an instrument’s menu. For example, assume you want to program the Agilent E1411B -Digit Multimeter for 10 DC voltage measurements. To specify 10 measurements you must type in the necessary command since the command is not on the multimeter menu.
  • Page 79: Editing The Terminal Display

    Editing the The screen editing keys (shown on page 78) allow you to edit user-entered data or commands. When editing, the screen is in insert mode. That is, Terminal Display typed characters will be inserted into the string at the present cursor position. Note The key labels shown are found on all HP terminals (except HP terminals supporting ANSI terminal protocol).
  • Page 80: Instrument Control Keys

    Recalls the last SCPI command generated by a menu operation. For RCL_MENU example, reading the time using the menus (SYSTEM, TIME, READ) generates and executes the SYST:TIME? SCPI command. A recalled command can be executed by pressing the Return key. You can edit a recalled command before you execute it.
  • Page 81: Using Supported Terminals

    Using Supported Terminals The display terminal interface supports several popular terminal brands and models. This chapter will show you how to access all of the terminal interface functions described previously using your supported terminal. The Supported The following list names the supported terminals and shows where to go for more information.
  • Page 82 Selecting VT100 Mode To use the HP 700/22 in VT100 mode, press the Set-Up key and set the following configuration: Fields Value Terminal Mode EM100, 7 bit Ctrls Columns EM100 ID EM100 Inhibit Auto Wrap VT220 Key Map The function keys that are normally labeled f6 through f14 are now labeled: Note Because the HP 700/22 keyboard has nine function keys in the center of the keyboard, f4 is mapped twice.
  • Page 83 Selecting VT220 Mode To use the HP 700/22 in VT220 mode, press the Set-Up key and set the following configuration: Fields Value Terminal Mode EM200, 7 bit Ctrls Columns EM100 ID EM220 Inhibit Auto Wrap Using the WYSE With the WYSE WY-30 terminal, some functions of the display terminal interface have been assigned to keys with other labels.
  • Page 84: Using Other Terminals

    Using Other Terminals This section discusses using terminals which are not on the Supported Terminals list. Primarily this section is to help you use terminals which do not provide programmable soft keys (function keys). Without this capability, a terminal cannot access the display terminal interface’s menus. Instead, the terminal interface provides a set of terminal interface commands which allow you to select instruments by name or logical address.
  • Page 85: Using A Terminal Without Menus

    4. If you see only the Select an instrument prompt without the Select an instrument menu labels, your terminal did not return a recognized ID. To set the terminal type manually, type the terminal interface command: ST HP (followed by Return) for HP terminals - 700/94, 700/92, 26xx,23xx ST HP70043 (followed by Return) for the HP 700/43 terminal ST VT100 (followed by Return) for VT100 emulators...
  • Page 86 Instrument SYSTEM The System Instrument (built-in to the command module) VOLTMTR E1326B Stand-Alone, or E1326B Scanning Voltmeter Modules SWITCH Switchbox composed of one or more Agilent Multiplexer Modules DIG_I/O E1330B Quad 8-Bit Digital Input/Output Module IBASIC Optional IBASIC interpreter COUNTER...
  • Page 87 Control Sequences for The terminal interface provides the keyboard control sequences listed in Terminal Interface Table 3-3. These can be thought of as keyboard short-cuts for compatible terminals (those which provide menu capability). Only those functions in Functions the table marked with * (asterisk) operate for “ UNKNOWN” terminal types (those which do not support menus).
  • Page 88: In Case Of Difficulty

    In Case of Difficulty Problem: Problem Cause/Solution: Error -113 undefined header error occurs after For some commands used by the menus, the data entering data in response to a menu prompt. entered is appended to a command header. For example, if you enter "1" as the port number for a digital I/O module, the command used is DIG:HAND1:MODE NONE where HAND1 indicates the port number.
  • Page 89: System Instrument/Switchbox Menus

    System Instrument/Switchbox Menus This section contains charts showing the structure and content for the Agilent E1406A Command Module’s System instrument and switchbox terminal interface instrument menus. The SCPI commands used and descriptions of menu-controlled instrument operations are also included in the charts.
  • Page 103: Chapter 4. Triggering And System Status

    This chapter covers the use of the ECLTRG and TTLTRG* VXI backplane trigger lines and the Agilent E1406A Command Module’s Trig In and Trig Out ports. Also covered is the structure of the status system used by Agilent Technologies VXI instruments.
  • Page 104: Programming The Trigger Lines And The Trigger Ports

    Programming the The programming sequence used to set up the trigger lines and trigger ports is shown in Figure 4-2. Detailed information on the commands used can be Trigger Lines and found in Chapter 5 of this manual. the Trigger Ports Note In the following commands, <n>...
  • Page 105 Setting the Once the trigger line or the Trig Out port has been enabled, the source Trigger Source which drives the trigger line can be specified. The commands used are: OUTPut:ECLTrg< >:SOURce INT | EXT | NONE Selects ECL trigger source OUTPut:TTLTrg<...
  • Page 106: Programming The Status System

    Programming the Status System This section discusses the structure of the Standard Commands for Programmable Instruments (SCPI) system and how to program the STATus Status Registers. An important feature of SCPI instruments is that they all implement Status Registers in the same way. The status system is explained in the following sections: General Status Register Model This section explains how Status Registers are structured in SCPI...
  • Page 107 Transition Filter The Transition Filter specifies which types of bit state changes in the Condition Register will set corresponding bits in the Event Register. Transition Filter bits may be set for positive transitions (PTR), negative transitions (NTR), or both. Positive means a condition bit changes from 0 to 1.
  • Page 108: Required Status Groups

    Required Status All SCPI instruments must implement a minimum set of status groups. Some instruments contain additional status groups, consistent with the Groups general status register model. The minimum required status system is shown in Figure 4-5. Figure 4-5. Minimum Required Status Register System The Standard Operation Status and Questionable Data Groups are 16-bits wide, while Status Byte and Standard Event Groups are only 8-bits wide.
  • Page 109 Status Byte Group As Figure 4-6 indicates, the Status Byte is used to summarize information from all the other status groups. The Status Byte differs from the other groups in the way you read it and how its summary bit is processed. Figure 4-6.
  • Page 110 The meaning of each bit in the Status Byte is explained in the following table. Table 4-1. Status Byte Bit Definitions Name Description Instrument dependent Instrument dependent Instrument dependent Summary bit from Questionable Data Messages available in Output Queue Summary bit from Standard Event Service request Summary bit from Standard Operation Status Example commands using the Status Byte and Status Byte Enable Registers:...
  • Page 111 Standard Operation The Standard Operation Status Group provides information about the Status Group state of the measurement systems in an instrument. This status group is accessed through the STATus subsystem. Standard Operation Status includes a Condition Register, Event Register, and an Enable Register. As a beginner, you will rarely need to use this group.
  • Page 112 Questionable Data The Questionable Data Status Group provides information about the Group quality of instrument output and measurement data. Questionable Data is accessed through the STATus subsystem. As a beginner, you will rarely need to use this status group. Figure 4-9 illustrates the structure of Questionable Data.
  • Page 113: Status System Programming Examples

    The example programs use SCPI (Standard Commands for Programmable Instruments) commands to communicate with the status system. Thus, the instruments must either be message-based or have a SCPI interpreter, such as an Agilent E1406A Command Module or the SICL iscpi interface. Handling SRQs...
  • Page 114: Using Message Available (Mav) Bits

    Using Message Message Available (MAV) bits can be used to determine when data is available. The following example program sets up an SRQ handler to be Available (MAV) Bits called when there is data in the output queue. The program then prompts for SCPI commands.
  • Page 115 /* message is available so read in the result. */ iscanf( id, "%t", buf); printf("%s", buf); void main(){ INST id; char addr[80]; char cmd[255]; int opc; int idx; printf("This program provides an interactive environment for SCPI \n"); printf("compatible instruments. \n\n"); printf("Enter the SICL address of the instrument to open.\n");...
  • Page 116: Using A Service Request (Srq)

    break; }/* while - there are commands to send */ /* remove the handler */ ionsrq( id, 0); /* close the session */ printf("\nClosing Instrument at %s\n", addr); iclose(id); Using a Service A Service Request (SRQ) can be used to detect errors. The following example program sets up an SRQ handler to be called when SCPI errors are Request (SRQ) detected using the Standard Event Status Register.
  • Page 117 Example Program /* The following program provides an interactive command line interface */ /* to send SCPI commands to SCPI compatible instruments. */ /* This utilizes the MAV bit of the Status Byte in order to determine if */ /* the instrument is returning any output. It also automatically */ /* displays any error conditions that may result by querying the Standard */ /* Event Status Register.
  • Page 118 /* an error occurred, read the error queue to get the error */ errnum = -1; while( errnum != 0) ipromptf( id, "SYST:ERR?\n", "%d,%t", &errnum, errmsg); if( errnum != 0) printf("%d,%s", errnum, errmsg); void main() INST id; char addr[80]; char cmd[255]; int opc;...
  • Page 119 /* send command */ iprintf(id, "%s\n", cmd); /* check cmd for a ’?’, if found assume it is a query */ for(idx=0; idx<strlen(cmd); idx++) if( ’?’ == cmd[idx]) /* wait up to 1 minute for srq handler */ if( 0 != iwaithdlr(60000)) printf("ERROR: Failed to process Query\n");...
  • Page 120 Notes Triggering and System Status Chapter 4...
  • Page 121: Chapter 5. Agilent E1406A Command Reference

    Instruments (SCPI) command set and the IEEE 488.2 Common Commands for the System instrument and the Loader instrument. The System instrument is part of the E1406A Command Module’s internal control processor and is, therefore, always present in the command module.
  • Page 122 PULSe :COUNt :COUNt? :PERiod :PERiod? The root command [SOURce:] is an implied command. To set the instrument’s pulse count to 25, you can send either of the following command statements: SOUR:PULS:COUN 25 PULS:COUN 25 Agilent E1406A Command Reference Chapter 5...
  • Page 123 , and so on. Numeric Parameters are commonly used decimal representations of numbers including optional signs, decimal points, and scientific notation (for example, 123E2 –123 –1.23E2 .123 1.23E-2 ). Special cases include , and 1.23000E–01 DEFault INFinity Chapter 5 Agilent E1406A Command Reference...
  • Page 124: Linking Commands

    VXI Subsystem ........Page 184 Agilent E1406A Command Reference...
  • Page 125: Diagnostic

    > | 0 | 1 | OFF | ON :SETup[ :NRAM :ADDRess? size :CREate < > | MIN | MAX :CREate? [MIN | MAX] address width :PEEK? < >,< > :POKE < address >,< width >,< data > Chapter 5 Agilent E1406A Command Reference...
  • Page 126: Boot:cold

    NRAM , and RDISk memory segments are cleared. Serial Interface parameters for the internal serial interface and for any plug-in serial cards (Agilent E1324A) that are in the command module’s servant area are set to: BAUD 9600 – BITS 8 –...
  • Page 127: Boot[:Warm]

    ), the change will not take effect until you DIAG:COMM:SER:OWN reboot (warm) the system. Related Commands: DIAG:COMM:SER[0][:OWN]? Example Give the Serial Interface to IBASIC DIAG:COMM:SER IBAS Note that 0 (zero) and :OWNer are implied. DIAG:BOOT:WARM Complete the allocation. Chapter 5 Agilent E1406A Command Reference...
  • Page 128: Communicate:serial[N]:Store

    Card number 0 (in place of specifies the command module’s built-in interface while 1 through 7 specifies one of up to seven Agilent E1324A B-size plug-in serial interface modules. Be aware that the Agilent E1324A module stores its settings in an on-board EEROM. This EEROM write cycle takes nearly one second to complete.
  • Page 129: Download:checked[:Maddress]

    System RAM, causing unpredictable results. This command can also be used to write data to a device with registers in the A16 address space. See DIAGnostic:DOWNload:SADDress Related Commands: DIAG:NRAM:CREate DIAG:NRAM:ADDRess?, DIAG:UPLoad[:MADDress]? VXI:CONF:CTABle VXI:CONF:DCTable VXI:CONF:ITABle VXI:CONF:MTABle Chapter 5 Agilent E1406A Command Reference...
  • Page 130 (bits 7-4). The fourth data byte received contains the least significant nibble of the least significant byte of the word to be written (bits 3-0). Once all four bytes have been received the word will be written. Agilent E1406A Command Reference Chapter 5...
  • Page 131: Download:checked:saddress

    < address > may be specified in decimal, hex ( ), octal ( ), or binary ( ) formats. DOWNload is done by word (16-bit) access so address must be even. Related Commands: DIAG:UPLoad:SADDress? Chapter 5 Agilent E1406A Command Reference...
  • Page 132 (bits 7-4). The fourth data byte received contains the least significant nibble of the least significant byte of the word to be written (bits 3-0). Once all four bytes have been received the word will be written. Agilent E1406A Command Reference Chapter 5...
  • Page 133: Download[:Maddress]

    System RAM, causing unpredictable results. This command can also be used to write data to a device with registers in the A16 address space. See DIAGnostic:DOWNload:SADDress Related Commands: DIAG:NRAM:CREate DIAG:NRAM:ADDRess? DIAG:UPLoad[:MADDress]? VXI:CONF:CTABle VXI:CONF:DCTable VXI:CONF:ITABle VXI:CONF:MTABle Chapter 5 Agilent E1406A Command Reference...
  • Page 134: Download:saddress

    ( ), octal ( ), or < > binary ( ) formats. DOWNload is done by word (16-bit) access so address must be even. Related Commands: DIAG:UPLoad:SADDress? Agilent E1406A Command Reference Chapter 5...
  • Page 135: Dram:available

    RAM segment until after DIAG:DRAM:CREate a subsequent re-boot. Related Commands: DIAG:DRAM:CREate DIAG:DRIVer:LOAD DIAG:DRIVer:LIST[:ALL]? Example Determine Amount of Space Left for Drivers in the DRAM Segment DIAG:DRAM:AVA? enter statement Statement returns available DRAM in bytes. Chapter 5 Agilent E1406A Command Reference...
  • Page 136: Dram:create

    (in bytes) of a previously created Non-volatile RAM area for loading instrument drivers, and the number of drivers currently loaded. Comments If you specify one of the parameters, you must specify both. Agilent E1406A Command Reference Chapter 5...
  • Page 137: Driver:install

    Related Commands: DIAG:DRAM:AVAilable? DIAG:DRAM:CREate DIAG:DRIVer:LOAD... Example List All Drivers in the System DIAG:DRIV:LIST? Lists all drivers currently loaded. Example List All Drivers in ROM DIAG:DRIV:LIST:ROM? Lists all of the drivers in ROM. Chapter 5 Agilent E1406A Command Reference...
  • Page 138: Driver:load

    This is the only way to download a device driver over a serial (RS-232) line. Related Commands: DIAG:DRAM:AVAilable? DIAG:DRAM:CREate DIAG:DRIVer:LIST...? Example Download a Driver Named Over RS-232 DIAG:DRIV:LOAD:CHEC < checked_driver_block > Downloads the <checked_driver_block> to DRAM memory or Flash ROM. Agilent E1406A Command Reference Chapter 5...
  • Page 139: From:available

    Flash ROM segment was created with. Comments Related Commands: DIAG:FROM:CREate (LOAD mode command only). Example Determine Maximum Number of Drivers from a Flash ROM Segment DIAG:FROM:CRE? enter statement Statement returns maximum number of Flash ROM drivers. Chapter 5 Agilent E1406A Command Reference...
  • Page 140: From:size

    (for all lines). DIAG:INTerrupt:ACTivate OFF Interrupt acknowledgment must be re-enabled each time an interrupt is acknowledged. Example Enable an Interrupt Acknowledgment on Line 2 DIAG:INT:SET2 Set up interrupt line 2. DIAG:INT:ACT ON Enable interrupt acknowledged. Agilent E1406A Command Reference Chapter 5...
  • Page 141: Interrupt:priority[N]

    VXI interrupt lines 1 through 7. Sending PRIority? without an value specifies VXI interrupt line 1. Related Commands: DIAG:INTerrupt:PRIority[ DIAG:INTerrupt:SETup[ DIAG:INTerrupt:RESPonse? Example Determine Interrupt Priority for Line 4 DIAG:INT:PRI4? enter statement Statement returns 1 through 7. Chapter 5 Agilent E1406A Command Reference...
  • Page 142: Interrupt:response

    Setup and Wait for VXI Interrupt Response on Line 2 DIAG:INT:PRI2 5 Set priority to 5 on line 2. DIAG:INT:SET2 ON Handle interrupt on line 2. Code which will initiate an action resulting in an interrupt. DIAG:INT:RESP? Read the acknowledge response. Agilent E1406A Command Reference Chapter 5...
  • Page 143: Interrupt:setup[N]

    VXI interrupt line 1. SETup? is returned, interrupt handling is set up for the specified interrupt line using the System instrument ( DIAG:INT commands). If returned, interrupt handling is done by the operating system. Chapter 5 Agilent E1406A Command Reference...
  • Page 144: Nram:address

    DIAG:NRAM:ADDRess? RAM segment. DIAG:DOWNload DIAG:UPLoad? DIAG:PEEK , or DIAG:POKE to store and retrieve information in the Non-volatile RAM segment. DIAG:NRAM:CREate? MAX to find maximum available segment size. Related Commands: DIAG:NRAM:CREate? DIAG:NRAM:ADDRess? DIAG:DOWNload DIAG:UPLoad? Agilent E1406A Command Reference Chapter 5...
  • Page 145: Peek

    <address> may be specified in decimal, hex ( ), octal ( ), or binary ( ) formats. Related Commands: DIAG:POKE Example Read Byte from User Non-Volatile RAM DIAG:PEEK? 16252928,8 Ask for byte. enter statement Return value of byte. Chapter 5 Agilent E1406A Command Reference...
  • Page 146: Poke

    To get accurate results, execute after the reboot. DIAG:RDISk:ADDRress? Related Commands: DIAG:RDISk:CREate DIAG:RDISk:CREate? Example Return the Starting Address of the IBASIC RAM Volume DIAG:RDIS:ADDR? enter statement Statement returns decimal numeric address. Agilent E1406A Command Reference Chapter 5...
  • Page 147: Rdisk:create

    RAM until a subsequent reboot. To get accurate results, execute after the reboot. DIAG:RDISk:CREate? Related Commands: DIAG:RDISk:CREate DIAG:RDISk:ADDRess? Example Return the Size of the Current RAM Disc Volume DIAG:RDIS:CRE? enter statement Returns numeric size. Chapter 5 Agilent E1406A Command Reference...
  • Page 148: Upload[:Maddress]

    DATA Get 1024 data bytes into the array; use enter format so statement will not terminate on CRs or LFs, and so forth. Line Feed (LF) and EOI follow the last character retrieved. Agilent E1406A Command Reference Chapter 5...
  • Page 149: Upload:saddress

    DATA Get 1,024 data bytes into the array; use enter format so statement will not terminate on CRs or LFs, and so forth. Line Feed (LF) and EOI follow the last character retrieved. Chapter 5 Agilent E1406A Command Reference...
  • Page 150: Output

    ECLTrg and TTLTrg* trigger buses. Note The Agilent E1406A Command Module’s TTLTrg trigger lines and Trig Out port use "low true" or negative logic. When a trigger level is set (for example, ), a low voltage is present.
  • Page 151: Ecltrg:Immediate

    OUTP:ECLTrg< >:LEVel[:IMMediate]? OUTP:ECLTrg< >:SOURce OUTP:ECLTrg< >[:STATe] *RST Condition: OUTP:ECLTrg< >:LEVel 0 Example ECLTrg0 Set to Logic Level 1 OUTP:ECLT0 ON Enable ECLT0. OUTP:ECLT0:SOUR INT Set the source to internal. OUTP:ECLT0:LEV 1 Set trigger level. Chapter 5 Agilent E1406A Command Reference...
  • Page 152: Ecltrg:Source

    OUTP:ECLTrg< >:LEVel commands. allows the selected trigger line to be driven by the Agilent E1406A Command Module’s Trig In front panel SMB connector. must be for the source to drive the OUTP:ECLTrg<...
  • Page 153: Ecltrg[:State]

    Query the State of ECLTrg1 OUTP:ECLT1:STAT? enter statement Return the current state. :EXTernal:IMMediate OUTPut:EXTernal:IMMediate causes a pulse to appear on the Agilent E1406A Command Module’s front panel Trig Out SMB port. Comments OUTP:EXTernal:STATe must be OUTP:EXTernal:SOURce must be NONE Related Commands:...
  • Page 154: External:level[:Immediate]

    OUTP:EXTernal:STATe Trig Out port. Setting :STATe OFF does not change the source, so the signal driving the port is still present. Setting back :STATe sets the source to NONE Agilent E1406A Command Reference Chapter 5...
  • Page 155: External:source

    Enable the Trig Out Port OUTP:EXT:STAT ON :EXTernal[:STATe]? OUTPut:EXTernal[:STATe]? returns the current state ( ) of the Trig Out port. Example Query the State of Trig Out Port OUTP:EXT:STAT? enter statement Return the current state. Chapter 5 Agilent E1406A Command Reference...
  • Page 156: Ttltrg:Immediate

    Related Commands: OUTP:TTLTrg< >:LEVel[:IMMediate]? OUTP:TTLTrg< >:SOURce OUTP:TTLTrg< >[:STATe] *RST Condition: OUTP:TTLTrg< >:LEVel 0 Example TTLTrg0* Set to Logic Level 1 OUTP:TTLT0:STAT ON Enable TTLT0. OUTP:TTLT0:SOUR INT Set source to internal. OUTP:TTLT0:LEV 1 Set trigger level. Agilent E1406A Command Reference Chapter 5...
  • Page 157: Ttltrg:Source

    Comments represents through TTLTrg< > TTLTrg0 TTLTrg7 Querying the source with :STATe OFF returns NONE , regardless of the actual source setting. Example Determine the Source Driving TTLTrg1* OUTP:TTLT1:SOUR? enter statement Return trigger source. Chapter 5 Agilent E1406A Command Reference...
  • Page 158: Ttltrg[:State]

    >[:STATe]? OUTPut:TTLTrg< >[:STATe]? returns the current state ( ) of the selected trigger line. Comments represents through TTLTrg< > TTLTrg0 TTLTrg7 Example Query the State of TTLTrg1* OUTP:TTLT1:STAT? enter statement Return the current state. Agilent E1406A Command Reference Chapter 5...
  • Page 159: Program

    <digit(s)>. The value of <digit(s)> taken as a decimal integer indicates the number of <data byte(s)> in the block. Indefinite Length Block #0<data byte(s)>< NL^END > Examples of sending 4 data bytes: #14<byte><byte><byte><byte> #3004<byte><byte><byte><byte> #0<byte><byte><byte><byte>< NL^END > Related Commands: PROG[:SELected]:DELete Chapter 5 Agilent E1406A Command Reference...
  • Page 160 <digit(s)>. The value of <digit(s)> taken as a decimal integer indicates the number of <data byte(s)> in the block. Indefinite Length Block #0<data byte(s)>< NL^END > Examples of sending 4 data bytes: #14<byte><byte><byte><byte> #3004<byte><byte><byte><byte> #0<byte><byte><byte><byte>< NL^END > Related Commands: PROG[:SELected]:DELete Agilent E1406A Command Reference Chapter 5...
  • Page 161 (bits 7-4). The fourth data byte received contains the least significant nibble of the least significant byte of the word to be written (bits 3-0). Once all four bytes have been received the word will be written. Chapter 5 Agilent E1406A Command Reference...
  • Page 162: [:Selected]:Define:checked

    This command returns an error if executed from the System instrument. CAUTION This command will remove the Agilent E1406A operating system and should NEVER be used unless you are updating the operating system. Do not use this command when addressing instruments other than the command module, as the results may be undetermined and may cause the instrument to fail.
  • Page 163: Status

    Reading the Condition Register does not change the setting of bit 8. Bit 8 is cleared by the DIAG:INTerrupt:RESPonse? command. Related Commands: STAT:OPER:ENABle STAT:OPER[:EVENt]? Example Read the Contents of the Condition Register STAT:OPER:COND? Query register. enter statement Chapter 5 Agilent E1406A Command Reference...
  • Page 164: Operation:enable

    256 is returned. Reading the Event Register mask does not change the mask setting event STAT:OPER:ENABle < > Related Commands: STAT:OPER:ENABle Example Read the Event Register Mask STAT:OPER:ENAB? Query register mask. enter statement Agilent E1406A Command Reference Chapter 5...
  • Page 165: Operation[:Event]

    Executable when initiated. No coupled commands. *RST Condition: No change. Related Commands: STATus subsystem commands, *SRE *STB? Example Set the Operation Register Negative Transition Mask STAT:OPER:NTR 64 Set event bit when wait-for-arm state is entered. Chapter 5 Agilent E1406A Command Reference...
  • Page 166: Operation:ptransition

    STAT:QUES:COND? Query register. Note commands are supported by the System instrument, STATus:QUEStionable however, they are not used by the System instrument. Queries of the Questionable Data Condition and Event Registers will always return +0. Agilent E1406A Command Reference Chapter 5...
  • Page 167: Questionable:enable

    SRQ ( *SRE ). This prevents an SRQ from occurring due to a previous event. Related Commands: STAT:QUES:ENABle STAT:QUES:ENABle? Example Read the Event Register STAT:QUES:EVEN? Query returns bit(s) set. Chapter 5 Agilent E1406A Command Reference...
  • Page 168: Questionable:ntransition

    Condition Register will set the same bit in the associated Event Register. Comments unmask for parameters STATus:QUEStionable:NTRansition < > and comments. Example Set the Questionable Signal Register Positive Transition Mask STAT:QUES:PTR 64 Set event bit when wait-for-arm state is entered. Agilent E1406A Command Reference Chapter 5...
  • Page 169: System

    [:PROTocol]? :DATE < year >,< month >,< > :DATE? [MIN | MAX,MIN | MAX,MIN | MAX] :ERRor? :TIME < hour >,< minute >,< second > :TIME? [MIN | MAX,MIN | MAX,MIN | MAX] :VERSion? Chapter 5 Agilent E1406A Command Reference...
  • Page 170: Communicate:gpib:address

    The number is the interface’s card number. Card number zero specifies the command module’s built-in interface while one through seven specify one of up to seven Agilent E1324 B-size plug-in serial interface modules. The serial interface installed at (System instrument’s logical address) +1 becomes card number 1, the serial interface...
  • Page 171: Communicate:serial[N]:Control:dtr

    SYST:COMM:SER0:CONT:DTR ON :COMMunicate returns the current SYSTem:COMMunicate:SERial[ ]:CONTrol:DTR? setting for DTR line control. :SERial[ ]:CONTrol :DTR? Example Check the Setting of DTR Control SYST:COMM:SER0:CONT:DTR? enter statement Statement enters the string "ON", "OFF", "STAN", or "IBF". Chapter 5 Agilent E1406A Command Reference...
  • Page 172: Communicate:serial[N]:Control:rts

    SYST:COMM:SER0:CONT:RTS OFF :COMMunicate returns the current SYSTem:COMMunicate:SERial[ ]:CONTrol:RTS? setting for RTS line control. :SERial[ ]:CONTrol :RTS? Example Check the Setting of RTS Control SYST:COMM:SER0:CONT:RTS? enter statement Statement enters the string "ON", "OFF", "STAN", or "IBF". Agilent E1406A Command Reference Chapter 5...
  • Page 173: Communicate:serial[N][:Receive]:Baud

    The current baud rate setting if no parameter is sent. – The maximum allowable setting if is sent. – The minimum allowable setting if is sent. – Example Query the Current Baud Rate SYST:COMM:SER0:BAUD? enter statement Statement enters a numeric value. Chapter 5 Agilent E1406A Command Reference...
  • Page 174: Communicate:serial[N][:Receive]:Bits

    ][:RECeive] :BITS? The current data width if no parameter is sent. – The maximum allowable setting if is sent. – The minimum allowable setting if is sent. – Example Query the Current Data Width Agilent E1406A Command Reference Chapter 5...
  • Page 175: Communicate:serial[N][:Receive]:Pace[:Protocol]

    Enable XON/XOFF Handshaking SYST:COMM:SER0:PACE:PROT XON :COMMunicate SYSTem:COMMunicate:SERial[ ][:RECeive]:PACE[:PROTocol]? returns the current receive pacing protocol. :SERial[ ][:RECeive] :PACE[:PROTocol]? Example See if XON/XOFF Protocol is Enabled SYST:COMM:SER0:PACE:PROT? enter statement Statement enters the string "XON" or "NONE". Chapter 5 Agilent E1406A Command Reference...
  • Page 176: Communicate:serial[N][:Receive]:Pace:threshold:start

    To determine the size of the input buffer of the serial interface you are using, send SYST:COMM:SER[ ]:PACE:THR:STARt? MAX The returned value will be the buffer size less one. Example Return Current Start Threshold SYST:COMM:SER0:PACE:THR:STAR? Query for threshold value. enter statement Statement enters a numeric value. Agilent E1406A Command Reference Chapter 5...
  • Page 177: Communicate:serial[N][:Receive]:Pace:threshold:stop

    To determine the size of the input buffer of the serial interface you are using, send SYST:COMM:SER[ ]:PACE:THR:STOP? MAX . The returned value will be the buffer size less one. Example Return Current Stop Threshold SYST:COMM:SER0:PACE:THR:STOP? Query for threshold. enter statement Statement enters a numeric value. Chapter 5 Agilent E1406A Command Reference...
  • Page 178: Communicate:serial[N][:Receive]:Parity

    > NONE 9 - disallowed NONE NONE NONE 12 - disallowed Received parity will not be checked unless is has PAR:CHEC ON been sent. Transmitted data will include the specified parity whether PAR:CHEC Agilent E1406A Command Reference Chapter 5...
  • Page 179 DIAG:BOOT:COLD will set PARity NONE Chapter 5 Agilent E1406A Command Reference...
  • Page 180: Communicate:serial[N][:Receive]:Parity:check

    Transmitted data still includes the type of parity configured with type PARity < > will set DIAG:BOOT:COLD CHECk Related Commands: type SYST:COMM:SER[ ][REC]:PAR < > *RST Condition: No change. Example Set Parity Check to ON SYST:COMM:SER0:PAR:CHEC ON Agilent E1406A Command Reference Chapter 5...
  • Page 181: Communicate:serial[N][:Receive]:Sbits

    PARity < > NONE 9 - disallowed NONE NONE NONE 12 - disallowed will set DIAG:BOOT:COLD SBITs Related Commands: SYST:COMM:SER[ ][:REC]:BAUD *RST Condition: No change. Example Configure for 2 Stop Bits SYST:COMM:SER0:SBITS 2 Chapter 5 Agilent E1406A Command Reference...
  • Page 182: Communicate:serial[N]:Transmit:auto

    For an Agilent E1324A, AUTO is always . In this case AUTO? will always return a 1. Example Query if AUTO is ON or OFF SYST:COMM:SER0:TRAN:AUTO? enter statement Statement enters the number 1 or 0. Agilent E1406A Command Reference Chapter 5...
  • Page 183: Communicate:serial[N]:Transmit:pace[:Protocol]

    Example Set XON/XOFF Transmit Pacing SYST:COMM:SER0:TRAN:PACE:PROT XON :COMMunicate SYSTem:COMMunicate:SERial[ ]:TRANsmit:PACE[:PROTocol]? returns the current transmit pacing protocol. :SERial[ ]:TRANsmit :PACE[:PROTocol]? Example Check Transmit Pacing Protocol SYST:COMM:SER0:TRAN:PACE:PROT? enter statement Statement enters the string "XON" or "NONE" Chapter 5 Agilent E1406A Command Reference...
  • Page 184: Date

    When parameters are sent: the minimum or maximum allowable values for each of the three parameters. The parameter count must be three. Example Query the System Date SYST:DATE? Ask for current date. input values of year,month,day Read back date. Agilent E1406A Command Reference Chapter 5...
  • Page 185: Error

    Must round to 0 to 60. none <second> Comments Related Commands: SYST:DATE SYST:DATE? SYST:TIME? *RST Condition: *RST does not change the command module’s real time clock. Example Set the System Time SYST:TIME 14,30,20 Set 2:30:20 PM. Chapter 5 Agilent E1406A Command Reference...
  • Page 186: Version

    The returned information is in the format: YYYY.R ; where YYYY the year, and is the revision number within that year. Related Commands: *IDN? Example Determine Compliance Version for this Instrument SYST:VERS? enter statement Statement enters 1990.0 Agilent E1406A Command Reference Chapter 5...
  • Page 187: Vxi

    [:MESSage]? < >[,< >] :REGister :READ? < register > register data :WRITe < >,< > logical_addr :RESet < > :RESet? :ROUTe :ECLTrg< > :INTerrupt< > :TTLTrg< > :SELect < logical_addr > :SELect? Chapter 5 Agilent E1406A Command Reference...
  • Page 188 :ANY? < > :BNO? < top_level > :BREQuest? enable event_number :CEVent? < >,< > :CRESponse? < response_mask > :ENO? :RDEVice? < logical_addr > :RHANdlers? hand_id :RHLine? < > :RILine? < int_id > :RINTerrupter? Agilent E1406A Command Reference Chapter 5...
  • Page 189: Configure:ctable

    Allocate space for table in user RAM. DIAG:BOOT Reboot system to complete allocation. DIAG:NRAM:ADDR? Get starting address of table (RAM segment). DIAG:DOWN <address>,<data> Download data into table. VXI:CONF:CTABle <address> Link table to processor. DIAG:BOOT Reboot system to implement table. Chapter 5 Agilent E1406A Command Reference...
  • Page 190: Configure:dctable

    Allocate space for table in user RAM. DIAG:BOOT Reboot system to complete the allocation. DIAG:NRAM:ADDR? Get starting address of table (RAM segment). DIAG:DOWN <address>,<data> Download data into table. VXI:CONF:DCTable <address> Link table to processor. DIAG:BOOT Reboot system to implement table. Agilent E1406A Command Reference Chapter 5...
  • Page 191: Configure:dladdress

    For new programs you should use the command. VXI:CONF:LADDress? Related Commands: VXI:CONF:DLISt? VXI:CONF:DNUMber? VXI:CONF:LADDress? Example Determine the Device Addresses within the System VXI:CONF:DLAD? Query for list of addresses. enter statement List of addresses. Chapter 5 Agilent E1406A Command Reference...
  • Page 192: Configure:dlist

    In that case, this field will contain one or more error codes in the form " ". Table B-3 in Appendix B for a complete CNFG ERROR: n, m, ...,z list of these codes. Agilent E1406A Command Reference Chapter 5...
  • Page 193: Configure:dnumber

    For new programs you should use the VXI:CONF:NUMBer? command. Related Commands: VXI:CONF:DLADdress? VXI:CONF:DLISt? Example Determine the Number of Devices Within the System VXI:CONF:DNUM? Query the number of devices. enter statement Input number of devices. Chapter 5 Agilent E1406A Command Reference...
  • Page 194: Configure:etable

    Link table to processor. DIAG:BOOT Reboot system to implement table. :CONFigure:ETABle? VXI:CONFigure:ETABle? returns the starting address of the user’s extender table. Example Query Address of the Extender Table VXI:CONF:ETABle? Ask for address. enter statement Return address. Agilent E1406A Command Reference Chapter 5...
  • Page 195: Configure:hierarchy

    Cards which are part of a combined instrument such as a switchbox or scanning voltmeter always return the same manufacturer’s comments as the first card in the instrument. Information in the other fields correspond to the card for which the logical address was specified. Chapter 5 Agilent E1406A Command Reference...
  • Page 196: Configure:hierarchy:all

    A16 memory offset: An integer between -1 and 65535 inclusive. Indicates the base address for any A16 registers (other than the VXIbus defined registers) which are present on the device. -1 indicates that the device has no A16 memory. Agilent E1406A Command Reference Chapter 5...
  • Page 197 ". See Table B-3 in Appendix B for a complete list of these codes. Comments Related Commands: VXI:SELect VXI:CONF:INFormation:ALL? VXI:CONF:LADDress? Example Get Static Information on the Currently Selected Logical Address VXI:SEL 0 Select the logical address. VXI:CONF:INF? Ask for data. enter statement Return data. Chapter 5 Agilent E1406A Command Reference...
  • Page 198: Configure:information:all

    Allocate space for table in user RAM. DIAG:BOOT Reboot system to complete the allocation. DIAG:NRAM:ADDR? Get starting address of table (RAM segment). DIAG:DOWN <address>,<data> Download data into table. VXI:CONF:ITAB <address> Link table to processor. DIAG:BOOT Reboot system to implement. Agilent E1406A Command Reference Chapter 5...
  • Page 199: Configure:laddress

    1 and 256 inclusive. If there are no extender devices :MEXTender? in the system a will be returned. An error is reported if the command is received by a device other than the resource manager. Comments Related Commands: VXI:SELect VXI:CONF:NUMBer:MEXTender? Chapter 5 Agilent E1406A Command Reference...
  • Page 200: Configure:mextender:ecltrg

    6. VXI:SEL 5 Select logical address 5. VXI:CONF:MEXT:ECLT1 OUT Configure the logical address 5 extender as OUT. VXI:SEL 6 Select logical address 6. VXI:CONF:MEXT:ECLT1 IN Configure the logical address 6 extender as IN. Agilent E1406A Command Reference Chapter 5...
  • Page 201: Configure:mextender:interrupt

    6. VXI:SEL 5 Select logical address 5. VXI:CONF:MEXT:INT1 OUT Configure the logical address 5 extender as OUT. VXI:SEL 6 Select logical address 6. VXI:CONF:MEXT:INT1 IN Configure the logical address 6 extender as IN. Chapter 5 Agilent E1406A Command Reference...
  • Page 202: Configure:mextender:ttltrg

    6. VXI:SEL 5 Select logical address 5. VXI:CONF:MEXT:TTLT1 OUT Configure the logical address 5 extender as OUT. VXI:SEL 6 Select logical address 6. VXI:CONF:MEXT:TTLT1 IN Configure the logical address 6 extender as IN. Agilent E1406A Command Reference Chapter 5...
  • Page 203: Configure:mtable

    Allocate space for table in user RAM. DIAG:BOOT Reboot system to complete the allocation. DIAG:NRAM:ADDR? Get starting address of table (RAM segment). DIAG:DOWN <address>,<data> Download data into table. VXI:CONF:MTAB <address> Link table to processor. DIAG:BOOT Reboot system to implement table. Chapter 5 Agilent E1406A Command Reference...
  • Page 204: Configure:number

    Register when the command is , and the VXI:SEND:COMM command sent is a query. This command has been retained for compatibility with existing programs. For new programs you should use VXI:WSP:RESP? Related Commands: VXI:SEND:COMMand VXI:WSProtocol:RESP? Agilent E1406A Command Reference Chapter 5...
  • Page 205: Read

    For new programs you should use VXI:REG:READ? Related Commands: VXI:WRITe VXI:REGister:READ? Example Read from One of a Device’s Configuration Registers VXI:READ? 8,0 Read ID Register on device at logical address 8. enter statement Enter value from Device Register. Chapter 5 Agilent E1406A Command Reference...
  • Page 206: Receive[:Message]

    For new programs you should use the command VXI:WSP:MESS:REC? Related Commands: VXI:SEND[:MESSage] VXI:WSProtocol:MESSage:RECeive? VXI:WSProtocol:MESSage:SEND Example Query for Message from Module at Logical Address 16 VXI:SEND 16,"*IDN?" Send command to device at logical address 16. VXI:REC? 16 Enter message. Agilent E1406A Command Reference Chapter 5...
  • Page 207: Register:read

    You will get correct results if you use any one of the words for a given register address, even if the word itself does not make sense for the device you are using. Related Commands: VXI:SELect VXI:REGister:WRITe Chapter 5 Agilent E1406A Command Reference...
  • Page 208: Register:write

    Related Commands: VXI:SELect VXI:REGister:READ? Example Write to a Register on the Currently Selected Device VXI:REG:WRIT DHIG,64 Writes "64" to Data High Register. Agilent E1406A Command Reference Chapter 5...
  • Page 209: Reset

    If the command module is not the resource manager, it can only reset devices within its servant area. You cannot VXI:RESet? to reset the command module (use DIAG:BOOT Related Commands: VXI:SELect Chapter 5 Agilent E1406A Command Reference...
  • Page 210: Route:ecltrg

    This command can only be executed by the System instrument in a command module that is serving as resource manager for the entire VXIbus system. Related Commands: VXI:SELect VXI:ROUTe:TTLTrg< > VXI:ROUTe:ECLTrg< > VXI:CONFigure:MEXTender Agilent E1406A Command Reference Chapter 5...
  • Page 211: Route:ttltrg

    This will cause the selected logical address to be set to -1. Related Commands: VXI:CONFigure:LADDress? Example Select a Logical Address VXI:SEL 64 Sets the logical address to be used by subsequent VXI subsystem commands to 64. Chapter 5 Agilent E1406A Command Reference...
  • Page 212: Send:command

    This command has been retained for compatibility with existing programs. For new programs you should use VXI:WSP:COMM Related Commands: VXI:SEND:COMMands? VXI:WSProtocol:COMMand VXI:WSProtocol:QUERy? Example Send 1 Data Byte to Logical Address 241 VXI:SEND:COMM 241,BAV,452 End bit = 1 and data byte is 196. Agilent E1406A Command Reference Chapter 5...
  • Page 213 Set Lower MODID (lines 0 - 6) <enable> (0 | 1 | OFF | ON) SUModid <modid> (0 - 63) Set Upper MODID (lines 7 - 12) <enable> (0 | 1 | OFF | ON) Chapter 5 Agilent E1406A Command Reference...
  • Page 214: Send[:Message]

    CRLF Null characters (ASCII value 0) must not occur in msg_string. This command has been retained for compatibility with existing programs. For new programs you should use VXI:WSP:MESS:SEND Related Commands: VXI[:RECeive]:MESSage? VXI:WSProtocol:MESSage:SEND VXI:WSProtocol:MESSage:RECeive? Agilent E1406A Command Reference Chapter 5...
  • Page 215: Write

    Accesses are 16-bit non-privileged data accesses. Related Commands: VXI:READ? VXI:REGister:WRITe Example Write a Value into a Device’s Device Dependent Register VXI:WRIT 8,24,#H4200 Write hex 4200 (16,896 decimal) to register 24 of device at logical address 8. Chapter 5 Agilent E1406A Command Reference...
  • Page 216: Wsprotocol:command:command

    <modid> (0 - 127) Set Lower MODID (lines 0 - 6) <enable> (0 | 1 | OFF | ON) :SLOCk Set Lock :SUModid <modid> (0 - 63) Set Upper MODID (lines 7 - 12) <enable> (0 | 1 | OFF | ON) :TRIGger Trigger Agilent E1406A Command Reference Chapter 5...
  • Page 217: Wsprotocol:message:receive

    Any valid test string. none <message_string> discrete END | NEN <end_bit> Comments The last byte of the string is sent with the end_bit set unless you specify (NoENd). Related Commands: VXI:SELect VXI:WSProtocol:MESSage:RECeive? Chapter 5 Agilent E1406A Command Reference...
  • Page 218: Wsprotocol:query:command

    ), octal ( or binary ( ) formats. top_level selects whether the END bit is set in the command. enable selects whether the Enable bit is set in the command. Related Commands: VXI:SELect VXI:WSProtocol:COMMand Agilent E1406A Command Reference Chapter 5...
  • Page 219: Wsprotocol:response

    Enable Macro Query *GMC? <name> Get Macro Query *LMC? Learn Macro Query *PMC Purge all Macros Command *RMC <name> Remove individual Macro Command Synchronization *OPC Operation Complete Command *OPC? Operation Complete Query *WAI Wait-to-Continue Command Chapter 5 Agilent E1406A Command Reference...
  • Page 220: Cls

    Refer to Chapter 4 in this manual for more information on the Standard Event Status Register. Example OUTPUT 70900;"*ESE 60" Enable Bits 2, 3, 4, and 5. Respective weights are 4 + 8 + 16 + 32 = 60. Agilent E1406A Command Reference Chapter 5...
  • Page 221: Ese

    Identity returns the device identity. The response consists of the following four fields (fields are separated by commas): Manufacturer – Model Number – Serial Number (returns 0 if not available) – Firmware Revision (returns 0 if not available) – Chapter 5 Agilent E1406A Command Reference...
  • Page 222: Lmc

    E1406A System instrument (Flash ROMS Run/Load switch is in the "Run" position): HEWLETT-PACKARD,E1406A,0,A,01.00 This command will return the following string for the Agilent E1406A Loader instrument (Flash ROMS Run/Load switch is in the "Load" position): HEWLETT-PACKARD,LOADER,0,A,01.00...
  • Page 223: Opc

    Status Byte Register and Standard Event Status Register bits remain enabled or become disabled at power-on. A "1" means the bits are disabled at power-on; a "0" means the bits remain enabled at power-on. Chapter 5 Agilent E1406A Command Reference...
  • Page 224: Rmc

    Status Register Enable Query returns the weighted sum of all enabled (unmasked) events (those enabled to assert SRQ) in the Status Byte Register. Example OUTPUT 70900;"*SRE?" Send Status Register Enable query. ENTER 70900;A Place response in variable. PRINT A Print response. Agilent E1406A Command Reference Chapter 5...
  • Page 225: Stb

    Wait-to-continue prevents an instrument from executing another command until the operation caused by the previous command is finished (sequential operation). Since all instruments normally perform sequential operations, executing the *WAI command causes no change to the instrument’s operation. Chapter 5 Agilent E1406A Command Reference...
  • Page 226: Gpib Message Reference

    Set GPIB remote enable line false (all instruments go to local). (You must now execute REMOTE 7 to return to remote mode). LOCAL 7 Issue GPIB GTL to System instrument. (The instrument will return to remote mode when it is listen addressed.) LOCAL 70900 Agilent E1406A Command Reference Chapter 5...
  • Page 227: Group Execute Trigger (Get)

    LISTEN Comments For instruments in the servant area of an Agilent E1406A Command Module, only one instrument at a time can be programmed to respond to . This is because only one instrument can be addressed to listen at any one time.
  • Page 228: Remote

    *STB? command in that clears bit 6 (SRQ). Executing does not clear bit 6. SPOLL *STB? Example P=SPOLL (70900) Send Serial Poll and place response into P. DISP P Display response. Agilent E1406A Command Reference Chapter 5...
  • Page 229: Scpi Commands Quick Reference

    SCPI Commands Quick Reference The following table summarizes SCPI commands for the Agilent E1406A Command Module System Instrument and Loader Instrument. The "Mode" column shows the active mode(s) for the command. SCPI Commands Quick Reference Command Mode Description Mode: R = active in RUN mode...
  • Page 230 [:MADDress]? <address>,<byte_count> Returns data from non-volatile user RAM starting at address. :SADDress? <address>,<byte_count> Returns data from non-volatile user RAM at address. OUTPut :ECLTrg<line> (:ECLTrg0 or :ECLTrg1) :IMMediate Generate pulse on specified ECL trigger line. Agilent E1406A Command Reference Chapter 5...
  • Page 231 RS-232. :DEFine? Returns the operating system in Flash ROM as a definite length arbitrary block. :DELete Erases the entire contents of the Flash ROMS. STATus :OPERation :CONDition? Returns the state of the Condition Register. Chapter 5 Agilent E1406A Command Reference...
  • Page 232 Returns the state of receive pacing protocol. :THReshold :STARt <char_count> Sets the input buffer start threshold for input pacing. :STARt? [MIN|MAX] Returns current or allowable STARt threshold level. :STOP <char_count> Sets the input buffer stop threshold for input pacing. Agilent E1406A Command Reference Chapter 5...
  • Page 233 (resource manager) processor. :ETABle? Gets the extender device table starting address. :HIERarchy? Gets the current hierarchy configuration data for the selected logical address (see VXI:SELect). :ALL? Gets the current hierarchy configuration data for all logical addresses. Chapter 5 Agilent E1406A Command Reference...
  • Page 234 Writes data to the specified 16-bit register at the selected logical address (see VXI:SELect). :RESet <logical_addr> Resets the device at the specified logical address. :RESet? Resets the device at the selected logical address (see VXI:SELect). :ROUTe Agilent E1406A Command Reference Chapter 5...
  • Page 235 Sends a Byte Request command to the logical address set using VXI:SEL. :CEVent <enable>, <event_number> Sends a Control Event command to the logical address set using VXI:SEL. :CLEar Sends a Clear command to the logical address set using VXI:SEL. Chapter 5 Agilent E1406A Command Reference...
  • Page 236 VXI:SEL using both the word serial protocol and the byte transfer protocol. :SEND <message_string>[,(END|NEN)] Sends a message to the logical address set using VXI:SEL. The message is sent using both the word serial protocol and the byte transfer protocol. :QUERy Agilent E1406A Command Reference Chapter 5...
  • Page 237 Sends a Read Status Byte command to the logical address set using VXI:SEL and waits for a response. :SLModid? <enable>, <modid> (0-127) Sends a Set Lower MODID command to the logical address set using VXI:SEL and waits for a response. Chapter 5 Agilent E1406A Command Reference...
  • Page 238 :SUModid? <enable>, <modid> (0-63) Sends a Set Upper MODID command to the logical address set using VXI:SEL and waits for a response. :RESPonse? Retrieves the response (one word of integer data) resulting from a WSProtocol:COMMand command. Agilent E1406A Command Reference Chapter 5...
  • Page 239: Common Commands Quick Reference

    Common Commands Quick Reference The following table summarizes IEEE 488.2 common (*) commands for the Agilent E1406A Command Module. All common commands are available in RUN mode and LOAD mode. IEEE 488.2 Common Commands Quick Reference Category Command Title All IEEE 488.2 Common Commands are available in RUN mode and LOAD mode.
  • Page 240 Notes Agilent E1406A Command Reference Chapter 5...
  • Page 241: Appendix A. Agilent E1406A Specifications And General Information

    Device Type This module returns 014 as the device type in response to a query if the Agilent E1406A is set up as a slot zero device VXI:CONF:DLIS? and 114 if the Agilent E1406A is set up as a non-slot zero device.
  • Page 242: Power Requirements

    SCPI Conformance Information The Agilent E1406A conforms to SCPI-1994.0. The following tables list all the SCPI confirmed and non-SCPI commands that the Agilent E1406A can execute. Individual commands may not execute without having the proper plug-in module installed in the mainframe. Each plug-in module manual describes the commands that apply to that module.
  • Page 243 :CTYPe? [ROUTe:] :ERRor? CLOSe :VERSion? CLOSe? OPEN TRIGger OPEN? [:IMMediate] SCAN :SOURce :SLOPe Table A-2. Switchbox Non-SCPI Commands DISPlay [ROUTe:] :MONitor SCAN :CARD [:LIST] [:STATe] :MODE :PORT SYSTem :SETTling :CDEScription? [:TIME] :TIME? Appendix A Agilent E1406A Specifications and General Information...
  • Page 244: Multimeter Commands

    Multimeter The following tables apply to the Agilent E1326A/B multimeters. Commands Table A-3. Multimeter SCPI-1994.0 Confirmed Commands ABORt [SENSe:] FUNCtion CALibration FUNCtion? :VALue RESistance :ZERO :APERture :AUTO :APERture? :AUTO? :NPLCycles :NPLCycles? CONFigure :RANGe :FRESistance :AUTO :RESistance :AUTO? :TEMPerature :RANGe? :VOLTage...
  • Page 245 :UNSTrained :SOURce :SOURce? DISPlay :TIMer :MONitor :TIMer? :CHANnel :CHANnel? [SENSe:] [:STATe] RESistance [:STATe]? :OCOMpensated :OCOmpensated? MEASure STRain :STRain :GFACtor :FBENding? :POISson :FBPoisson? :UNSTrained :FPOisson? :HBENding? SYSTem :HPOisson? :CDEScription :QCOMpression? :QTENsion? :QUARter? :UNSTrained? Appendix A Agilent E1406A Specifications and General Information...
  • Page 246: Counter Commands

    Counter Commands The following tables apply to the Agilent E1332A 4-Channel Counter/Totalizer and the Agilent E1333A 3-Channel Universal Counter. Table A-5. Agilent E1332A SCPI-1994.0 Confirmed Commands ABORt READ? CONFigure [SENSe:] :FREQuency FREQuency :PERiod :APERture :PWIDth :APERture? :NWIDth FUNCtion :FREQuency CONFigure?
  • Page 247 Table A-7. Agilent E1333A SCPI-1994.0 Confirmed Commands ABORt READ? FETCh? [SENSe:] FUNCtion CONFigure :FREQuency :FREQuency :PERiod :NWIDth FREQuency :PERiod :APERture :PWIDth :APERture? CONFigure? STATus :OPERation FORMat :CONDition? [:DATA] :ENABle :ENABle? INITiate [:EVENt]? [:IMMediate] :PREset :QUEStionable INPut :CONDition? :ATTenuation :ENABle :ATTenuation?
  • Page 248: D/A Converter Commands

    :FUNCtion <channel>? DISPlay :VOLTage <channel> :MONitor :VOLTage <channel>? :CHANnel :CHANnel? [:STATe] :STRing? Digital I/O The following tables apply to the Agilent E1330A/B Quad 8-bit Digital I/O Module. Commands Table A-11. Agilent E1330A/B SCPI-1994.0 Confirmed Commands STATus SYSTem :OPERation :ERRor? :CONDition? :VERSion?
  • Page 249 [:MODE] :FLAG <port>? [:MODE]? :POLarity MEMory :POLarity? :DELete [:VALue] MACRo :FLAG <port> :VME :POLarity :ADDRess :POLarity? :ADDRess? :HANDshake <port> :SIZE :DELay :SIZE? [:MODE] [:STATe] [:MODE]? [:STATe]? :TRACe :CATalog [:DATA] [:DATA]? :DEFine :DELete Appendix A Agilent E1406A Specifications and General Information...
  • Page 250: System Instrument Commands

    :NTRansition :BRQuest? :PTRansition :CONFigure :CEVent? :DNUMber? :CRESponse? :HIERarchy? :ENO? :ALL? :RDEVice? :INFormation? :RHANdlers? :ALL? :RHLine? :LADDress? :RILine? :NUMBer? :RINTerrupter? :REGister :RMODid? :READ? :RPERror? :WRITe :RPRotocol? :RESet? :RSARea? :SELect :RSTB? :SLModid? :SUModid? :RESPonse? Agilent E1406A Specifications and General Information Appendix A...
  • Page 251 :LOAD [:IMMediate]? :CHECked :SOURce :FROM :SOURce? :AVAilable [:STATe] :CREate [:STATe]? :CREate? :SIZE? Table A-15. IEEE Mandated Common (*) Commands *CLS *RST *ESE *SRE *ESE? *SRE? *ESR? *STB? *IDN? *TST? *OPC *WAI *OPC? Appendix A Agilent E1406A Specifications and General Information...
  • Page 252 Notes Agilent E1406A Specifications and General Information Appendix A...
  • Page 253: Appendix B. Agilent E1406A Error Messages

    Appendix B Agilent E1406A Error Messages Using This Appendix This appendix shows how to read an instrument’s error queue, discusses the types of command language-related error messages, and provides a table of all of the System Instrument’s error messages and their probable causes.
  • Page 254: Error Types

    (self-test Errors failure, loss of calibration or configuration memory, and so forth). When a device-specific error occurs, it sets the Device-Specific Error bit (bit 3) in the Standard Event Status Register. Agilent E1406A Error Messages Appendix B...
  • Page 255: Query Errors

    "RUN" position when it should be in the "LOAD" position. –310 System error If caused by *DMC, then macro memory is full. –350 Too many errors The error queue is full as more than 30 errors have occurred. Appendix B Agilent E1406A Error Messages...
  • Page 256 +2114 Invalid user-defined secondary A secondary address assigned by a user configuration table address is illegal. +2115 Duplicate secondary address A secondary address specified by a user configuration table is used more than once. Agilent E1406A Error Messages Appendix B...
  • Page 257 Invalid UDEF DC table data There are more than 254 entries in the dynamic configuration table. +2141 Invalid UDEF Interrupter The logical address specified for an interrupter is a device that is not an interrupter. Appendix B Agilent E1406A Error Messages...
  • Page 258 I or I4 device is violating VXI specification. failed +2147 Granted device not found An Agilent E1406A which is not a slot zero device or a resource manager could not find a module that was granted to its servant area. +2148...
  • Page 259: Start-Up Error Messages And Warnings

    Configured devices is too large for the available space or an attempt was made to move a Dynamically Configured device to an already assigned Logical Address.Cannot configure instruments. Only the system instrument is started. Appendix B Agilent E1406A Error Messages...
  • Page 260 Invalid UDEF address space The address specified in the memory table is A24 but the device is A32, or vice versa. Agilent E1406A Error Messages Appendix B...
  • Page 261 Invalid UDEF A32 window User defined A32 memory window has incorrect base address or size. Invalid UDEF EXT table The valid flag in the extender table is not set to 1. Appendix B Agilent E1406A Error Messages...
  • Page 262 INTX card not installed The INTX daughter card on the VXI-MXI module is not installed or is not functioning correctly. Flash ROM driver contents lost The contents of the Flash ROM driver area have been corrupted. Agilent E1406A Error Messages Appendix B...
  • Page 263: Appendix C. Agilent E1406A Command Module A16 Address Space

    Many Agilent Technologies VXIbus devices are register-based devices which do not support the VXIbus word serial protocol. When an SCPI command is sent to a register-based device, the E1406A Command Module parses the command and programs the device at the register level.
  • Page 264: Register Addressing

    Command Module) is allocated a 64 byte block of addresses. A device may or may not use the entire block of addresses. Figure C-1 shows the location of A16 address space in the Agilent E1406A Command Module. The Base Address When you are reading or writing to a device register, a hexadecimal or decimal register address is specified.
  • Page 265: About This Appendix

    Appendix D Sending Binary Data Over RS-232 About This Appendix This appendix describes the procedure for sending pure binary data over an RS-232 interface. The formatting described is used in the , and DIAG:DOWN:CHEC[:MADD] DIAG:DOWN:CHEC:SADD DIAG:DRIV:LOAD:CHEC commands. This appendix contains the following main sections.
  • Page 266 Table D-1. Correction Codes for RS-232 Transmission Correction Byte in Data Value Code Byte in Hex Decimal Sending Binary Data Over RS-232 Appendix D...
  • Page 267: Setting Up The Mainframe

    Sending Binary Data Over RS-232 The RS-232 interface differs from the GPIB interface in that there is no device addressing built into the interface definition. Device addressing must be done on top of the RS-232 functions. This addressing is done through the same mechanism as the terminal-based front panel, and must be done either by the transfer program or manually before starting the transfer program.
  • Page 268 Once the block header has been sent, the actual data is sent. Since the buffer size of the System instrument RS-232 Interface is limited to 79 bytes, the buffer must be flushed (passed to an instrument parser) before it reaches 79 bytes.
  • Page 269: Index

    RAM, 142 setting, 29 registers, 260 memory, 29 VMEbus devices, 45 Annunciators faceplate, 17 monitor mode status, 76 Arbitrary Block Program Data Parameters, 121, 157 - 158 Attaching Command Module to Mainframe, 19 Agilent E1406A Command Module User’s Manual Index...
  • Page 270 GPIB address, reading the, 65 sysfail inhibit bit, 206 installing in mainframe, 19 unmasking, 162 - 164, 166 memory available, 20, 237 Boolean Parameters, 121 overview, 15 - 20 BOOT:COLD, 124 physical description, 17 Agilent E1406A Command Module User’s Manual Index...
  • Page 271 92 - 93 [:RECeive]:BITS, 172 separator, 120 [:RECeive]:BITS?, 172 SI (select instrument), 83, 263 [:RECeive]:PACE[:PROTocol], 173 STATus subsystem, 161 - 166 [:RECeive]:PACE[:PROTocol]?, 173 switchbox menu, 91 [:RECeive]:PACE:THReshold:STARt, 174 system instrument menu, 88 - 90 Agilent E1406A Command Module User’s Manual Index...
  • Page 272 Flash ROM driver area, 137 utility register, 31 interrupt line allocation tables, 54 - 57 VXI-MXI, 27 - 36 non-volatile RAM areas, 134 CONFigure:CTABle, 186 CTRL Key, 78 CONFigure:CTABle?, 187 CONFigure:DCTable, 187 CONFigure:DCTable?, 188 CONFigure:DLADdress?, 188 Agilent E1406A Command Module User’s Manual Index...
  • Page 273 18 DIAG:RDIS:CRE, 145 functional, 16 DIAG:RDIS:CRE?, 145 GPIB port, 18 DIAG:UPL[:MADD]?, 146 interrupt line allocation, 53 DIAG:UPL:SADD?, 147 keys (terminal interface), 77 Digital I/O Commands, 244 - 245 physical, 17 reset button, 18 Agilent E1406A Command Module User’s Manual Index...
  • Page 274 :LEVel[:IMMediate]?, 150 DRIVer:LIST :SOURce, 103, 150 :FROM?, 135 :SOURce?, 150 :RAM?, 135 [:STATe], 151 :ROM?, 135 [:STATe]?, 103, 151 DRIVer:LIST?, 135 Editing DRIVer:LOAD, 136 keys, 78 DRIVer:LOAD:CHECked, 136 the terminal display, 77 - 78 Agilent E1406A Command Module User’s Manual Index...
  • Page 275 34 ESC Key, 64 linking command module processor, 191 *ESE, 108, 114, 217 query starting address, 191 *ESE?, 106, 108, 218 table format, 32 *ESR?, 108, 218 table record, 32 user-defined, 31, 191 Agilent E1406A Command Module User’s Manual Index...
  • Page 276 99 - 100 GTL (Go To Local), 223 non-SCPI commands, 243 Handling SRQs, 111 - 112 Faceplate Hierarchy Configuration, 192 - 193 annunciators, 17 connectors, 18 extraction levers, 18 GPIB port, 18 reset button, 18 Agilent E1406A Command Module User’s Manual Index...
  • Page 277 54 insert line, 85 mainframe extender, 198, 207 instrument control, 78 VXIbus backplane, 54, 138 left arrow, 78 priority level, 139 menu control, 64 - 65, 77 query interrupt acknowledge response, 140 Agilent E1406A Command Module User’s Manual Index...
  • Page 278 112 - 114 specifying, 208 based instruments static information, 193, 195 programming, 63 statically configured, 23 receive messages from, 203 switchbox modules, 72 string, sending, 211 user-defined, 31 MODID, 22 *LRN?, 219 Agilent E1406A Command Module User’s Manual Index...
  • Page 279 E1333A, 243 OUTP:EXT[:STAT]?, 153 multimeter, 241 OUTP:TTLTrg<n>:IMM, 154 switchbox, 239 OUTP:TTLTrg<n>:LEV[:IMM], 103, 154 system instrument, 247 OUTP:TTLTrg<n>:LEV[:IMM]?, 103, 155 Non-Volatile Memory OUTP:TTLTrg<n>:SOUR, 103, 155 resetting configurations, 124 OUTP:TTLTrg<n>:SOUR?, 155 serial communications parameters, 126 Agilent E1406A Command Module User’s Manual Index...
  • Page 280 PROG[:SELected]:DELete, 160 handling, 141 Programming priority level, 139 message-based instruments, 63 logical addresses, 196, 209 status registers, 104 modules status system, 104 installed, 189 - 190, 237 examples, 111 - 117 logical address, 188 Agilent E1406A Command Module User’s Manual Index...
  • Page 281 Receiving a Message, 203 event register, 165 Recharging Battery, 20, 237 in status register system, 106 REGister:READ?, 204 negative transition mask, 166 REGister:WRITe, 205 positive transition mask, 166 query condition register, 164 QUEStionable:CONDition?, 164 Agilent E1406A Command Module User’s Manual Index...
  • Page 282 Safety Warnings, 10, 15 Reset, 206 Scanning Multimeter bit, 206 See Scanning Voltmeter button, 18 Scanning Voltmeter configuration in non-volatile memory, 124 menu levels and content, 92 - 93 instrument key (RST_INST), 65 Agilent E1406A Command Module User’s Manual Index...
  • Page 283 ECL Trigger, driving source, 150 External Trigger, driving source, 152 serial port baud rate, 171 sysfail inhibit bit, 206 instruments using commands, 83 system calendar, 181 trig out port driving source, 152 TTL Trigger, driving source, 155 Agilent E1406A Command Module User’s Manual Index...
  • Page 284 217 non-SCPI commands, 239 query, 218 reading error messages, 76 event register query, 218 selecting, 72 group Syntax, variable command, 121 description of, 104 Sysfail Inhibit Bit, 206 required, 106 SYSFAIL* Line, 60 Agilent E1406A Command Module User’s Manual Index...
  • Page 285 196 SYST:DATE?, 181 table format, 55 SYST:ERR?, 182, 249, 255 table parameters, 55 SYST:TIME, 182 table size, 56 SYST:TIME?, 183 monitor mode display annunciators, 76 SYST:VERS?, 183 negative error numbers, 250 Agilent E1406A Command Module User’s Manual Index...
  • Page 286 199, 208 query state of receive, 179 querying driving trigger source, 155 Transmit Pacing Protocol querying logic level, 155 enabling/disabling, 180 querying state, 156 query current setting, 180 selecting driving source, 155 Agilent E1406A Command Module User’s Manual Index...
  • Page 287 101 - 103 VXI:CONF:MEXT:TTLTrg<n>, 199 display terminal VXI:CONF:MTAB, 200 interface, 61 - 100 VXI:CONF:MTAB?, 201 menus, 62 - 63 VXI:CONF:NUMB?, 201 loader instrument, 72 VXI:CONF:NUMB:MEXT?, 201 message available (MAV) bits, 112 - 117 Agilent E1406A Command Module User’s Manual Index...
  • Page 288 140 query interrupt handling, 141 query priority level, 139 specifying service routine, 141 trigger ports, 101 - 103 TTL trigger lines, 101 - 103 memory location, 29 resetting device, 206 SYSFAIL* Line, 60 Agilent E1406A Command Module User’s Manual Index...

Table of Contents