Keysight VXI Bus 75000 C Series User And Programming Manual
Keysight VXI Bus 75000 C Series User And Programming Manual

Keysight VXI Bus 75000 C Series User And Programming Manual

Command module
Hide thumbs Also See for VXI Bus 75000 C Series:
Table of Contents

Advertisement

Quick Links

75000 Series C
User Manual and SCPI Programming
Keysight E1406A Command
Module

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VXI Bus 75000 C Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Keysight VXI Bus 75000 C Series

  • Page 1 75000 Series C User Manual and SCPI Programming Keysight E1406A Command Module...
  • Page 3: Declaration Of Conformity

    Warranty © Keysight Technologies, Inc. 1996-2019 No part of this manual may be repro- To contact Keysight for sales and techni- THE MATERIAL CONTAINED IN THIS duced in any form or by any means cal support, refer to the support links on DOCUMENT IS PROVIDED “AS IS,”...
  • Page 4: Safety Information

    In Case of Damage Cleaning Instruments that appear damaged or Clean the outside of the Keysight mod- defective should be made inoperative ule/chassis with a soft, lint-free, and secured against unintended oper- slightly dampened cloth. Do not use ation until they can be repaired by detergent or chemical solvents.
  • Page 5 Safety Symbols A CAUTION denotes a hazard. It calls attention to an operating pro- cedure or practice, that, if not cor- rectly performed or adhered to could result in damage to the product or loss of important data. Do not proceed beyond a CAUTION notice until the indicated condi- tions are fully understood and met.
  • Page 7: Table Of Contents

    Using Keysight VIC........
  • Page 8 ERROR 41: INVALID UDEF INTR TABLE ......76 viii Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 9 SA Command..........105 Returning to the “Select an Instrument” Prompt ....105 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 10 Parameter Types ..........145 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 11 Parameters..........163 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 12 Comments ..........172 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 13 Comments ..........184 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 14 Comments ..........191 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 15 Comments ..........202 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 16 Example ..........212 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 17 :DATE? ........... . . 221 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 18 :CONFigure:INFormation?........235 xviii Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 19 Comments ..........247 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 20 Comments ..........262 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 21 Group Execute Trigger (GET) ........274 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 22 Device-Specific Errors......... 295 xxii Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 23 Start-up Error Messages and Warnings ......301 8 Keysight E1406A Command Module A16 Address Space About This Appendix .
  • Page 24 Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 25: Keysight E1406A Command Module Overview

    E1406A User Manual and SCPI Programming Guide Keysight E1406A Command Module Overview About This Chapter This chapter contains WARNINGS and CAUTIONS, a functional and physical overview of the E1406A Command Module, and instructions on installing the command module in a mainframe. Chapter contents are as follows:...
  • Page 26: Using Keysight Vic

    Keysight E1406A Command Module. Keysight VIC is a Microsoft® Windows? program that helps you configure and install the Keysight E1406A Command Module - based on VXI systems. If your system contains an Keysight E1406A Command Module to be controlled by a computer external to the VXI mainframe, it is recommended you configure your system using Keysight VIC.
  • Page 27: Command Module Functional Description

    Keysight E1406A Command Module Overview Command Module Functional Description The Keysight 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: –...
  • Page 28: Command Module Physical Description

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

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

    Keysight E1406A Command Module Overview Installing the Command Module in a Mainframe Installing the Command Module in a Mainframe Refer to Figure 1-3 to install the Keysight E1406A Command Module in a C-size mainframe. Figure 1-3 Installing the Command Module in a VXIbus Mainframe...
  • Page 31: Command Module Memory

    Keysight E1406A Command Module Overview Command Module Memory The Keysight E1406A comes from the factory equipped with 512 KB of RAM and 1.25 MB of Flash ROM. Keysight E1406A Option 010 provides 1.75 MB of Flash ROM and 1 MB of RAM.
  • Page 32 Keysight E1406A Command Module Overview Command Module Memory Keysight E1406A User Manual and SCPI Programming Guide...
  • Page 33: Configuring The Keysight E1406A Command Module

    System Configuration Sequence As mentioned in the C-Size VXIbus Systems Configuration Guide, the resource manager within the Keysight E1406A Command Module performs the following system configuration sequence when power is applied: – Identify all statically and dynamically configured plug-in modules installed in the C-size mainframe.
  • Page 34: Modules Configured Statically And Dynamically

    8. The process continues until all dynamically configured devices have been assigned logical addresses. If all multiples of 8 are used, the dynamically configured module is assigned the first available address. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 35: User-Defined Dynamic Configuration

    DIAGnostic:NRAM:ADDRess? 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: VXI:CONFigure:DCTable <address> Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 36: Determining The Table Size

    The dynamic configuration table has a two byte header and each of the four fields are one byte. The amount of RAM to allocate with DIAGnostic:NRAM:CREate is computed as: 2 + 4(N) Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 37: Data Format

    Example: Dynamically Configuring a Module The following program dynamically sets the logical address of the Keysight E1412A 61?2-Digit Multimeter in slot 6 to 32. The program notes each of the steps used to create and load the table.
  • Page 38 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" Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 39: Comments

    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 or VXI:CONFigure:DCTable 0 is executed. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 40: Setting Vxi-Mxi Configuration

    The following rules and recommendations apply to assigning logical addresses. For a more detailed discussion of how to assign logical addresses please refer to the Keysight 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 41: A16/A24/A32 Address Window Configuration

    VMEbus devices in mainframes whose remote extenders have the highest logical addresses should also have the highest logical addresses. – VMEbus devices should be configured to have the lowest addresses on their particular VMEbus. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 42: Default A16/A24/A32 Address Window Assignments

    The only way the resource manager can know the location(s) of VMEbus memory is for you to provide this information in the user-defined memory table (see “ A24/A32 Address Mapping” for more details). Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 43: Interrupt Register Configuration

    If you wish to alter the contents of the Utility Register you can use DIAGnostic:POKE commands directly to the registers. Keep in mind that this may alter the default system reboot process. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 44: User-Defined Logical Address And Memory Windows

    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: VXI:CONFigure:ETABle <address> Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 45 For example, to use the resource manager default algorithm for interrupt enable, set the appropriate field in the extender record (see Table 2-4) to 255. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 46 4 This is Mainframe Extender Register 1616. See the VXI-6 Specification or your mainframe extender manual for a definition of this register. ECL Triggers may not be supported by all mainframe extender cards. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 47: Determining The Table Size

    DIAGnostic:DOWNload is greater than the table space allocated by 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 48: Example: User-Defined Extender Table

    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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 49 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" Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 50: Comments

    This error occurs when the resource manager finds an invalid start address or size for an extender A32 address window. You should reconfigure the VMEbus memory devices or create a user-defined extender table to override the default algorithm. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 51 Trigger entry for a MXIbus extender that does not support TTL Triggers. ERROR 64: UNSUPPORTED UDEF ECL TRIGGER This error occurs when there is a user-defined extender table ECL Trigger entry for a MXIbus extender that does not support ECL Triggers. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 52 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 or VXI:CONFigure:ETABle 0 is executed. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 53: 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 Keysight E1406A Command Module translating SCPI commands, and/or serving as the GPIB interface for (servant) modules within its servant area.
  • Page 54: User-Defined Commander/Servant Hierarchies

    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: VXI:CONFigure:CTABle <address> Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 55: Determining The Table Size

    2 + 6(N) where N is the number of modules to be configured. For example, to assign three modules to a particular commander, the table size would be: 2 + 6(3) = 20 bytes Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 56: Data Format

    Example: Assigning a Secondary GPIB Address The following program assigns secondary GPIB address 01 to the Keysight E1411B 5 1/2-Digit Multimeter at logical address 25. The program notes each of the steps used to create and load the table.
  • Page 57: Comments

    ERROR 15: DUPLICATE SECONDARY ADDRESS -- This error occurs when the same secondary address is specified for more than one module in the commander/servant hierarchy table. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 58 -- 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 DIAGnostic:BOOT:COLD or VXI:CONFigure:CTABle 0 is executed. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 59: A24/A32 Address Mapping

    – The top and bottom 2 MB of A24 addresses are used by the command module for its own RAM and ROM. – VXIbus modules are allocated addresses from the bottom of the address space up. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 60: Allocating Address Space For Vmebus Devices

    The table used for this is described in the section “ Reserving A24/A32 Address Space”. Allocating Address Space for VMEbus Devices: Method 1 1 Configure and install all modules (except VMEbus devices) in the Keysight 75000 Series C Mainframe. This process is described in the C-Size VXIbus Systems Configuration Guide.
  • Page 61 In systems that include VXI-MXI extenders you should use a table to tell the resource manager where your A24/A32 VMEbus memory is located. The resource manager cannot find VMEbus memory without this table. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 62 Sequence Display Explanation Testing ROM The Keysight E1406A operating system performs a series of self-tests and clears Testing 512 KB RAM its volatile RAM. The command module’s GPIB address, logical address, and Passed servant area (based on the switch settings) are reported.
  • Page 63 Configuring the Keysight E1406A Command Module Sequence Display Explanation Testing ROM The Keysight E1406A operating system performs a series of self-tests Testing 512 KB RAM and clears its volatile RAM. The command module’s GPIB address, Passed logical address, and servant area (based on the switch settings) are Testing CPU reported.
  • Page 64: Reserving A24/A32 Address Space

    Table 2-6 A24/A32 Address Allocation Table Format Table Format Memory Record Format Valid Flag/ Number of Laddr Records Address Record #1 Frame ID Addr space Address Record #2 Base addr • Memory size • Address Record N Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 65: Determining The Table Size

    (2+2+4+4), and N is the number of address records. For example, to reserve A24 addresses for two VMEbus devices, the table size would be: 2 + 12(2) = 26 bytes. DIAGnostic:NRAM:CREate would be executed as: OUTPUT @E1406;"DIAG:NRAM:CRE 26" Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 66: Data Format

    !allocation data to be downloaded to the command module. ASSIGN @E1406 TO 70900;EOLCHR$(10)END INTEGER Mem_alloc(1:7) !Allocate a segment of non-volatile user RAM on the command !module to store the A24/A32 memory allocation table. OUTPUT @E1406;"DIAG:NRAM:CRE 14" Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 67: Comments

    Memory Size: 30000016 = 0030 0000 1st word 2nd word 4810 Memory Size: 8000016 = 0008 0000 1st word 2nd word – The following errors are associated with the A24/A32 address allocation table: Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 68: Error 8: Inaccessible A24 Memory

    This error occurs when an invalid logical address is specified in the A24/A32 address allocation table. – The A24/A32 addresses reserved by the A24/A32 address allocation table are reserved within the system until DIAGnostic:BOOT:COLD or VXI:CONFigure:MTABle 0 is executed. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 69: Interrupt Line Allocation

    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-4 Example of Interrupt Line Allocation Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 70: User-Defined Interrupt Line Allocation Table

    Interrupt lines not assigned to programmable handlers remain unassigned. – Many Keysight modules have interrupt line 1 as their factory setting. Thus, they are available for immediate use with the Keysight E1406A.
  • Page 71 – Number of Interrupters is the number of programmable interrupters on the interrupt line specified by Intr Line. If 0 is specified, there are no programmable interrupters. This reserves the line for a non-programmable interrupter. The field is one word. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 72: Determining The Table Size

    For example, if the resource manager assigns interrupt line 2 to a handler and you want to also assign line 3 to the handler, lines 2 and 3 must be specified in the table. See “ Example: Assigning an Interrupt Line”. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 73: Data Format

    "Ctrl-R" keys on an RS-232 terminal while cycling mainframe power. Example: Assigning an Interrupt Line The following example shows how an additional interrupt line is assigned to a programmable interrupt handler and reserved for a non-programmable interrupter (Figure 2-6). Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 74 Figure 2-5 Assigning an Additional Interrupt Line The program assumes that a VXIbus system contains an Keysight E1411B 51?2-Digit Multimeter that is a servant to a second Keysight 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 75: Comments

    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 Keysight E1411B multimeter has a logical address of 80, its secondary GPIB address is 10.
  • Page 76: Error 24: Interrupt Line Unavailable

    (valid addresses are 0 to 255). – The interrupts assigned by the interrupt line allocation table are used by the system until DIAGnostic:BOOT:COLD or VXI:CONFigure:ITABle 0 is executed. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 77: Starting System Operation

    If this situation occurs, the SYSTem:ERRor? query will return the Error +2129, "Warning, Sysfail detected". To restore normal operation of the Keysight E1406A Command Module, you must determine which VXI module has failed and remove it from the system. After removing the failed module and cycling power on your VXI mainframe, your Keysight E1406A Command Module will work normally.
  • Page 78 Configuring the Keysight E1406A Command Module VXI SYSFAIL* Line Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 79: About This Chapter

    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 Keysight E1324A RS-232C/422 Terminal Interface for Command Modules to provide a front panel for C-size VXIbus systems.
  • Page 80: Terminal Interface Features

    If a particular function is not available from a menu, you can type the corresponding common command or SCPI command string and execute it from the terminal interface. See “Executing Commands” for more information. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 81: How Instruments Appear In The Menu

    ST HP70043 (followed by Return) for the HP 700/43 terminal ST VT100 (followed by Return) for VT100 emulators ST VT220 (followed by Return) for VT220 emulators ST WYSE30 (followed by Return) for WY-30 emulators Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 82: Display Terminal Menu Tutorial

    Figure 3-2 shows the Select an Instrument menu when the Flash ROMS Run/Load switch on the front of the Keysight 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 83 -- SEL_INST returns you to the Select an Instrument menu. SEL_INST is the key under the UTILS key. You can easily return to the Select an Instrument menu by pressing f8 twice. Figure 3-3 Accessing the Utility Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 84: Using The System Instrument Menu

    – Set the system clock and calendar – Reset the system The menus on the following pages demonstrate how to do each of the above. Figure 3-4 Reading the Command Module GPIB Address Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 85 Using Display Terminal Menus Using the Display Terminal Interface Figure 3-5 Displaying Logical Addresses and System Instrument Information Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 86 Using the Display Terminal Interface Using Display Terminal Menus Figure 3-6 Configuring the Command Module RS-232 Port Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 87 Using Display Terminal Menus Using the Display Terminal Interface Figure 3-7 Programming Message-Based Devices Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 88 Using the Display Terminal Interface Using Display Terminal Menus Figure 3-8 Setting the System Clock and Calendar Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 89 Using Display Terminal Menus Using the Display Terminal Interface Figure 3-9 Resetting the System Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 90: Using The Loader Instrument

    Using the Loader Instrument The Loader instrument appears on the Select an instrument menu when the Flash ROMS Run/Load switch on the front of the Keysight E1406A Command Module is set to “Load”. This instrument allows you to: – Read the command module GPIB address –...
  • Page 91 When entering a channel list in response to a menu prompt, however, do not precede it with the @ character. Doing so causes a syntax error. Figure 3-10 Opening and Closing Channels Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 92 Using the Display Terminal Interface Using Display Terminal Menus Figure 3-11 Scanning Channels Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 93 Using Display Terminal Menus Using the Display Terminal Interface Figure 3-12 Displaying Card Type and Description or Resetting Card Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 94: Monitor Mode

    Enabling monitor mode slows instrument operations. If the timing or speed of instrument operations is critical (such as making multimeter readings at a precise time interval), you should not use monitor mode. Figure 3-13 Selecting Monitor Mode Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 95: Reading Error Messages

    After you have read all the error messages, executing the SYST:ERR? command causes the screen to show: +0,"No error". After reading the error message(s), press the f1 key to return to monitor mode. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 96: Executing Commands

    This is particularly useful for accessing functions not available in an instrument’s menu. For example, assume you want to program the Keysight E1411B 5 1/2-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 97: General Key Descriptions

    (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 Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 98: Instrument Control Keys

    CTRL-D = Select an instrument menu. See Table 3-3 for a complete list of all control sequence functions. Users of the optional IBASIC interpreter should refer to their IBASIC manual set for additional editing functions. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 99: Using Supported Terminals

    A keyboard map is provided for each of the emulation models. Use these keyboard maps to help locate the terminal interface functions. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 100: Vt100 Key Map

    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: Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 101: 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 Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 102: Using The Wyse Wy-30

    Where two function key labels are shown, the one following the "/" character is accessed by pressing and holding the CTRL key while pressing the desired function key (for example, to access the f6 function, press CTRL-f2/f6). Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 103: Using Other Terminals

    3 If you now see the Select an instrument prompt and the Select an instrument menu labels, your terminal is ready to try. Go to the beginning of this chapter and try the menus. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 104: Using A Terminal Without Menus

    Two commands are provided to select instruments. They are SI (Select Instrument), and SA (Select Address). These commands only work from the Select an instrument prompt. The commands can be typed in upper case or lower case. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 105: Si Command

    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 Keysight Multiplexer Modules DIG_I/O E1330B Quad 8-Bit Digital Input/Output Module IBASIC Optional IBASIC interpreter COUNTER...
  • Page 106: Control Sequences For Terminal Interface Functions

    After RCL_PREV, RCL_NEXT may be used to CTRL-B move forward through the recalled commands. SEL_INST* Return to “Select an instrument” menu. CTRL-D CLR_INST* Clear instrument’s input and output buffers. CTRL-C RST_INST* Like CLR_INST plus clears. CTRL-R Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 107: In Case Of Difficulty

    An instrument can only be “attached” to one display at a time. At the other terminal interface, press Press any key to continue_ Select Instr. The instrument can now be selected from the desired terminal interface. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 108: System Instrument/Switchbox Menus

    Using the Display Terminal Interface System Instrument/Switchbox Menus System Instrument/Switchbox Menus This section contains charts showing the structure and content for the Keysight 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 109 System Instrument/Switchbox Menus Using the Display Terminal Interface Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 110 Using the Display Terminal Interface System Instrument/Switchbox Menus Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 111 System Instrument/Switchbox Menus Using the Display Terminal Interface Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 112 Using the Display Terminal Interface System Instrument/Switchbox Menus Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 113 System Instrument/Switchbox Menus Using the Display Terminal Interface Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 114 Using the Display Terminal Interface System Instrument/Switchbox Menus Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 115 System Instrument/Switchbox Menus Using the Display Terminal Interface Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 116 Using the Display Terminal Interface System Instrument/Switchbox Menus Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 117 System Instrument/Switchbox Menus Using the Display Terminal Interface Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 118 Using the Display Terminal Interface System Instrument/Switchbox Menus Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 119 System Instrument/Switchbox Menus Using the Display Terminal Interface Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 120 Using the Display Terminal Interface System Instrument/Switchbox Menus Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 121 System Instrument/Switchbox Menus Using the Display Terminal Interface Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 122 Using the Display Terminal Interface System Instrument/Switchbox Menus Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 123: Triggering And System Status

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

    Commands in square brackets ([ ]) are implied commands and are, therefore, optional. The brackets are not part of the command and are not sent to the instrument. Figure 4-2 Backplane Trigger and Trig Out Port Configuration Sequence Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 125: Enabling Trigger Lines And The Trig Out Port

    The commands used to set the TTLTrg and Trig Out port levels use negative logic. Thus, when a 1 or ON level is specified, the trigger line or port is set to a TTL low voltage level. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 126: Sending A Trigger Pulse

    (?) to the command used to set that parameter. For example: OUTPut:ECLTrg<n>[:STATe]? Queries state of ECL trigger line. OUTPut:TTLTrg<n>:LEVel[:IMMediate]? Queries level of TTL trigger line. OUTPut:EXTernal:SOURce? Queries source of Trig Out port. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 127: Programming The Status System

    When a status group is implemented in an instrument, it always contains all of the component registers. However, there is not always a corresponding command to read or write to every register. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 128: Condition Register

    The changing state of the condition in question is shown at the bottom of the figure. A small binary table shows the state of the chosen bit in each Status Register at the selected times T1 – T5. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 129: Required Status Groups

    All SCPI instruments must implement a minimum set of status groups. Some instruments contain additional status groups, consistent with the general status register model. The minimum required status system is shown in Figure 4-5. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 130 For example, you send *ESE 4 to set bit 2 of the Standard Event Enable Register. Similarly, a response of "8" to the query *ESE? indicates that bit 3 is set. The remainder of this chapter explains each status group in detail. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 131: Status Byte Group

    Register. It is like a condition bit and will return to zero only when all enabled bits in the Status Byte are zero. In general, use ireadstb inside interrupt service routines, not *STB?. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 132: Standard Event Status Group

    STATus subsystem. Standard Event consists of only two registers: the Standard Event’s Event Register and the Standard Event’s Enable Register. Figure 4-7 illustrates the structure of Standard Event. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 133: Standard Operation Status Group

    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. Figure 4-8 illustrates the structure of Standard Operation Status. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 134: Questionable Data Group

    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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 135 Programming the Status System Triggering and System Status Figure 4-9 Questionable Data Status Group Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 136: Status System Programming Examples

    Instruments) commands to communicate with the status system. Thus, the instruments must either be message-based or have a SCPI interpreter, such as an Keysight E1406A Command Module or the SICL iscpi interface. Handling SRQs The following is a general procedure for handling SRQs: –...
  • Page 137: Example Program

    /* clear RQS instead of reading the MSS bit in the status byte. */ ireadstb(id, &stb); /* check if MAV caused the SRQ */ if( MAV_MASK == (stb & MAV_MASK)) Continued on next page Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 138 /* 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"); Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 139: Using A Service Request (Srq)

    Register Summary bit in the Status Byte Enable Register (for example, *SRE 48). This will cause an SRQ to arrive when there is a message in the output queue or when the summary bit is set in the standard event status register. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 140: Example Program

    /* Note: use ireadstb instead of *STB? because we want to */ /* clear RQS instead of reading the MSS bit in the status byte. */ ireadstb(id, &stb); /* check if MAV caused the SRQ */ if( MAV_MASK == (stb & MAV_MASK)) Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 141 \n\n"); printf("Enter the SICL address of the instrument to open.\n"); printf("for example: iscpi,24)\n"); gets(addr); /* install error handler */ ionerror( I_ERROR_EXIT); /* open the instrument specified by the user */ Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 142 Failed to process Query\n"); 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); Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 143: Keysight E1406A Command Reference

    E1406A User Manual and SCPI Programing Guide Keysight E1406A Command Reference About This Chapter This chapter describes the Standard Commands for Programmable 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...
  • Page 144: Scpi Command Format

    DIAGNOSTIC are both acceptable forms. Other forms of DIAGnostic, such as DIAGN or DIAGNOS will generate an error. You may use upper or lower case letters. Therefore, DIAGNOSTIC, diagnostic, and DiAgNoStIc are all acceptable. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 145: Implied Commands

    1) the number of data bytes which follow, or 2) that the following data block will be terminated upon receipt of a New Line message with the EOI signal true. The syntax is: Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 146 If you send the MIN parameter, the command returns the minimum count available. If you send the MAX parameter, the command returns the maximum count available. Be sure to place a space between the command and the parameter. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 147: Linking Commands

    Loader instrument. Commands are listed alphabetically by subsystem and also within each subsystem. DIAGnostic Subsystem page 148 OUTPut Subsystem page 180 PROGram Subsystem page 192 STATus Subsystem page 197 SYSTem Subsystem page 204 VXI Subsystem page 224 Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 148: Diagnostic Subsystem

    :RAM? :ROM? :LOAD <driver_block> :CHECked <driver_block> :FROM :AVAilable? :CREate <num_drivers> :CREate? :SIZE? :INTerrupt :ACTivate <mode> | 0 | 1 | OFF | ON :PRIority[n] <level> | MIN | MAX | DEF :PRIority[n]? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 149: Boot:cold

    – DRAM, NRAM, and RDISk memory segments are cleared. – Serial Interface parameters for the internal serial interface and for any plug-in serial cards (Keysight E1324A) that are in the command module’s servant area are set to: -- BAUD 9600...
  • Page 150: Comments

    If you are using a serial poll to determine when the cold boot cycle is complete, you should insert a delay of 1 second per plug-in serial card (Keysight E1324A) before polling the System instrument. This will prevent incorrectly determining that the System instrument has completed its boot cycle.
  • Page 151: Communicate :Serial[0][:Owner]

    (DIAG:COMM:SER:OWN), the change will not take effect until you 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 152: Communicate :Serial[0][:Owner]

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

    DIAG:DOWNload can change the contents of 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 154: Byte Format

    The significance of the data is dependent on the order received. The first data byte received contains the most significant nibble of the 16-bit word to be written (bits 15-12). Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 155: Download:checked:saddress

    Where 1FC00016 is the base address in the command module A16 space, LADDR is the device logical address, 64 is the number of address bytes per device, and register_number is the register to which the data is written. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 156: Byte Format

    -- Check Bits are used to detect and correct a single bit error. The control bit is not included in the check. The check bits are a Hamming single bit error correction code, as specified by the following table: Data Value Check Bits Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 157 (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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 158: Download[:Maddress]

    DIAG:DOWNload can change the contents of 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 159: Example

    -- Control the End-Of-Line characters with format statements. -- Use the Definite Length Arbitrary Block Program Data format to send your data rather than the Indefinite Length Arbitrary Block Program Data format. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 160: Example

    DATA 1,2,3,4,5 READ Dnld_data(*) Load data into controller array. OUTPUT "DIAG:DOWN:SADD #H1FCA20,#210"; This line is sent without termination. Send Dnld_data as 16-bit words Terminate after last word with EOI or LF and EOI. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 161: Dram:available

    (cycle power or execute DIAG:BOOT). – Based on the size specified, DIAG:DRAM:CRE rounds the size up to an even value. – DRAM will de-allocate previously allocated NRAM and RDISk segments. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 162: Example

    To download any new drivers you must recreate the Flash ROM driver area with the DIAG:FROM:CREate command. This will erase any drivers you have already downloaded, which will then have to be reloaded. – Related Commands: DIAG:FROM:CREate Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 163: Driver:list[:Type]

    DRAM. – DIAGnostic:DRIVer:LIST:ROM? lists all drivers found in the ROM driver table. – 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 164: Example

    DRAM segment. The driver_block is formatted in the same data byte format used by DIAG:DOWNload:CHECked. Parameters Parameter Parameter Type Range of Values Default Name Units <driver_block> arbitrary block See “Parameter Types” none program data Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 165: Comments

    – Related Commands: DIAG:FROM:CREate (LOAD mode command only), DIAG:FROM:SIZE?, DIAG:DRIVer:LOAD, DIAG:DRIVer:LIST[:ALL]? Example Determine Amount of Space Left for Drivers in the Flash ROM Segment DIAG:FROM:AVA? enter statement Statement returns available Flash ROM in bytes. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 166: From:create

    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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 167: From:size

    – In order for an interrupt to be serviced using the DIAG:INT commands, the interrupt line [n] must be assigned to an interrupt handler using the interrupt line allocation table covered in Chapter 2. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 168: Example

    [n] must be assigned to an interrupt handler using the interrupt line allocation table. – This command has no effect if only one interrupt line is to be set up. – Related Commands: DIAG:INTerrupt:ACTivate, DIAG:INTerrupt:SETup[n], DIAG:INTerrupt:RESPonse? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 169: Example

    256 to the value returned by DIAG:INT:RESPonse?. If bits 0 - 15 are used, the logical address is determined by adding 65,536 to the value returned (if the number returned is negative). Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 170: Example

    0 | 1 | OFF | ON none Comments – SETup1 through SETup7 specifies the VXI interrupt lines 1 through 7. – Sending SETup without an [n] value specifies VXI interrupt line 1. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 171: Example

    – If 1 is returned, interrupt handling is set up for the specified interrupt line using the System instrument (DIAG:INT ...commands). If 0 is returned, interrupt handling is done by the operating system. – Related Commands: DIAG:INTerrupt:SETup[n], DIAG:INTerrupt:PRIority[n], DIAG:INTerrupt:ACTivate, DIAG:INTerrupt:RESPonse? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 172: Example

    – The RAM segment will be created only after the System instrument has been rebooted (cycle power or execute DIAG:BOOT). – Based on the size specified, DIAG:NRAM:CREate rounds the size up to an even value. – NRAM will de-allocate a previously allocated RDISk segment. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 173: Example

    To get accurate results, execute DIAG:NRAM:CREate? after the reboot. – Related Commands: DIAG:NRAM:ADDRess?, DIAG:NRAM:CREate Example Check the Size of the User RAM Segment DIAG:NRAM:CREate? enter statement Statement enters size in bytes. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 174: Peek

    Parameters Parameter Parameter Type Range of Values Default Name Units <address> numeric 0 to 16,777,215 (#HFFFFFF) none <width> numeric 8 | 16 | 32 none <data> numeric 8 to 32-bit integer none Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 175: Comments

    To get accurate results, execute DIAG:RDISk:ADDRress? after the reboot. 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 176: Rdisk:create

    – DIAG:RDISk:CREate does not allocate driver RAM until a subsequent reboot. To get accurate results, execute DIAG:RDISk:CREate? after the reboot. – 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 177: Upload[:Maddress]

    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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 178: Upload:saddress

    – Related Commands: DIAG:DOWNload:SADDress Example Upload Data Stored in Non-Volatile User RAM This program reads 1,024 data bytes from register 32 on a device with logical address 40 in command module A16 address space. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 179 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 180: Output Subsystem

    Signals connected to the front panel Trig In connector can also operate the ECLTrg and TTLTrg* trigger buses. The Keysight 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, OUTPut:EXTernal:LEVel 1), a low voltage is present.
  • Page 181: Ecltrg:Immediate

    – OUTP:ECLTrg<n>:STATe must be ON for the source to drive the trigger line. Setting :STATe OFF does not change the source, so the signal driving the line is still present. Setting :STATe back ON sets the source to NONE and de-asserts the line. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 182: Example

    – INT allows the selected trigger line to be driven by OUTP:ECLTrg<n>:LEVel commands. – EXT allows the selected trigger line to be driven by the Keysight E1406A Command Module’s Trig In front panel SMB connector. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 183: Example

    Parameters Parameter Parameter Default Name Type Range of Values Units <n> numeric 0 or 1 <mode> boolean 0 | 1 | OFF | ON none Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 184: Comments

    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 Keysight E1406A Command Module’s front panel Trig Out SMB port. Comments – OUTP:EXTernal:STATe must be ON and OUTP:EXTernal:SOURce must be INT or NONE.
  • Page 185: External:level [:Immediate]

    :EXTernal:LEVel [:IMMediate]? OUTPut:EXTernal:LEVel[:IMMediate]? returns the current logic level of the Trig Out port. Example Determine the Current State of Trig Out Port OUTP:EXT:LEV? Ask for level. enter statement Return state of trigger bus. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 186: External:source

    OUTPut:EXTernal:SOURce? queries for the source currently driving the Trig Out port. Comments – Querying the source with :STATe OFF returns NONE, regardless of the actual source setting. Example Determine the Source Driving Trig Out OUTP:EXT:SOUR? enter statement Return Trig Out source. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 187: External[:State]

    Enable the Trig Out Port OUTP:EXT:STAT ON :EXTernal[:STATe]? OUTPut:EXTernal[:STATe]? returns the current state (ON or OFF) of the Trig Out port. Example Query the State of Trig Out Port OUTP:EXT:STAT? enter statement Return the current state. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 188: Ttltrg:Immediate

    – OUTP:TTLTrg<n>:STATe must be ON for the source to drive the trigger line. Setting :STATe OFF does not change the source, so the signal driving the line is still present. Setting :STATe back ON sets the source to NONE and de-asserts the line. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 189: Example

    OUTPut:TTLTrg<n>:SOURce <source> selects which source will drive the selected trigger line. Parameters Parameter Parameter Default Name Type Range of Values Units <n> numeric 0 through 7 <source> discrete INT | EXT | NONE none Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 190: Comments

    – TTLTrg<n> represents TTLTrg0 through 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 191: Ttltrg[:State]

    OUTPut:TTLTrg<n>[:STATe]? returns the current state (ON or OFF) of the selected trigger line. Comments – TTLTrg<n> represents TTLTrg0 through TTLTrg7. Example Query the State of TTLTrg1* OUTP:TTLT1:STAT? enter statement Return the current state. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 192: Program Subsystem

    1) the number of data bytes which follow, or 2) that the following data block will be terminated upon receipt of a New Line message with the EOI signal true. The syntax is: Definite Length Block #<non-zero digit><digit(s)><data byte(s)> Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 193: [:Selected]:Define :Checked

    Definite Length Block #<non-zero digit><digit(s)><data byte(s)> Where the value of <non-zero digit> equals the number of<digit(s)>. The value of <digit(s)> taken as a decimal integer indicates the number of <data byte(s)> in the block. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 194: Byte Format

    The check bits are a Hamming single bit error correction code, as specified by the following table: over an RS-232 line. Data Value Check Bits Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 195: [:Selected]:Define :Checked

    RS-232. [:SELected]:DEFine? PROGram[:SELected]:DEFine? reads data from the Flash ROM. Comments This command returns the operating system program loaded in Flash ROM as a definite length arbitrary block. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 196: [:Selected]:Delete

    Comments – This command returns an error if executed from the System instrument. This command will remove the Keysight 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 197: Status Subsystem

    – 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 Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 198: Operation:enable

    – Bit 8 in the Event Register generally is the only bit which will be unmasked. If this bit is unmasked when STAT:OPER:ENABle? is sent, 256 is returned. – Reading the Event Register mask does not change the mask setting (STAT:OPER:ENABle <event>). Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 199: Example

    SRQ (*SRE). This prevents an SRQ from occurring due to a previous event. – Related Commands: STAT:OPER:ENABle, STAT:OPER:ENABle? Example Read the Event Register STAT:OPER:EVEN? Query if bit(s) is set. enter statement Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 200: Operation :Ntransition

    Register will set the same bit in the associated Event Register. Comments – See STATus:OPERation:NTRansition <unmask> for parameters and comments. Example Set the Operation Register Positive Transition Mask STAT:OPER:PTR 64 Set event bit when wait-for-arm state is entered. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 201: Preset

    Condition Register and recorded in the Event Register, to send a summary bit to the Status Byte Register (bit 7). Parameters Parameter Parameter Default Name Type Range of Values Units <event> numeric none Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 202: Comments

    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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 203: Questionable:ntransition

    Register will set the same bit in the associated Event Register. Comments – See STATus:QUEStionable:NTRansition <unmask> for parameters 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 204: System Subsystem

    :CHECk? :SBITs <sbits>| 1 | 2 | MIN | MAX :SBITs? [MIN | MAX] :TRANsmit :AUTO <auto_cntrl>| 1 | 0 | ON | OFF :AUTO? :PACE [:PROTocol] <protocol> XON | NONE [:PROTocol]? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 205: Communicate:gpib:address

    SERial[n] command. 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 Keysight 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 installed at the next sequential logical address becomes card number 2, and so on.
  • Page 206: Example

    Keysight E1406A Command Reference SYSTem Subsystem – Serial communication settings for the Keysight E1324A RS-232/422 Terminal Interface can be stored in its on-board non-volatile EEROM only after the DIAG:COMM:SER[n]:STOR command is executed. These settings are used at power-up and DIAG:BOOT[:WARM].
  • Page 207: Example

    (STANdard), or can be used as a hardware handshake line (IBFull). Parameters Parameter Parameter Range of Values Default Name Type Units <rts_cntrl> discrete ON | OFF | STAN | IBF none Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 208: Comments

    Unassert the RTS Line SYST:COMM:SER0:CONT:RTS OFF :COMMunicate:SERial[n]:CONTrol:RTS? SYSTem:COMMunicate:SERial[n]:CONTrol:RTS? returns the current setting for RTS line control. Example Check the Setting of RTS Control SYST:COMM:SER0:CONT:RTS? enter statement Statement enters the string "ON", "OFF", "STAN", or "IBF". Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 209: Communicate:serial[N][:Receive]:Baud

    -- The maximum allowable setting if MAX is sent. -- The minimum allowable setting if MIN is sent. Example Query the Current Baud Rate SYST:COMM:SER0:BAUD? enter statement Statement enters a numeric value. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 210: Communicate:serial[N][:Receive]:Bits

    9 - disallowed NONE NONE NONE 12 - disallowed – DIAG:BOOT:COLD will set ...BITS to 8. – Related Commands: SYST:COMM:SER[n][:REC]:PAR – *RST Condition: No change. Example Configure Data Width to 7 Bits SYST:COMM:SER0:BITS 7 Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 211: Communicate:serial[N][:Receive]:Bits

    ...STOP threshold, and XON when the buffer reaches the ...STARt threshold. – For an Keysight E1324A, AUTO is always ON. In this case ...[:RECeive]:PACE will also set ...TRAN:PACE – The XON character is Control Q (ASCII 1710, 1116), The XOFF character is Control S (ASCII 1910, 1316).
  • Page 212: Communicate:serial[N][:Receive]:Pace[:Protocol]

    – ...PACE:PROT XON, ...CONT:DTR IBF, or ...CONT:RTS IBF has been sent. – Related Commands: SYST:COMM:SER[n][:REC]:PACE[:PROT] XON | NONE, SYST:COMM:SER[n]:CONT:DTR, SYST:COMM:SER[n]:CONT:RTS – *RST Condition: No change. Example Set Interface to Send XON When Input Buffer Contains 10 Characters SYST:COMM:SER0:PACE:PROT XON SYST:COMM:SER0:PACE:THR:STAR 10 Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 213: Communicate:serial[N][:Receive]:Pace:threshold:start

    – ...STOP must be set to greater than ...STARt. – The ...THR:STOP command has no effect unless – ...PACE:PROT XON, ...CONT:DTR IBF, or ...CONT:RTS IBF has been sent. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 214: Example

    Parameters Parameter Parameter Range of Values Default Name Type Units <type> discrete EVEN | ODD | ZERO | ONE | NONE none Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 215: Comments

    – Received parity will not be checked unless ...PAR:CHEC ON is has been sent. Transmitted data will include the specified parity whether – ...PAR:CHEC is ON or OFF. – DIAG:BOOT:COLD will set ... PARity to NONE. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 216: Example

    – When check_cntrl is set to 0 or OFF, received data is not checked for correct parity. Transmitted data still includes the type of parity configured with ...PARity <type>. – DIAG:BOOT:COLD will set ...CHECk to OFF. – Related Commands: SYST:COMM:SER[n][REC]:PAR <type> – *RST Condition: No change. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 217: Example

    – ...PARity <type> commands, there are two combinations which are disallowed because of their data frame bit width. The following table shows the possible combinations: … BITS … PARity <type> … SBITs Frame Bits NONE 9 - disallowed NONE Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 218: Example

    OFF, the transmit pacing mode may be set independently of the receive pacing mode. Parameters Parameter Parameter Range of Values Default Name Type Units <auto_cntrl> boolean 0 | 1 | ON | OFF none Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 219: Comments

    SYSTem Subsystem Keysight E1406A Command Reference Comments – For an Keysight E1324A, AUTO is always ON. Trying to set OFF or 0 will generate an error. – DIAG:BOOT:COLD will set ...AUTO to ON. – Related Commands: SYST:COMM:SER[n][:REC]:PACE[:PROT], SYST:COMM:SER[n]:TRAN:PACE[:PROT] – *RST Condition: ...TRAN:AUTO ON...
  • Page 220: Example

    Must round to 1 through last day of month. none Comments – The upper limit on the day parameter is dependent on the month parameter and may be dependent on the year parameter in the case of a leap year. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 221: Example

    – The SYST:ERR? command can be used to determine if any configuration errors occurred during the power-on sequence. – When SYST:ERR? is sent while the error queue is empty, the System instrument responds with +0,"No error". Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 222: Example

    When no parameter is sent: the current system time is in the form +HH,+MM,+SS, where HH can be 0 through 23 hours, MM can be 0 through 59 minutes, and SS can be 0 through 60 seconds. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 223: Example

    – The returned information is in the format: YYYY.R; where YYYY is the year, and R 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 Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 224: Vxi Subsystem

    :ETABle? :HIERarchy? :ALL? :INFormation? :ALL? :ITABle <address> :ITABle? :LADDress? :MEXTender? :MEXTender :ECLTrg<n> <direction> :INTerrupt<n> <direction> :TTLTrg<n> <direction> :MTABle <address> :MTABle? :NUMber? :MEXTender? :QUERy? <logical_addr> :READ? <logical_addr>,<register_addr> :RECeive [:MESSage]? <logical_addr>[,<end_of_msg>] :REGister :READ? <register> Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 225 :GDEVice <cmdr_laddr> :ICOMmander :RDEVice <logical_addr> :RHANdlers :RHLine <hand_id> :RILine <int_id> :RINTerrupter :RMODid :RPERror :RPRotocol :RSARea :RSTB :SLModid <enable>,<modid> (0-127) :SLOCk :SUModid <enable>,<modid> (0-63) :TRIGger :MESSage :RECeive? <count | terminator> :SEND <msg_string>[,(END | NEN)] Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 226: Configure:ctable

    RAM (allocated using DIAG:NRAM:CREate) where you stored the commander/servant hierarchy table. – Tables must start on an even address. Note that DIAG:NRAM:CREate allocates RAM for the table with an even starting address. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 227: Example

    Reboot system to implement table. :CONFigure:CTABle? VXI:CONFigure:CTABle? returns the starting address of the user’s commander/servant hierarchy table. Example Query Address of the Commander/Servant Hierarchy Table VXI:CONF:CTABle? Ask for address. enter statement Return address. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 228: Configure:dctable

    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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 229: Configure:dctable

    For new programs you should use the VXI:CONF:LADDress? command. – 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 230: Configure:dlist

    Pass/Failed. Up to 5 data characters which define the status of the device; FAIL | IFAIL | PASS | READY. FAIL = failed self-test, IFAIL = configuration register initialization fails, PASS = self-test passed, READY = ready to receive commands Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 231: Parameters

    Query the device list for the System Instrument dimension string[1000] string size large in case of multiple device list. VXI:CONF:DLIS? 0 Ask for the device list for the System instrument. enter string Enter return data into string. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 232: Configure:dnumber

    Name Type Units <address> numeric (DIAG:NRAM:ADDR?) none Comments – Be certain that address specifies the starting address of the area in user RAM (allocated using DIAG:NRAM:CREate) where you stored the extender table. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 233: Example

    (that is, the requested device is not in the mainframe or the command module’s servant area) then Error -224, "Illegal parameter value" will be set and no response data will be sent. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 234: Comments

    Information in the other fields correspond to the card for which the logical address was specified. – Related Commands: VXI:SELect, VXI:CONF:HIERarchy:ALL?, VXI:CONF:LADDress? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 235: 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 236: Comments

    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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 237: Configure:information:all

    RAM. – For more information see the section “ User-Defined Interrupt Line Allocation Table”. – Related Commands: DIAG:NRAM:CREate, DIAG:NRAM:ADDRess?, DIAG:DOWNload, VXI:CONF:ITABle? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 238: Example

    Comments – Related Commands: VXI:SELect, VXI:CONF:NUMBer? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 239: Configure:laddress:mextender

    "trigger not supported" error will be returned. – 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 240: Example

    (mainframe) that it is plugged into or it can direct the interrupt line out of the card cage. – If you specify NONE the interrupt line will be disabled and will not be directed in or out. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 241: Example

    – The trigger line affected is specified in the TTLTrg<n> node of the command by a number ranging from 0 to 7. Numbers greater than 7 will generate Error -113, "Undefined header". Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 242: Example

    (resource manager) processor. The command module must be the acting resource manager in order for the table to be implemented. Parameters Parameter Parameter Default Name Type Range of Values Units <address> numeric (DIAG:NRAM:ADDR?) none Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 243: Comments

    Reboot system to implement table. :CONFigure:MTABle? VXI:CONFigure:MTABle? returns the starting address of the user’s A24/A32 address allocation table. Example Query Address of A24/A32 Address Allocation Table VXI:CONF:MTABle? Ask for address. enter statement Return address. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 244: Configure:number

    – VXI:QUERy? can be used to read the response in the Data Low Register when the VXI:SEND:COMM command is ANY, and the command sent is a query. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 245: Example

    (#H), octal (#Q), or binary (#B). – Accesses are 16-bit non-privileged data accesses. – This command has been retained for compatibility with existing programs. For new programs you should use VXI:REG:READ?. – Related Commands: VXI:WRITe, VXI:REGister:READ? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 246: Example

    END | LF | CRLF). – This command has been retained for compatibility with existing programs. For new programs you should use the VXI:WSP:MESS:REC? command – Related Commands: VXI:SEND[:MESSage], VXI:WSProtocol:MESSage:RECeive?, VXI:WSProtocol:MESSage:SEND Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 247: Example

    ID: ID Register (0) ISTatus: Interrupt Status Register (26) LAWindow: Logical Address Configuration Register (10) TTConfigure: TTL Trigger Configuration Register (20) MODid: MODID Register (8) OFFSet: Offset Register (6) PROTocol: Protocol Register (8) Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 248: Example

    (optional) words: A16 Window: A16 Window Map Register (12) A24 Window: A24 Window Map Register (14) A32 Window: A32 Window Map Register (16) CONTrol: Control Register (4) DEXTended: Data Extended Register (10) Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 249: Example

    Reset bit, waits 100?s, then clears Reset. When the device has passed its self-test, Sysfail Inhibit is cleared. If the device fails during the reset (does not assert "Passes" within 4.9 sec), Sysfail Inhibit remains asserted. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 250: Example

    VXI:ROUTe:ECLTrg<n> configures the routing of the ECL trigger line specified by <n> for all mainframe extenders in the system. Parameters Parameter Parameter Range of Values Default Name Type Units <n> numeric 0 or 1 none Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 251: Comments

    – 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<n>, VXI:ROUTe:ECLTrg<n>, VXI:CONFigure:MEXTender Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 252: Route:ttltrg

    VXI:SELect <logical_addr> specifies the logical address to be used by many subsequent commands in the VXI subsystem. Parameters Parameter Parameter Default Name Type Range of Values Units <logical_addr> numeric Must round to 0 through 255. none Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 253: Comments

    VXI subsystem commands to 64. :SELect? VXI:SELect? returns the logical address which will be used by many subsequent commands in the VXI subsystem. If no logical address has been selected, this query will return -1. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 254: Send:command

    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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 255: Send:command

    It then waits for and returns a 16-bit response value. Parameters Parameter Name Parameter Type Range of Values Default Units <logical_addr> numeric Must round to 0 through 255. none Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 256: Comments

    – <data1> and <data2> may be specified in decimal, hex (#H), octal (#Q), or binary (#B) formats. – VXI:SEND:COMMand uses the Word Serial Transfer Protocol. This protocol is described in the VXIbus System Specification Manual. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 257: Example

    – The last byte of msg_string is sent with the END bit set unless end_flag is specified as NOENd. – If CR or CRLF is to be sent, they must be included in msg_string. – Null characters (ASCII value 0) must not occur in msg_string. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 258: Example

    (#H), octal (#Q), or binary (#B) format. – This command has been retained for compatibility with existing programs. For new programs you should use the VXI:REG:WRIT command. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 259: Example

    – 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 260: Wsprotocol:command:command

    (0 | 1 | OFF | ON) Set Lower MODID (lines 0 - 6) :RMODid Set Lock :RPERror Set Upper MODID (lines 7 - 12) :RPRotocol Trigger :RSARea :RSTB :SLModid :SLOCk :SUModid :TRIGger Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 261: Comments

    (count), or on a match to a particular terminator (That is, LF, CRLF, END). – The response is returned as a string. – Related Commands: VXI:SELect, VXI:WSProtocol:MESSage:SEND Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 262: Wsprotocol:message:send

    Any valid test string. none <end_bit> discrete END | NEN Comments – The last byte of the string is sent with the end_bit set unless you specify NEN (NoENd). – Related Commands: VXI:SELect, VXI:WSProtocol:MESSage:RECeive? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 263: Wsprotocol:query:command

    – Related Commands: VXI:SELect, VXI:WSProtocol:COMMand :WSProtocol:RESPonse? VXI:WSProtocol:RESPonse? returns one word of data from the data low register on the selected logical address. This command obeys the byte transfer protocol. The data is returned as an integer. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 264: Common Command Reference

    Get Macro Query *EMC? Learn Macro Query *GMC? <name> Purge all Macros Command *LMC? Remove individual Macro Command *PMC *RMC <name> Synchronization *OPC Operation Complete Command *OPC? Operation Complete Query *WAI Wait-to-Continue Command Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 265: Cls

    Enable Macros Command when enable is non-zero, macros are enabled. When enable is zero, macros are disabled. *EMC? Enable Macros Query returns either "1" (macros are enabled), or "0" (macros are disabled) for the selected instrument. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 266: Ese

    *ESE command. Example 10 OUTPUT 70900;"*ESR?" Send Standard Event Status Register query. 20 ENTER 70900;A Place response in variable. 30 PRINT Print response. 40 END Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 267: Gmc?

    The *IDN? command returns the following command string for the 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 Keysight E1406A Loader instrument (Flash ROMS Run/Load switch is in the "Load" position): HEWLETT-PACKARD,LOADER,0,A,01.00 The revision will vary with the revision of the downloaded operating system installed in the system.
  • Page 268: Example

    Your application program can enter the *LRN? response data into a string variable, later to be sent back to the instrument to restore that configuration. Example response from an Keysight E1326B multimeter in the power-on state: *RST;:CAL:ZERO:AUTO 1; :CAL:LFR +60; VAL +0.00000000E+000;...
  • Page 269: 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 270: Rmc

    <mask>. To enable more than one event, specify the sum of the decimal weights. Refer to Chapter 4 in this manual for more information on the Status Byte Register. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 271: Example

    Self-Test causes an instrument to execute an internal self-test and returns a response showing the results of the self-test. A 0 (zero) response indicates that self-test passed. A value other than zero indicates a self-test failure or error. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 272: Example

    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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 273: Gpib Message Reference

    Clear the System instrument. Go To Local (GTL) Places an instrument in local state. Comments – Refer to the Local Lockout message later in this chapter for information on how GTL affects front panel lockout. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 274: Example

    LISTEN command). Comments – For instruments in the servant area of an Keysight E1406A Command Module, only one instrument at a time can be programmed to respond to GET. This is because only one instrument can be addressed to listen at any one time.
  • Page 275: Example

    REN. Most controllers set the REN line true when power is applied or when reset. Example REMOTE 7 Sets GPIB REN line true. REMOTE 70900 Sets REN line true and addresses System instrument. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 276: Serial Poll (Spoll)

    – The SPOLL command differs from the *STB? command in that SPOLL clears bit 6 (SRQ). Executing *STB? does not clear bit 6. Example 10 P=SPOLL (70900) Send Serial Poll and place response into P. 20 DISP P Display response. 30 END Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 277: Common Commands Quick Reference

    Keysight E1406A Command Reference Common Commands Quick Reference The following table summarizes IEEE 488.2 common (*) commands for the Keysight E1406A Command Module. All common commands are available in RUN mode and LOAD mode. IEEE 488.2 Common Commands Quick Reference...
  • Page 278 Keysight E1406A Command Reference Common Commands Quick Reference Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 279: Keysight E1406A Specifications And General Information

    This module returns 01416 as the device type in response to a VXI:CONF:DLIS? query if the Keysight E1406A is set up as a slot zero device and 11416 if the Keysight E1406A is set up as a non-slot zero device.
  • Page 280: Memory

    For 10 ° C rise 1.5 liters/second 0.4mm H SCPI Conformance Information The Keysight E1406A conforms to SCPI-1994.0. The following tables list all the SCPI confirmed and non-SCPI commands that the Keysight E1406A can execute. Individual commands may not execute without having the proper plug-in module installed in the mainframe.
  • Page 281 :CPON CLOSe :CTYPe? CLOSe? :ERRor? OPEN :VERSion? OPEN? TRIGger SCAN [:IMMediate] :SOURce :SLOPe Table A-2. Switchbox Non-SCPI Commands DISPlay [ROUTe:] :MONitor SCAN :CARD [:LIST] [:STATe] :MODE :PORT SYSTem :CDEScription? :SETTling [:TIME] :TIME? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 282: Multimeter Commands

    Keysight E1406A Specifications and General Information SCPI Conformance Information Multimeter Commands The following tables apply to the Keysight E1326A/B multimeters. Table A-3. Multimeter SCPI-1994.0 Confirmed Commands ABORt [SENSe:] FUNCtion CALibration FUNCtion? :VALue RESistance :ZERO :APERture :AUTO :APERture? :AUTO? :NPLCycles :NPLCycles?
  • Page 283 :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? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 284: Counter Commands

    Keysight E1406A Specifications and General Information SCPI Conformance Information Counter Commands The following tables apply to the Keysight E1332A 4-Channel Counter/Totalizer and the Keysight E1333A 3-Channel Universal Counter. Table A-5. Keysight E1332A SCPI-1994.0 Confirmed Commands ABORt READ? CONFigure [SENSe:] :FREQuency...
  • Page 285 Table A-6. Ke ysight E1332A Non-SCPI Commands CONF[<channel>] [SENSe[<channel>:]] :TOTalize EVENt :TINTerval :LEVel :UDCount :LEVel? :SLOPe DISPlay :SLOPe? :MONitor PERiod :CHANnel :NPERiods :CHANnel? :NPERiods? [:STATe] TOTalize [:STATe]? :GATE :POLarity INPut :POLarity? :ISOLate [:STATe] :ISOLate? [:STATe]? MEASure[<channel>] :TINTerval? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 286 INITiate [:EVENt]? [:IMMediate] :PREset :QUEStionable INPut :CONDition? :ATTenuation :ENABle :ATTenuation? :ENABle? :COUPling :[EVENt]? :COUPling? :FILTer SYSTem [:LPASs] :ERRor? [:STATe] :VERSion? [:STATe]? :IMPedance TRIGger :IMPedance? [:IMMediate] :SOURCe MEASure :SOURCe? :FREQuency? :NWIDth? :PERiod? :PWIDth? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 287: D/A Converter Commands

    RATio [:STATe]? :NPERiods :NPERiods? MEASure[<channel>] TINTerval :RATio? :NPERiods :TINTerval? :NPERiods? D/A Converter Commands The following tables apply to the Keysight E1328A 4-Channel D/A Converter. Table A-9. Keysight E1328A SCPI-1994.0 Confirmed Commands CALibration STATus [:STATe] :QUEStionable [:STATe]? :CONDition? :ENABle SYSTem :ENABle?
  • Page 288: Digital I/O Commands

    :FUNCtion <channel>? DISPlay :VOLTage <channel> :MONitor :VOLTage <channel>? :CHANnel :CHANnel? [:STATe] :STRing? Digital I/O Commands The following tables apply to the Keysight E1330A/B Quad 8-bit Digital I/O Module. Table A-11. Keysight E1330A/B SCPI-1994.0 Confirmed Commands STATus SYSTem :OPERation :ERRor? :CONDition? :VERSion?
  • Page 289 [: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 Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 290: System Instrument Commands

    :CONDition? :CONFigure :SUModid :ENABle :DNUMber? :TRIGger :ENABle? :HIERarchy? :MESSage [:EVENt]? :ALL? :RECeive? :NTRansition :INFormation? :SEND :PTRansition :ALL? :PREset :LADDress? :QUEStionable :NUMBer? :CONDition? :REGister :ENABle :READ? :ENABle? :WRITe [:EVENt]? :RESet? :NTRansition :SELect :PTRansition Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 291 :CREate :UPLoad? :COMMand :CREate? [:MADDress] [:MESSage] :DRIVer :SADDress :WRITe :INSTall :LIST OUTPut [:ALL]? :EXTernal :FROM? :IMMediate :RAM? :LEVel :ROM? [:IMMediate] :LOAD [:IMMediate]? :CHECked :SOURce :FROM :SOURce? :AVAilable [:STATe] :CREate [:STATe]? :CREate? :SIZE? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 292 Keysight E1406A Specifications and General Information SCPI Conformance Information Table A-15. IEEE Mandated Common (*) Commands *CLS *RST *ESE *SRE *ESE? *SRE? *ESR? *STB? *IDN? *TST? *OPC *WAI *OPC? Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 293: Keysight E1406A Error Messages

    E1406A User Manual and SCPI Programing Guide Keysight 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 294: Error Types

    – A parameter within a command is outside the limits or inconsistent with the capabilities of an instrument. – A valid command could not be executed because of an instrument failure or other condition. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 295: Device-Specific Errors

    Event Status Register. Query errors can be caused by the following: – An attempt was made to read the instrument’s output queue when no output was present or pending. – Data in the instrument’s output queue has been lost for some reason. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 296 "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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 297 Configuration Table does not assign it a secondary address. address A secondary address assigned by a user configuration table is illegal. +2115 Duplicate secondary address A secondary address specified by a user configuration table is used more than once. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 298 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 299 I or I4 device is violating VXI specification. +2147 Granted device not found A Keysight 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 300 A DIAG:INT:ACT or DIAG:INT:RESP command was executed before setting the interrupt with DIAG:INT:SET. +2810 Not a handler for this line An attempt was made to set up an interrupt with DIAG:INT:SET for a line that has no handler. (see VXI:CONF:ITAB). Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 301: Start-Up Error Messages And Warnings

    Unable to move DC device 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 302 Invalid UDEF address space The address specified in the memory table is A24 but the device is A32, or vice versa. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 303 Driver RAM was corrupted or a cold boot was executed. VME system controller disabled VME SYSTEM CONTROLLER switch is disabled on the Keysight E1406A module. Extender not slot 0 device VXIbus extender in remote mainframe is not in slot 0 of its mainframe.
  • Page 304 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. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 305: Keysight E1406A Command Module A16 Address Space

    Module A16 Address Space About This Appendix Many Keysight 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 306: Register Addressing

    1FC00016 (2,080,76810) is the starting location of the VXI A16 addresses, LADDR is the device’s logical address, and 64 is the number of address bytes per register-based device. For example, the Keysight E1411B multimeter has a factory set logical address of 24. If this address is not changed, the multimeter...
  • Page 307: Sending Binary Data Over

    E1406A User Manual and SCPI Programing Guide 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 DIAG:DOWN:CHEC[:MADD], DIAG:DOWN:CHEC:SADD, and DIAG:DRIV:LOAD:CHEC commands. This appendix contains the following main sections.
  • Page 308 Table D-1 Correction Codes for RS-232 Transmission Data Value Correction Byte in Hex Byte in Code Decimal 8016 F116 E216 9316 D416 A516 B616 C716 B816 C916 DA16 AB16 EC16 9D16 8E16 FF16 Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 309: Sending Binary Data Over Rs-232

    For instance, a block of 1000 bytes would have a definite block header of #41000. Due to the formatting required, the size of the block when using the DIAG:DOWN:CHEC command is twice the length of the data in bytes. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 310 The carriage returns are not considered part of the block count. After the last byte of data, there must be a carriage return to terminate the transmission for a definite block or a "!" and carriage return for an indefinite block. Keysight E1406A User Manual and SCPI Programing Guide...
  • Page 312 This information is subject to change without notice. © Keysight Technologies, 1996-2019 Printed in Malaysia Edition 5 April 2019 *E1406-90004* E1406-90004 www.keysight.com...

This manual is also suitable for:

E1406a

Table of Contents