No part of this manual may be reproduced in any form or by any means
(including electronic storage and retrieval
or translation into a foreign language)
without prior agreement and written consent from Keysight Technologies, Inc. as
governed by United States and international copyright laws.
Manual Part Number
E8402-90002
Edition
Third Edition, October 2019
Published by
Keysight Technologies, Inc.
900 S. Taft Ave.
Loveland, CO 80537 USA
Sales and Technical Support
To contact Keysight for sales and technical support, refer to the support links on
the following Keysight websites:
www.keysight.com/find/E8402A
(product-specific information and support, software and documentation
updates)
www.keysight.com/find/assist (world-
wide contact information for repair and
service)
Declaration of Conformity
Declarations of Conformity for this product and for other Keysight products may
be downloaded from the Web. Go to
http://keysight.com/go/conformity and
click on “Declarations of Conformity.” You
can then search by product number to
find the latest Declaration of Conformity.
Technology Licenses
The hardware and/or software described
in this document are furnished under a
license and may be used or copied only in
accordance with the terms of such
license.
Warranty
THE MATERIAL CONTAINED IN THIS
DOCUMENT IS PROVIDED “AS IS,” AND
IS SUBJECT TO BEING CHANGED,
WITHOUT NOTICE, IN FUTURE EDITIONS. FURTHER, TO THE MAXIMUM
EXTENT PERMITTED BY APPLICABLE
LAW, KEYSIGHT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED,
WITH REGARD TO THIS MANUAL AND
ANY INFORMATION CONTAINED
HEREIN, INCLUDING BUT NOT LIMITED
TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. KEYSIGHT
SHALL NOT BE LIABLE FOR ERRORS OR
FOR INCIDENTAL OR CONSEQUENTIAL
DAMAGES IN CONNECTION WITH THE
FURNISHING, USE, OR PERFORMANCE
OF THIS DOCUMENT OR OF ANY INFORMATION CONTAINED HEREIN. SHOULD
KEYSIGHT AND THE USER HAVE A SEPARATE WRITTEN AGREEMENT WITH
WARRANTY TERMS COVERING THE
MATERIAL IN THIS DOCUMENT THAT
CONFLICT WITH THESE TERMS, THE
WARRANTY TERMS IN THE SEPARATE
AGREEMENT SHALL CONTROL.
Keysight Technologies does not warrant
third-party system-level (combination of
chassis, controllers, modules, etc.) performance, safety, or regulatory compliance unless specifically stated.
DFARS/Restricted Rights
Notices
If software is for use in the performance
of a U.S. Government prime contract or
subcontract, Software is delivered and
licensed as “Commercial computer software” as defined in DFAR 252.227-7014
(June 1995), or as a “commercial item” as
defined in FAR 2.101(a) or as “Restricted
computer software” as defined in FAR
52.227-19 (June 1987) or any equivalent
agency regulation or contract clause.
Use, duplication or disclosure of Software
is subject to Keysight Technologies’ standard commercial license terms, and nonDOD Departments and Agencies of the
U.S. Government will receive no greater
than Restricted Rights as defined in FAR
52.227-19(c)(1-2) (June 1987). U.S. Government users will receive no greater
than Limited Rights as defined in FAR
52.227-14 (June 1987) or DFAR 252.2277015 (b)(2) (November 1995), as applicable in any technical data.
Safety Information
The following general safety precautions must be observed during all
phases of operation of this instrument.
Failure to comply with these precautions or with specific warnings or operating instructions in the product
manuals violates safety standards of
design, manufacture, and intended use
of the instrument. Keysight Technologies assumes no liability for the customer's failure to comply with these
requirements.
General
Do not use this product in any manner not
specified by the manufacturer. The protective features of this product must not be
impaired if it is used in a manner specified in
the operation instructions.
Before Applying Power
Verify that all safety precautions are taken.
Make all connections to the unit before
applying power. Note the external markings
described under “Safety Symbols”.
Ground the Instrument
Keysight chassis’ are provided with a
grounding-type power plug. The
instrument chassis and cover must be
connected to an electrical ground to
minimize shock hazard. The ground pin
must be firmly connected to an electrical ground (safety ground) terminal at
the power outlet. Any interruption of
the protective (grounding) conductor
or disconnection of the protective
earth terminal will cause a potential
shock hazard that could result in personal injury.
Do Not Operate in an Explosive
Atmosphere
Do not operate the module/chassis in
the presence of flammable gases or
fumes.
Do Not Operate Near Flammable
Liquids
Do not operate the module/chassis in
the presence of flammable liquids or
near containers of such liquids.
Cleaning
Clean the outside of the Keysight module/chassis with a soft, lint-free,
slightly dampened cloth. Do not use
detergent or chemical solvents.
Do Not Remove Instrument Cover
Only qualified, service-trained personnel who are aware of the hazards
involved should remove instrument
covers. Always disconnect the power
cable and any external circuits before
removing the instrument cover.
Keep away from live circuits
Operating personnel must not remove
equipment covers or shields. Procedures involving the removal of covers
and shields are for use by servicetrained personnel only. Under certain
conditions, dangerous voltages may
exist even with the equipment
switched off. To avoid dangerous electrical shock, DO NOT perform procedures involving cover or shield removal
unless you are qualified to do so.
DO NOT operate damaged
equipment
Whenever it is possible that the safety
protection features built into this product have been impaired, either through
physical damage, excessive moisture,
or any other reason, REMOVE POWER
and do not use the product until safe
operation can be verified by servicetrained personnel. If necessary, return
the product to a Keysight Technologies
Sales and Service Office for service and
repair to ensure the safety features are
maintained.
DO NOT block the primary
disconnect
The primary disconnect device is the
appliance connector/power cord when
a chassis used by itself, but when
installed into a rack or system the disconnect may be impaired and must be
considered part of the installation.
Do Not Modify the Instrument
Do not install substitute parts or perform any unauthorized modification to
the product. Return the product to a
Keysight Sales and Service Office to
ensure that safety features are maintained.
In Case of Damage
Instruments that appear damaged or
defective should be made inoperative
and secured against unintended operation until they can be repaired by
qualified service personnel
Do NOT block vents and fan exhaust:
To ensure adequate cooling and ventilation, leave a gap of at least 50mm
(2") around vent holes on both sides of
the chassis.
Do NOT operate with empty slots: To
ensure proper cooling and avoid damaging equipment, fill each empty slot
with an AXIe filler panel module.
Do NOT stack free-standing chassis:
Stacked chassis should be rackmounted.
All modules are grounded through the
chassis: During installation, tighten
each module's retaining screws to
secure the module to the chassis and
to make the ground connection.
Operator is responsible to maintain
safe operating conditions. To ensure
safe operating conditions, modules
should not be operated beyond the full
temperature range specified in the
Environmental and physical specification. Exceeding safe operating conditions can result in shorter lifespan,
improper module performance and
user safety issues. When the modules
are in use and operation within the
specified full temperature range is not
maintained, module surface temperatures may exceed safe handling conditions which can cause discomfort or
burns if touched. In the event of a
module exceeding the full temperature
range, always allow the module to cool
before touching or removing modules
from the chassis.
iv
Safety Symbols
A CAUTION denotes a hazard. It
calls attention to an operating procedure or practice, that, if not correctly 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 conditions are fully understood and met.
A WARNING denotes a hazard. It
calls attention to an operating procedure or practice, that, if not correctly performed or adhered to,
could result in personal injury or
death. Do not proceed beyond a
WARNING notice until the indicated conditions are fully understood and met.
Products display the following symbols:
Warning, risk of electric
shock
Refer to manual for additional safety information.
xivKeysight E1406A User Manual and SCPI Programming Guide
Keysight E8402A, E8404A C-Size Mainframes
User and Service Guide
1Getting Started
This chapter contains general information on the operating features of the
E8402A and E8404A C-Size VXI mainframes. The following table lists the major
differences between these two mainframes:
Unless otherwise specifically noted, descriptions in this manual relate to both VXI
mainframes. The designation Keysight E840xA refers to both mainframes.
Chapter 2 provides a complete Enhanced Monitor description.
Product Overview
The Keysight E840xA VXI mainframes are designed in full compliance with
VXIbus specification revision 1.4, VXIplug&play specification VPP-8, and VMEbus
system specification revision C.1. Additional features of the Keysight E840xA
mainframes include:
– Mainframe monitoring of:
Power Supply
500 W 1000 W
Keysight E8402A Mainframeüü
Keysight E8404A Mainframeüü
-- backplane voltage conditions
-- individual slot and power supply temperatures
Enhanced
Monitor
-- fan and impeller operation
– State of the art cooling technology:
-- quiet, variable speed power supply fan and backplane impeller
-- increased static pressure
– Front panel Diagnostic Connector for:
-- power supply voltage measurements
-- power supply and backplane temperature measurements
-- power supply fan and backplane impeller verification
15
Getting StartedPreparing Your VXI System for Use
– Color Graphical Enhanced Monitor Display:
-- Help messages localized in English, French, German, Spanish
-- Stripcharts and Histograms for easy diagnostics
-- Three Temperature sensors per mainframe slot
-- Display of each power supply voltage or current
-- User text messages
– Easy maintenance:
-- rear panel access to power supply, power supply fan, and cooling
impeller for either bench or rack mount operation.
Preparing Your VXI System for Use
The Keysight E840xA mainframes are shipped from the factory ready to use. This
section describes important mainframe installation procedures.
AC Power Requirements
The Keysight E840xA mainframes can be operated at line voltages of
90 VAC to 264 VAC, and line frequencies of 47 Hz to 66 Hz. The mainframe can
also operate at 360 Hz to 440 Hz with line voltages of
90 VAC to 132 VAC.
The mainframes ship with a power cord and with a fast blow fuse installed. The
fuse is suitable for all line voltages. The fuse is not user replaceable. Refer to
“Replacement Power Cords” on page 274 for additional information on E840xA
power cords and on fuse replacement. Appendix A contains complete input
power specifications.
The power cord is the only way to disconnect the mainframe
from AC power and, therefore, it must be accessible to the
operator at all times. When the Keysight E840xA mainframes
are mounted in a system cabinet, the power cord need not be
accessible since the cabinet must have its own disconnect
device.
Positioning the Mainframe for Adequate Cooling
VXI instruments are cooled by air drawn through the back of the mainframe and
exhausted out the sides. The power supply is cooled by air drawn from the right
side (facing the mainframe) and exhausted out the left side. When placing the
mainframe on a work bench or if the mainframe is rack mounted, provide at least
a one inch clearance at the back and sides to allow for proper air flow.
16Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Preparing Your VXI System for UseGetting Started
TOOTHED
WASHERS
BACK COVER
WIRE LUG
GREEN WIRE
WITH YELLOW
STRIPE
PERMA NENT EA RTH
GROUND CONNECTION
LOCATION
Air filters are not necessary on these mainframes. However, an optional air filter
kit (mainframe option 938 or Keysight E8401-80938) is available for use in harsh
environments. The airflow is restricted less than 10% with the air filter installed.
Refer to “Keysight E840xA Air Filter Kit” on page 311 for installation information.
Connecting the Mainframe to a Permanent Earth Ground
The mainframe must be connected to a permanent earth ground for line
frequencies greater than 66 Hz. This connection is made on the back of the
mainframe:
1 Connect a 16 AWG (1.3 mm or larger) wire to the PEM nut shown in Figure 1.
The wire must be green with a yellow stripe, or bare (no insulation). Use a m4
x 10 screw, grounding lug, and toothed washers (or toothed lug) as shown in
the figure below.
2 Attach the other end of the wire to a permanent earth ground using toothed
washers or a toothed lug.
Figure 1-1 Connecting an Keysight E840xA Mainframe to a Permanent Earth Ground
(Keysight E8404 shown, Keysight E8402 is similar)
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide17
Getting StartedPreparing Your VXI System for Use
For protection from electrical shock when operating at
frequencies greater than 66 Hz, connect the chassis ground
terminal to permanent earth ground.
AVERTISSEMENT
Risque de Choch èlectrique. Si la frèquence du secteur est
supèrieure à 66 Hz, relier la borne de masse du chassis à
une prise de terre fixe.
18Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Installing VXI InstrumentsGetting Started
Installing VXI Instruments
The Keysight E840xA mainframes have 13 slots labeled 0 through 12. Any VXI
instrument can be installed in any slot; however, slot 0 is reserved for devices
capable of providing the system’s slot 0 functionality. This functionality includes:
– locating instruments installed in the mainframe
– managing (arbitrating) data flow across the backplane
– providing the system clock (SYSCLK - 16 MHz)
Examples of these devices are the Keysight E1406 Command Module and
embedded controllers such as the Keysight E623x series VXI Pentium PCs, the
Keysight RADEPC7B PC, and the Keysight E1497/E1498 V743 controllers.
Multiple instruments which combine to create a virtual instrument (e.g. a
scanning multimeter), and instruments which access the backplane local bus
should be installed in adjacent slots.
1 To prevent damage to the VXI instruments, turn off the mainframe prior to
installing the instruments.
2 Insert the instrument into the mainframe by aligning the instrument with the
card guides inside the mainframe. Slowly push the instrument into the slot
until it seats in the backplane connectors. The front panel of the instrument
should be even with the front edges of the mainframe.
3 Tighten the retaining screws on the top and bottom of the module.
All instruments within the VXI mainframe are grounded
through the mainframe chassis. During installation, tighten
the instrument's retaining screws to secure the instrument
to the mainframe and to make the ground connection.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide19
Getting StartedInstalling VXI Instruments
Retaining
Screws
Extraction
Levers
Slide the module
into the mainframe
until it plugs into the
backplane connectors
Seat the module by
pushing in the
extraction levers
Installing C-Size Instruments
Figure 2 shows the installation of C-Size instruments.
Figure 1-2 Installing C-Size Instruments in the Keysight E840xA Mainframe
All instruments within the VXI mainframe are grounded
through the mainframe chassis. During installation, tighten
the instrument's retaining screws to secure the instrument
to the mainframe and to make the ground connection.
20Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Installing VXI InstrumentsGetting Started
Slide the Adapter Module into
the Mainframe until it plugs into
the Backplane Connector
Connects
the Adapter Module until it
Slide the B-Size Module into
Installing A- and B-Size Instruments
Figure 3 shows the installation of A- and B-size instruments.
– Keysight E1403B A/B-size Module Carrier extends the P1 connector on the
VXIbus backplane and mounts the (A/B-size) modules flush with C-size
modules. This carrier is recommended for Keysight B-size, slave-only
devices which have the P1 connector.
– Keysight E1407A A/B Module Carrier extends the P1and P2 connectors on
the VXIbus backplane. This carrier is recommended for B-Size, slave-only
devices which have the P1/P2 connectors.
Figure 1-3 Installing A- and B-Size Instruments in the Keysight E840xA Mainframe
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide21
All instruments within the VXI mainframe are grounded
through the mainframe chassis. During installation, tighten
the instrument's retaining screws to secure the instrument
to the mainframe and to make the ground connection.
Getting StartedConfiguring Your Mainframe
10
128
64
32
16
8
4
2
1
7
0
LADDR
32+64+128=2 24
CLOSED = Switch Set to 1 (ON)
OPEN = Switch Set to 0 (OFF)
RS-232
Configuring Your Mainframe
Setting the Enhanced Monitor VXI Logical Address
The Enhanced Monitor of the Keysight E8402 and E8404 mainframes plugs into
the VXI backplane from the rear of the mainframe. It does not occupy a slot in the
mainframe or tie-up the MODID line. The enhanced monitor is a message-based
device, allowing easy communication over the VXIbus (for example, through a
command module or embedded controller) or a standard RS-232 interface. The
enhanced monitor does require a VXIbus address; 224 is the factory default.
Figure 4 shows the rear panel of the Keysight E8402/E8404 VXI mainframe with
the Enhanced Monitor logical address switches and RS-232 interface.
Figure 1-4 Rear panel of the Keysight E8402 and E8404 VXI Mainframes
+5V EXT
22Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Configuring Your MainframeGetting Started
RS-232 Interface
The RS-232 interface on the rear panel of the Enhanced Monitor mainframes
(Keysight E8402 and E8404) can be used to control the Enhanced Monitor from a
computer or a terminal.
Refer to Chapter 3 for RS-232 programming information. The
SYSTem:COMMunicate:SERial ... commands set and/or modify the configuration
of the Enhanced Monitor's serial interface. Serial communication commands
take effect after the end of the program message containing the command(s).
Default RS-232 parameters are:
– Baud: 9600
– Bits: 8
– Parity: None
– Stop bits: 1
– DTR/RTS: On
– Pace: XON
– Echo: On
– ERES: On
– Line buffer: On
External +5V Supply
The External +5V supply is for powering the Enhanced Monitor (including the
RS-232 interface) while the mainframe is powered down (standby mode). This
requires a stable 5 volt supply capable of 1.5A amps maximum (500mA typical,
refer to specifications in Appendix A). Refer to Figure 4.
If you use the Enhanced Monitor RS-232 interface (located on the
back of the mainframe) while the mainframe is in the standby
mode, you must supply an external +5Vdc to the +5VEXT
connector (located near the RS-232 interface). If you use the
RS-232 interface while the mainframe is powered on, you do not
need to provide the external +5Vdc.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide23
Getting StartedConfiguring Your Mainframe
13
2518
5
14
1
Power
Supply
Front
Panel
Switch
BACKPLANE
5
18
SUB D
CONNECTOR
HP E840X
Using the Remote Power-On Pins
The remote power-on pins (pins 5 and 18) of the Diagnostic Connector allow you
to turn the mainframe on and off without using the front panel On/Stdby switch.
With the On/Stdby switch in the Stdby (off) position, connecting pin 5 to pin 18
on the diagnostic connector turns the mainframe on. Disconnecting pin 5 from
pin 18 turns the mainframe off.
Figure 1-5 Remote Standby Switch Wiring.
Pin 18 is ground in the Keysight E8402 and E8404 mainframes.
Therefore, you only need to ground pin 5 to turn the mainframe
on.
24Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Configuring Your MainframeGetting Started
Location of
Resistor
Unplug
Unplug
Disabling the On/Stdby Switch
The front panel On/Stdby switch is disabled by removing surface mount 0
resistor located on the front monitor board (see Figure 6). The resistor is labeled:
REM PWR JUMPER.
Figure 1-6 Disabling the On/Stdby Switch
After removing the 0 resistor, heat damage may prevent the
resistor from being re-installed to re-enable the On/Stdby
switch.
To access the Monitor Display Board and resistor:
1 Turn off the mainframe and remove the power cord.
2 Remove the mainframe cover by removing the 10 m3x6 flat head torx screws.
3 Remove the 0resistor by heating both sides simultaneously with soldering
irons. Separate the resistor from the board by gently pressing the tips of the
soldering irons together.
4 Save the resistor in order to re-enable the On/Stdby switch. Again, heat
damage may prevent the resistor from being re-installed.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide25
Getting StartedMainframe Options and Accessories
Mainframe Options and Accessories
Table 0-1. Keysight E840xA VXI Mainframes options and accessories
DescriptionOption NumberProduct Number
Cable Tray KitOption 914Keysight
E8400-80914
Tinted Acrylic Door KitOption 915Keysight
E8400-80915
Backplane Connector ShieldsOption 918Keysight
E8400-80918
Intermodule Chassis Shield KitN/AKeysight
E8400-80919
Standard Rack Mount Adapter KitOption 923Keysight
E8400-80923
Flush Rack Mount KitOption 924Keysight
E8400-80924
VXIplug&play (VPP-8) Compatible Rack Mount KitOption 925Keysight
E8400-80925
Air Filter Accessory KitOption 938Keysight
E8400-80938
Support Rail for Standard Rack Mount Adapter or Flush Rack Mount KitN/AKeysight E3664A
Support Rail for VXIplug&play (VPP-8) Compatible Rack Mount KitN/AKeysight E3663A
Rack Slide Kit for Standard Adapter Kit or VXIplug&play (VPP-8) Compatible
Rack Mount Kit
N/AKeysight
1494-0411
26Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Keysight E8402A, E8404A C-Size Mainframes
User and Service Guide
2Using the Enhanced Monitor
The Enhanced Monitor on the front panels of the Keysight 840xA mainframes
allow you to monitor power supply voltages, mainframe temperatures, fan
operation, and backplane activity. Figure 1 shows the mainframe front panel.
The enhanced monitor provides features such as:
– Monitoring the mainframe operating status including: blower status, slot
temperatures, and power supply voltages, current, and power. The
Enhanced Monitor generates a warning if any of these parameters exceed
limits. Refer to Chapter 3 for programming details.
– User-definable temperature limits for individual slots; if the limit is
exceeded, a beeper sounds, LEDs flash, and the display shows the warning
condition.
– Storing a history of power supply voltages, currents, and power; slot
temperatures; fan speeds; events such as mainframe power cycled on/off,
etc.
In addition, you can:
– Perform internal Enhanced Monitor Self Tests. These verify its fans and its
ability to measure the slot temperatures and power supply voltages and
currents, etc.
– Set and query Enhanced Monitor system parameters. The Enhanced
Monitor functions are programmable through either the system
commander (command module or embedded controller) or via an RS-232
port on the back of the mainframe.
– Write user text messages to the front panel display. This is useful for
communicating with an operator.
27
Using the Enhanced Monitor
SectionIndicator / Switch Description
PowerOn Indicator
Green - the mainframe is turned on.
Standby Indicator
System Power Supply
Indicator
Temp Indicator
FansFan Switch
Fans Indicator
BackplaneActivity Indicator
Amber - the mainframe is in standby mode; no power is applied to VXI modules.
Both Indicators Off - there is no power applied to the mainframe.
Green - all voltages, currents, and power supply temperatures are within expected operating
ranges.
Flashing Amber - one or more power supply measurements are out of limit.
Green - all the individual slot temperatures and ambient temperatures are within normal
operating ranges.
Flashing Amber - one or more slot temperatures or the ambient temperature has exceeded
specified limits.
Full - the power supply and mainframe cooling fans are operating at full speed.
Var(iable) - the power supply and mainframe cooling fans are providing user-specified
cooling level. Fan speed is a function of the power supply temperature, ambient temperature,
and individual slot temperatures. Fan speeds operate at the lowest possible speed to
maintain user-specified cooling level.
Green - the power supply and mainframe cooling fans are operating within expected ranges.
Flashing Amber - the power supply fan or the mainframe cooling fan is not operating within
expected ranges.
Green - there is communication between instruments across the backplane. Off - there is no
communication between instruments on the backplane.
SYSFAIL Indicator
Reset Switch
Diagnostic
Connector
Display and
Keypad
Amber - one or more instruments has asserted its SYSFAIL line due to a power-on
initialization failure, self-test failure, or hardware failure. SYSFAIL is asserted momentarily at
power on and during a system reset.
Pressing the reset button asserts the SYSRESET* line on the VXI backplane. When low, this
line resets the VXI system; all VXI instruments are rest to their power-on state.
Refer to “Diagnostic Connector” on page 43.
Refer to “Using the Enhanced Monitor” on page 29
Figure 2-1 Keysight E8402A and E8404A Enhanced Monitoring Front Panel
28Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Using the Enhanced MonitorUsing the Enhanced Monitor
Using the Enhanced Monitor
The Enhanced Monitor is a separate PC board that plugs into the VXI
backplane from the rear of the mainframe. In this way it does not
occupy a user slot on the front of the mainframe. The Enhanced
Monitor uses a standard-defined P1 Connector but a uniquely-defined
P2 Connector. It is a message-based, slave-only VXI interface card,
complete with its own VXI logical address. Refer to Chapter 3 of this
manual for SCPI programming information. This section provides
general information about the Enhanced Monitor.
– RS-232 Interface supports communication with a terminal or
computer for remote monitoring purposes only. Refer to
Chapter 3 for SCPI programming information.
-- All SCPI command are supported by the RS-232 interface.
-- The RS-232 interface is set-up only through SCPI
commands. Settings are stored in non-volatile memory.
Factory defaults are:
9600 Baud, 8 bits, No Parity, 1 Stop Bit, DTR/RTS On, XON
Pacing.
– Ambient Temperature Monitor (
the intake air stream path just above the mainframe impeller.
-- A user-defined limit can be set, default is 55
-- Limit is restored from non-volatile memory at power-on.
-- When the limit is exceeded, the monitor generates a warning
on the display, sets a status bit, the temperature LED flashes,
and the beeper sounds (if enabled).
– Power Supply Temperature Monitor (
located under a power supply transformer. The reading is
indicative of overall power supply loading.
-- If the temperature exceeds an expected level, the monitor
generates a warning on the display, sets a status bit, the
power supply LED flashes, and the beeper sounds (if
enabled).
– Module Exhaust (Slot) Temperature Monitor (
sensors, front, middle, and rear are located above each slot.
-- Temperatures may be queried in actual
rise above ambient (in
-- User-definable limits can be set for the entire cardcage or on
a slot-by slot basis.
±2 °C). The sensor is located in
°C.
±2 °C). The sensor is
±2 °C). Three
°C or as temperature
°C).
-- Limit may be set in actual temperature (default is +65
and as temperature rise above ambient (default is +15
-- Limits are restored from non-volatile RAM at power-on.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide29
°C)
°C).
Using the Enhanced MonitorUsing the Enhanced Monitor
-- If a slot temperature exceeds the specified limit, the monitor
generates a warning on the display, sets a status bit, the
temperature LED flashes, and the beeper sounds (if enabled).
– Voltage Monitor measures all seven power supply voltages (+5,
±12, ±24, -5.2V, and -2V).
-- Voltages outside of fixed limits (based on VXI specifications)
causes the monitor to generate a warning on the display, set
a status bit, the Power Supply LED flashes, and the beeper
sounds (if enabled).
– Current Monitor measures the current from all seven power
supplies (+5, ±12, ±24, -5.2V, and -2V).
-- Currents exceeding user-specified limits (defaults to
mainframe specifications +10%) causes the monitor to
generate a warning on the display, set a status bit, the Power
Supply LED flashes, and the beeper sounds (if enabled).
– Power Monitor calculates the total output power of the power
supply [(V*I)].
-- Total output power exceeding user-specified limits (defaults
to mainframe power supply maximum) causes the monitor to
generate a warning on the display, set a status bit, the Power
Supply LED flashes, and the beeper sounds (if enabled).
– Backplane Activity Monitor monitors activity on the VXI
backplane.
-- The DS0 and DS1 backplane lines are monitored. Activity is
displayed through the front panel Activity LED. No warning is
associated with this activity.
-- SYSFAIL is also monitored. Assertion of SYSFAIL (by any VXI
module) is shown by the amber SYSFAIL LED on. It will not
sound the beeper or generate a warning on the display.
– Fan Monitor monitors the operation of the fans.
-- Fan speeds outside a fixed range generate a warning on the
display, sets a status bit, the FAN LED flashes, and the
beeper sounds (if enabled).
-- Fan level is returned as a percentage (%) of maximum speed.
– Fan Controller adjusts mainframe fan speed based on the power
supply, ambient, and individual slot temperatures. The fan can
be set to maximum or FULL speed by a front panel switch.
-- In the Variable mode, if the power supply temperature
exceeds
an expected level, the fan speed increases to maximum.
-- In the Variable mode, if the ambient temperature exceeds
°C, the fan speed increases to maximum.
+50
30Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Using the Enhanced MonitorUsing the Enhanced Monitor
-- In the Variable mode, if any VXI module exhaust temperature
approaches a user-defined limit, fan speed increases.
-- Otherwise, fan speeds operate at the lowest possible speed
to maintain user-specified cooling level.
– Time Monitor records:
-- Total hours of operation
-- Time-on since power on, last test, last calibration, last
history reset.
-- Time remaining until the next maintenance. This time can be
set and queried by the user. A warning is generated when the
timer reaches 0. Note: this is disabled as shipped from
Keysight.
Using the Display
The Enhanced Monitor display graphically portrays status information
about the mainframe. This includes strip charts and histograms of fan
speed, slot and ambient temperature, and power supply voltage, and
power.
The first time the mainframe is powered on, the display prompts you
to select a language; either English, German (Deutsch), French
(Français), or Spanish (Español). Use the arrow keys just to the right of
the display to highlight a language then press the
Enter key. All
display and help screens will appear in the selected language.
Use the up/down arrow keys to highlight a display item, then press the
Enter key to select that item. In the upper right hand corner of all
displays (except the language selection display) is an arrow; selecting
this arrow and pressing the
display. Some displays also have a question mark (
Enter key moves you back to the previous
?) in the upper
right corner. Selecting the question mark brings up a help screen
describing the display. Figure 2 shows three typical displays and a
help screen.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide31
Using the Enhanced MonitorUsing the Enhanced Monitor
Use the UP/DOWN arrow keys to highlight a
menu item (in this case "Power Supply" is
highlighted). Press the Enter key to select it.
Use the UP/DOWN arrow keys to highlight a
menu item (in this case "Voltage" is
highlighted). Press the Enter key to select it.
This display shows the actual measured power
supply voltages. Use the UP/DOWN arrow keys
to highlight either the arrow or the Question
Mark. Highlight the Question Mark and press the
Enter key for a display description.
Press the Enter Key to return to the
previous display.
Figure 2-2 Typical Displays for the Keysight E8402A and E8404A Enhanced Monitor
Menu Map
Figure 3 shows a complete display menu map for the Enhanced Monitor.
32Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Using the Enhanced MonitorUsing the Enhanced Monitor
Power Supply
Volta ge L imits
Current Stripch art
Power Histogr am
34Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Enhanced Monitor Fan ControlUsing the Enhanced Monitor
Enhanced Monitor Fan Control
With the front panel fan switch in the VAR position, the Enhanced
monitor controls the fan speed based on slot temperature limits you
specify. With the fan switch in the FULL position, the fan operates at
full speed.
Essentially, the Enhanced Monitor’s fan control has two contrasting
functions: 1) keep the VXI modules installed in the cardcage cool and
2) operate as quietly as possible. These are somewhat conflicting
goals because to operate at its quietest, the fan would have to be off
and hence not keep the modules cool. Alternately, at its coolest, the
fans would have to be full on and the airflow is not quiet. Therefore,
the fan control algorithm is to keep the mainframe as quiet as possible
while cooling the VXI modules adequately.
What is adequate cooling? You specify it through your selection of slot
temperatures. For example, if you specify slot 7 temperature to be
maintained within 15 °C of the ambient temperature, the fan controller
adjusts fan speed until the cooling air coming off slot 7 is just under
15 °C above ambient. And it will keep it there, adjusting the fan speed
as needed to maintain that temperature rise no matter what the
ambient temperature might do. That way, the fan noise is at its lowest
while maintaining appropriate cooling.
Each slot is monitored and compared to the specified slot temperature
limits every two seconds. The slot closest to its limit is allowed to
approach the limit in order to keep the fan speed as low as possible.
If you want a cooler mainframe, lower the slot temperature limits. If
you want a quieter mainframe, raise the temperature limits. Just
remember that the Enhanced Monitor Fan Controller is very accurate;
if you specified
30 °C rise above ambient, the controller will maintain a limit just below
30 °C.
There is one exception. The power supply cooling overrides all other
cooling requirements. For example, you may specify a 30 °C limit for
all slots, but as you monitor the slot temperatures you notice that no
slot is approaching the limit. It is likely that the Enhanced Monitor is
working to keep the power supply adequately cooled. Power supply
cooling requirements are primarily driven by the load placed on the
power supply. It needs more cooling if it is significantly loaded. So, if
the fan controller stops dropping the fan speed even though the slot
temperatures are not close to the specified limits, it is probably
because the power supply cooling requirements are dominating.
Software Control of Fan Speed
The SYSTem:BLOWer:STATe command can change the state of the
fans from VARiable to FULL at any time. When software control has
set the fans to FULL, the front panel fan switch can be set to variable
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide35
Using the Enhanced MonitorEnhanced Monitor Fan Control
and the fans will remain at FULL. Software control can not put a mainframe with
its switch set to FULL into a variable fan state. FULL means that the fans will run
at full speed no matter what the conditions in the mainframe. VARiable means
that the enhanced monitor sets the fan speed based on the temperature
conditions in the mainframe and the temperature limits set by the user.
36Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Setting Enhanced Monitor LimitsUsing the Enhanced Monitor
Setting Enhanced Monitor Limits
The Keysight E840x Enhanced Monitor has several limits that affect when it will
issue warnings. Each limit should be selected based on the VXI modules installed
in the mainframe.
Temperature Limits
The Enhanced Monitor monitors two types of temperature limits. First are the
"Delta slot temperature limits" whose primary function is to pass your specified
temperature limits to the Fan Controller (refer to “Enhanced Monitor Fan Control”
on page 35). If these limits are not maintained, a warning is issued. The default
value is 15 °C rise above ambient; this is a compromise between cooling and
noise. Check the specifications of your installed VXI modules to determine
sensitivity to temperature variation. You may need to specify a smaller delta slot
temperature for some modules.
Second are the absolute temperature limits, for both individual slots and the
ambient temperature. These guard the top end of the acceptable temperature
spectrum and generate warnings if exceeded. The default values are generally
acceptable to most VXI modules; but you should verify the temperature ratings
for all VXI modules installed in the mainframe and set the slot’s absolute
temperature limit accordingly. For example, many modules are specified for a
temperature range of 0 to 55 °C and assume a
10 °C rise to occur in operation. Therefore, their absolute temperature is safely 65
°C (the default). But, if a VXI module is only rated to 45 °C (and assumes a 10 °C
rise) then its slot should have an absolute temperature limit of 55 °C. You might
set the limit lower for earlier warning.
Use the
limits, both ambient and delta slot temperatures. Use the
STATus:QUESTionable:TEMPerature:LEVEL? to determine the actual threshold
when an over-temperature warning will sound.
STATus:QUEStionable:TEMPerature:LIMit? command to set temperature
Current and Power Limits
By default, the Enhanced Monitor provides power supply current and power limit
warnings only when the power supply is exceeding its capacity. But it is unlikely
that all seven supplies will be used at maximum capacity. Consequently, this
warning is generally too late for most applications. For example, the +5V supply
in the Keysight E8404 is capable of providing up to 90A (peak current, refer to
Appendix A). It is therefore capable of delivering the regulated voltage into nearly
a dead short -- 0.06. For this reason, you should specify current and power
limits to reflect the actual needs of the VXI modules installed in the mainframe.
Then a warning is generated in sufficient time to correct a problem.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide37
Using the Enhanced MonitorSetting Enhanced Monitor Limits
To set current limits, calculate the worst case current needed on each supply for
your application, add 10%, and set your current limit to this value. Alternately,
allow your system to operate normally for a time, query the maximum values
measured by the Enhanced Monitor’s history subsystem, and set the current limit
to a comfortable margin above this maximum. Do this for each of the seven VXI
supplies and for the total power value. In this way, the Enhanced Monitor can
issue a warning when a module begins using more power than normal. Use the
STATus:QUEStionable:CURRent:LIMit command (page 131) to set current limits,
and STAT:QUES:POW:LIM to set the total power limit.
Handling Warnings
With the limits set, the mainframe will beep if a limit is exceeded. However, you
need to include exception procedures in your computer program so that the
program can handle the warnings. To do this, you need to enable the Enhanced
Monitor’s Status Subsystem to interrupt the computer when a warning occurs.
Refer to Chapter 3, “Example 2: Setting up the Mainframe” on page 51, for a
program example demonstrating this procedure.
Save The Limits
Once you have specified temperature and voltage/power limits for your
mainframe, remember to save the limits in non-volatile memory. Otherwise, you
will start again after a mainframe power-down or reset. Use the
command to save the values in non-volatile memory.
SYSTem:NVSave
38Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Enhanced Monitor Measurement CyclesUsing the Enhanced Monitor
Enhanced Monitor Measurement Cycles
The Keysight E8402 and E8404 Enhanced Monitor monitors over 80 signals
throughout the mainframe every two seconds. These measurements are fed to
the display, the Status Subsystem (for warnings), the History Subsystem (for
storage), and the Fan Controller. The display shows the measurements pertinent
to the screen displayed, updated every two seconds. The Status Subsystem sets
status bits in the condition registers, updated every two seconds. The History
Subsystem calculates minimums, maximums, and histogram values, updated
every two seconds. However, the Enhanced Monitor stores its measurements in
the Trace Subsystem only once every 10 seconds.
During the measurement cycle, the Measuring bit in the Operational Status
Condition Register is set and then cleared. This allows you to synchronize with
the measuring cycle if you want to.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide39
Using the Enhanced MonitorUsing the History Queue
Using the History Queue
The Keysight E840x Enhanced Monitor provides many history feature records
such as: minimum and maximum values, histograms, operating times, and event
logs. As you begin to use the mainframe, the history features won’t be of much
use -- very little has happened, there is no history to record. But as time passes,
the history features can provide valuable insights into the trends of your test
system. Then, when you encounter a problem in your tests system, you have a
record of events to evaluate:
– What type of environment has the module experienced?
– What events led up to the failure?
– What changes from one test system to another?
Over time, familiarity with the problems of one particular test system may lead to
predictive knowledge about the system. Then, by watching those predictive
events using the history feature, you can prevent problems.
HISTory Queue
One of the history features is history queue – a list of events that occurred in the
mainframe. History events are recorded with the operating time that the event
took place (the operating time is the number of seconds since the mainframe
was manufactured). The history queue is available through the display; operating
time is displayed in hours. Operating Events are shown with the most recent
displayed first, earliest events displayed last. Figure 5 shows an example history
display.
To access the history queue, select
execute the command:
up and down the list (Up/Down arrows appear in the display only when
additional data is available) four events at a time.
Figure 2-5 Example History Queue Display
History from the Mainframe Status display or
DISP:WIND HQU. Use the Up/Down arrow keys to page
Down arrow indicates
more data is available.
Use Up/Down keys to
scroll through display.
40Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
RS-232 ProgrammingUsing the Enhanced Monitor
RS-232 Programming
The RS-232 port on the Enhanced Monitor is primarily a debug port, designed for
use with a dumb terminal or terminal emulator program on a PC. This allows you
to execute SCPI commands directly without an application program and to
monitor any errors in the error queue (including those generated through the VXI
interface programming). It also allows you to query the Enhanced Monitor while
the mainframe is in standby if an external +5VDC is applied to the 5V EXT
terminals. The RS-232 port is the only possible source for temperature
calibration since the mainframe must be empty for temperature calibration.
®
Windows 95
Terminal or HyperTeminal. These applets provide a convenient method of using
the Enhanced Monitor. Use an appropriate nine-pin female to nine-pin female
RS-232 cable (such as the Keysight 24542U) for connection between the PC and
the Enhanced Monitor. Configure the Terminal settings for generic TTY, and the
communication settings to match those of the Enhanced Monitor.
Default RS-232 parameters are:
and Windows NT® provide a terminal emulator program called
– Baud: 9600
– Bits: 8
– Parity: None
– Stop bits: 1
– DTR/RTS: On
– Pace: XON
– Echo: On
– ERES: On
– Line buffer: On
Refer to Chapter 3 for RS-232 programming information. The
SYSTem:COMMunicate:SERial ... commands set and/or modify the configuration
of the Enhanced Monitor's serial interface. Serial communication commands
take effect after the end of the program message containing the command(s).
If you use the Enhanced Monitor RS-232 port (located on the back
of the mainframe) while the mainframe is in the standby mode,
you must supply an external +5Vdc to the +5VEXT connector
(located near the RS-232 port). If you use the RS-232 port while
the mainframe is powered on, you do not need to provide the
external +5Vdc.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide41
Using the Enhanced MonitorRS-232 Programming
The Enhanced Monitor also provides several short cuts, primarily for terminal
use:
BackspaceIn TERMinal mode, a backspace means "back-up." It becomes a
space in RAW mode.
Ctrl-RIn TERMinal mode, this provides a "recall last command string" feature.
It is ignored in RAW mode
Ctrl-TIn either TERMinal or RAW mode, Ctrl-T performs a
SYSTem:COMMunication:PRESet:TERMinal command. This puts the
Enhanced Monitor into its terminal mode at whatever baud rate
presently set.
Ctrl-CIn either TERMinal or RAW mode, Ctrl-C performs the equivalent of a
Device Clear. It can interrupt a command that is taking too long to
execute and makes it possible to reset the Enhanced Monitor (*RST).
Be sure to turn off the Terminal applet’s use of the control keys for Windows use
if you want to use these short cuts.
The RS-232 port can be used to program the Enhanced Monitor. Be careful when
programming this way though. Remember that you have to turn off terminal
features like echo and immediate error. Do not try to use both the VXI
programming interface and the RS-232 port at the same time. They both access
the same error queue and status registers.
You should avoid changing RS-232 port parameters through the RS-232 port. It
will work but you must be careful otherwise you may lose communications.
Intersperse your commands with queries. This will help you stay synchronized
with the port. If you reattach a terminal after using a computer and see no
character echo, Ctrl-T should return the port to terminal mode.
42Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Diagnostic ConnectorUsing the Enhanced Monitor
Diagnostic Connector
The 25-pin Sub-D diagnostic connector provides access to backplane voltages,
power supply and backplane temperatures, and output signals. The pins are
described in Table 2-1.
Table 2-1 Diagnostic Connector Pin Descriptions
Pin #FunctionDescription
1+5 VM+5V backplane voltage monitor (high impedance). (+4.875 Vdc to +5.125 Vdc)
2-12 VM-12V backplane voltage monitor (high impedance). (-12.6 Vdc to -11.64 Vdc)
3-24 VM-24V backplane voltage monitor (high impedance). (-25.2 Vdc to -23.28 Vdc)
4-2 VM-2V backplane voltage monitor (high impedance). (-2.1 Vdc to -1.9 Vdc)
5Rem OnRemote power on. See “Using the Remote Power-on Pins.”
6+5 VC+5 VDC source output (1A maximum).
7+12 VC+12 VDC source output (1A maximum).
8+5 V StdbyInput for +5V STDBY (1A maximum for pins 8 and 21 combined).
9GNDChassis ground.
10SysReset *TTL low-true input signal causes system reset, output indicates system reset.
NOTE: If you use this pin you must not violate VXI specifications.
11PS TempOutput voltage proportional to power supply temperature (0 VDC at 0 °C, with a rise of
10 mV per degree centigrade).
12Ref TempOutput voltage proportional to backplane temperature (0 VDC at 0 °C, with a rise of 10 mV per
degree centigrade). A function of the ambient temperature and load.
At no load, T
T
~ 14 °C + ambient. At full load and low fan speed, T
ref
13Fans OK *TTL low-true output voltage indicates power supply and backplane cooling fans are operating.
14+12 VM+12V backplane voltage monitor (high impedance). (+11.64 Vdc to +12.6 Vdc)
15+24 VM+24V backplane voltage monitor (high impedance). (+23.28 Vdc to +25.2 Vdc)
16-5.2 VM-5.2V backplane voltage monitor (high impedance). (-5.46 Vdc to -5.044 Vdc)
17GNDChassis ground.
18REM RtnRemote power switch return. See “Using the Remote Power-On Pins.”.
19V OK *TTL low-true output voltage indicating the +5V, ± 12V, ± 24V, -5.2V, and -2V power supply
voltages are within ± 8% of its allowed variation.
20GNDChassis ground.
21+5 V StdbyInput for +5V STDBY (1A maximum for pins 8 and 21 combined).
22GNDChassis ground.
23ACFAIL*TTL low-true output asserted by the mainframe power monitor at power down or whenever a
loss of power is detected.
24GNDChassis ground.
25RSV
Reserved. Used for Timer Verification; refer to Chapter 4.
~ 2 °C + ambient. At full load and high fan speed,
ref
ref
~ 20 °C + ambient.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide43
Using the Enhanced MonitorDiagnostic Connector
+5VC (pin 6)
The +5 volt output allows you to power external TTL circuits if required. The
maximum current allowed from this supply is 1.0A
+12VC (pin 7)
The +12 volt output allows you to power external circuits, charge a battery, or
power relays if required. The maximum current allowed from this supply is 1.0A
+5V STDBY (pins 8, 21)
This provides an input to the mainframe backplane for a +5V DC standby power
source. This may be from a separate battery or power supply. The maximum
current allowed is 1A total (pins 8 and 21 wired in parallel). It can be used to
power timers and other circuits when the mainframe is in standby mode.
SYSRESET* (pin 10)
This pin provides an extension of the VXI backplane SYSRESET* signal line. It can
be used to monitor for SYSRESET* or to send a SYSRESET* tot he backplane.
Shorting this line to ground asserts the SYSRESET* signal to the system. If you
use an extension cable from the Diagnostic Connector, make certain that you do
not violate the VXI backplane electrical specifications (i.e. keep the cable as
short as possible, buffer the signal line, etc.).
ACFAIL* (pin 23)
This pin lets you monitor the ACFAIL* signal from the VXI backplane. If you use an
extension cable from the Diagnostic Connector, make certain that you do not
violate the VXI backplane electrical specifications (i.e. keep the cable as short as
possible, buffer the signal line, etc.).
44Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Keysight E8402A, E8404A C-Size Mainframes
User and Service Guide
3Programming the Enhanced
Monitor
This chapter explains how to program the enhanced monitor of the Keysight
E8402A and E8404A VXI mainframes including:
– Complete C language program examples
– Complete SCPI Command Reference
– Complete IEEE 488.2 Common Command Reference
Understanding SCPI Commands
Commands are separated into two types: IEEE 488.2 Common Commands and
SCPI Commands.
Common Command Format
The IEEE 488.2 standard defines the Common commands that perform functions
like reset, self-test, status byte query, etc. Common commands are four or five
characters in length, always begin with the asterisk character (*), and may
include one or more parameters. The command keyword is separated from the
first parameter by a space character. Some examples of Common commands are
shown below:
*RST *ESR 32 *STB? *TST?
SCPI Command Format
The SCPI commands perform functions like setting parameters, making
measurements, and querying instrument states or retrieving data. A subsystem
command structure is a hierarchical structure that usually consists of a top level
(or root) command, one or more lower-level commands, and their parameters.
The following example shows part of a typical subsystem:
:DISPlay
[:WINDow] <display window>
[:WINDow]?
:TEXT
[:DATA] <string>
[:DATA]?
:DISPlay is the root command, [:WINDow] is a second-level command with
parameter.
45
Programming the Enhanced MonitorUnderstanding SCPI Commands
Command Separator
A colon (:) always separates one command from the next lower-level command
as shown in the example subsystem above.
Abbreviated Commands
The command syntax shows most commands as a mixture of upper- and
lowercase letters. The uppercase letters indicate the abbreviated spelling for the
command. For shorter program lines, send the abbreviated form. For better
program readability, you may send the entire command. The instrument will
accept either the abbreviated form or the entire command.
For example, if the command syntax shows DISPlay, then DISP and DISPLAY are
both acceptable forms. Other forms of DISPlay, such as DISPL or DISPLY will
generate an error. You may use upper- or lowercase letters. Therefore, DISPLAY,
display, and DiSpLaY are all acceptable.
Implied Commands
Implied commands are those which appear in square brackets ([ ]) in the
command syntax. (Note that the brackets are not part of the command and are
not sent to the instrument.) Suppose you send a second-level command but do
not send the preceding implied command. In this case, the instrument assumes
you intend to use the implied command and it responds as if you had sent it.
Examine the example subsystem above. The second level command [:WINDow]
is an implied command (indicated by square brackets []). You can use either
form:
:DISPlay:WINDow <display window> or :DISPlay <display window>
46Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Understanding SCPI CommandsProgramming the Enhanced Monitor
Parameters
Parameter Types. The following table contains explanations and examples of
parameter types you might see later in this chapter.
Parameter TypeExplanations and Examples
Enumerated
(abbreviated enum in
the Parameter tables)
NumericAccepts all commonly used decimal representations of numbers including
int16 or uint32int16 means a signed 16-bit integer value;
floatfloating point number
BooleanRepresents a single binary condition that is either true or false.
Accepts a specified set of words as the parameter.
For example, the <display window> parameter of the :DISPlay:WINDow
command accepts: MMAin, MPSupply, MTEMperature, MBLower, MDISplay,
MSYStem . . .
optional signs, decimal points, and scientific notation.
123, 123E2, -123, -1.23E2, .123, 1.23E-2, 1.23000E-01.
Special cases include MIN, MAX, and DEF.
uint32 means an unsigned 32-bit integer value.
ON, OFF, 1, 0.
Optional Parameter: Parameters shown within square brackets ([ ]) are optional
parameters. (Note that the brackets are not part of the command and are not
sent to the instrument.) If you do not specify a value for an optional parameter,
the instrument chooses a default value.
Parameters separated by a vertical bar (|) indicate the only possible choices. For
example:
SYSTem:COMMunicate:SERial:CONTrol:RTS ON|OFF
the ON|OFF means that you can set RTS to either ON or OFF.
Linking Commands
Linking IEEE 488.2 Common Commands with SCPI Commands. Use a semicolon
(;) between the commands. For example:
*RST;SYSTem:VERSion? or SYSTem:VERSion?;*RST
Linking Multiple SCPI Commands. Use both a semicolon (;)and a colon (:)
between the commands. For example:
SYST:COMM:SER:BAUD 19200;:SYST:COMM:SER:BITS 8
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide47
Programming the Enhanced MonitorProgramming Examples
Programming Examples
This section contains SCPI program examples that demonstrate how to read
history data from the enhanced monitor, perform the self test, set and verify limit
warnings. The program examples are written in ANSI C language with Keysight
VISA extensions. To run one of these programs you must have the Keysight SICL
Library, the Keysight VISA library, an Keysight-IB interface module installed in an
external PC, an Keysight E1406 Command Module, and the enhanced monitor in
either the Keysight E8402A or E8404A VXI mainframe.
The following program examples are developed with the ANSI C language using
the Keysight VISA extensions. The program was written and tested in Microsoft
Visual C++
A more complete Enhanced Monitor setup example is provided on the Keysight
Universal Instrument Drivers CD ROM in the directories:
®
but can be compiled under any standard ANSI C compiler.
\examples\Keysighte8402
\examples\Keysighte8404
48Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Programming ExamplesProgramming the Enhanced Monitor
Example 1: Self Test & Verification
The following example program resets the Enhanced Monitor, performs a
complete self test (this can take up to seven minutes to complete), read the
mainframe model number string, read the mainframe serial number, and writes
data to the Enhanced Monitor display.
#include <visa.h>
#include <stdio.h>
#include <stdlib.h>
/* Interface address is 9, Enhanced Monitor secondary address is 224*/
/* #define INSTR_ADDR “GPIB0::9::224::INSTR” */
#define INSTR_ADDR “GPIB-VXI0::224::INSTR”
/* a simple VISA error-handling macro. This version prints the line number
from which
it was called and exits if it gets an error */
#define CHECKERR(errStatus, line) if (errStatus < VI_SUCCESS) { \
printf(“Line %d: error %x returned from visa. Aborting\n”, \
line, errStatus); \
exit (errStatus); \
}
int main()
{
ViStatus errStatus;
/*Status from each VISA call */
ViSession viRM;
/*Resource mgr. session */
ViSession en_mon;
/* Enhanced Monitor session */
int into;
/* variable for *OPC? */
char id_string[256];
/* Model Number string */
char ser_num[256]
/* mainframe serial number */
chr txt_string[256]
/* String sent to display */
char selftst_string[256];
/* Self-test string */
/* Open the default resource manager */
errStatus = viOpenDefaultRM (&viRM);
CHECKERR(errStatus, __LINE__);
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide49
Programming the Enhanced MonitorProgramming Examples
/* Open the Enhanced Monitor instrument session */
/* Close the Enhanced Monitor Instrument Session */
errStatus = viClose (en_mon);
CHECKERR(errStatus, __LINE__);
/* Close the Resource Manager Session */
errStatus = viClose (viRM);
CHECKERR(errStatus, __LINE__);
return VI_SUCCESS;
}
50Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Programming ExamplesProgramming the Enhanced Monitor
Example 2: Setting up the Mainframe
The following example program demonstrates how to customize the mainframe’s
Enhanced Monitor features. Specifically, it enables the status subsystem, sets
temperature limits for a specific slot in the mainframe and verifies the limit. To
simulate a limit warning, you can set the limit to a value lower than ambient
temperature.
#include <visa.h>
#include <stdio.h>
#include <stdlib.h>
/* Interface address is 9, Enhanced Monitor default secondary address is 224
*/
/* #define INSTR_ADDR “GPIB0::9::224::INSTR” */
#define INSTR_ADDR “GPIB-VXI0::224::INSTR”
/* Enable STAT:OPER bits for Calibrating, Measuring, History Queue Full */
#define OPER_ENAB (ViUInt16)0x0411
/* Enable STAT:QUES bits for Voltage Summary, Current Summary, Power,
Temperature summary, Calibration, Blower summary, UMCounter, Unexpected
parameter */
#define QUES_ENAB (ViUInt16)0x471B
/* Set absolute temperature limit TEMP_LIM (45
6)*/
#define LIM_SLOT “OUT6”
#define TEMP_LIM (ViInt16)45
/* a simple VISA error-handling macro. This version prints the line number
from which
it was called and exits if it gets an error */
#define CHECKERR(errStatus, line) if (errStatus < VI_SUCCESS) { \
printf(“Line %d: error %x returned from visa. Aborting\n”, \
line, errStatus); \
exit (errStatus); \
}
int main()
{
ViStatus errStatus;
/* Status from each VISA call */
ViSession viRM;
/* Resource mgr. session */
ViSession en_mon;
/* Enhanced Monitor session */
ViUInt16 echoed_limit;
/* For verification of programmed temp limit */
°C) for slot LIM_SLOT (slot
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide51
Programming the Enhanced MonitorProgramming Examples
/* Open the default resource manager */
errStatus = viOpenDefaultRM(&viRM);
CHECKERR(errStatus, __LINE__);
/* Open the Enhanced Monitor instrument session */
/* If you wish to save your new settings in non-volatile RAM (NVRAM),
uncomment the following 2 lines of code */
/*
errStatus = viPrintf(en_mon, “SYST:NVS\n”);
CHECKERR(errStatus, __LINE__);
52Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Programming ExamplesProgramming the Enhanced Monitor
*/
/* Close the Enhanced Monitor instrument session */
errStatus = viClose(en_mon);
CHECKERR(errStatus, __LINE__);
/* Close the resource manager session */
errStatus = viClose(viRM);
CHECKERR(errStatus, __LINE__);
return VI_SUCCESS;
}
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide53
Programming the Enhanced MonitorProgramming Examples
Example 3: Set-up the RS-232
The following example program demonstrates how to set-up the RS-232 Port on
the Enhanced Monitor. In this setup, the Enhanced Monitor is set to its default
values which are suitable for use with a dumb terminal. The baud rate is changed
to 19200 baud.
If you use the Enhanced Monitor RS-232 port (located on the back
of the mainframe) while the mainframe is in the standby mode,
you must supply an external +5Vdc to the +5VEXT connector
(located near the RS-232 port). If you use the RS-232 port while
the mainframe is powered on, you do not need to provide the
external +5Vdc.
#include <visa.h>
#include <stdio.h>
#include <stdlib.h>
/* Interface address is 9, Enhanced Monitor secondary address is 224*/
/* #define INSTR_ADDR “GPIB0::9::224::INSTR” */
#define INSTR_ADDR “GPIB-VXI0::224::INSTR”
/* a simple VISA error-handling macro. This version prints the line number
from which
it was called and exits if it gets an error */
#define CHECKERR(errStatus, line) if (errStatus < VI_SUCCESS) { \
int main()
{
/*Status from each VISA call*/
/*Resource mgr. session */
/* Enhanced Monitor session */
/* Open the default resource manager */
CHECKERR(errStatus, __LINE__);
printf(“Line %d: error %x returned from visa. Aborting\n”, \
line, errStatus); \
exit (errStatus); \
}
ViStatus errStatus;
ViSession viRM;
ViSession en_mon;
errStatus = viOpenDefaultRM (&viRM);
/* Open the Enhanced Monitor instrument session */
printf(“\nHISTogram data for 10 temperature ranges of slot OUT5\n”);
for (i=0; i<10; i++)
printf(“%5.1f to %5.1f deg: %d seconds\n”,
0.1*minArray[i], 0.1*maxArray[i] ,
histArray[i]);
/* Close the Enhanced Monitor instrument session */
58Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
Programming ExamplesProgramming the Enhanced Monitor
errStatus = viClose(en_mon);
CHECKERR(errStatus, __LINE__);
/* Close the resource manager session */
errStatus = viClose(viRM);
CHECKERR(errStatus, __LINE__);
return VI_SUCCESS;
}
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide59
Programming the Enhanced MonitorSCPI Command Reference
SCPI Command Reference
The following section describes the SCPI commands for the Keysight E8402A
Enhanced Monitor. Commands are listed alphabetically by subsystem and also
within each subsystem.
CALibration Subsystem
The CALibration Subsystem is described in detail in Chapter 4 of this manual.
Refer to that chapter for complete calibration and performance verification
procedures.
Subsystem Syntax
:CALibration
[:ALL]?Performs complete monitor calibration.
:TEMPerature?Calibrates temperature monitoring
:VALue
:TEMPerature <value>Sets the calibration temperature.
:TEMPerature?Returns the calibration temperature.
:VOLTage <supply>,<value>Sets calibration voltage value
:VOLTage? <supply>Returns calibration voltage value
:VOLTage? <supply>Calibrates voltage monitoring
DISPlay Subsystem
The DISPlay subsystem controls the mainframe’s display.
Subsystem Syntax
:DISPlay
[:WINDow] <display window>Sets display data screen to <display window>
[:WINDow]? Returns display data screen presently showing
:STATe <state>Sets mainframe display state (ON/OFF/AUTO)
:STATe?Returns monitor mod state (ON/OFF/AUTO)
:TEXT[:DATA] <string>Displays a user-defined message on the display
60Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
THIStogram13)
BSTatus
BSTRipchart
BHIStogram
DCONtrast
DSSaver
SBEeper
SABout
STIMer
SLOG
SRS232
SVXI
HQUeue
LANGuage
MMAintop level menu
power supply menu
temperature menu
fan menu
display menu
system menu
power supply stripchart menu
power supply histogram menu
temperature stripchart menu
temperature histogram menu
power supply voltage status
power supply current status
power supply power status
power supply limits
power supply stripcharts (refer to
comments)
power supply histograms (refer to
comments)
temperature status
temperature limits
temperature stripcharts (refer to
comments)
temperature histograms (refer to
comments)
blower status
mainframe cooling blowers stripchart
mainframe cooling blowers histogram
display contrast alteration
display screen saver state selection
system beeper setting
system mainframe description
system user maintenance counter status
system log data
system RS-232 settings
System VXI Settings
History Queue Listing
mainframe display language selection
Comments
– The “Keysight E8402 & E8404 Enhanced Monitor Display Menu Map” on
page 33 shows a simplified menu map for the Enhanced Monitor. The
keywords below each display box are the <display window> range
parameter from the previous table.
62Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
DISPlay SubsystemProgramming the Enhanced Monitor
– For PSSTripchart and PSHistogram, the number suffix (1 - 10) indicates
which power supply is displayed, refer to the following table. PSSTripchart
displays Watts vs. Time; PSHistogram displays hours/minutes/seconds vs.
Watts.
PSSTripchart,
PSHistogram
1P5 (positive 5 volt supply)
2P12 (positive 12 volt supply)
3N12 (negative 12 volt supply)
4P24 (positive 24 volt supply)
5N24 (negative 24 volt supply)
6N5PT2 (negative 5.2 volt supply)
7N2 (negative 2 volt supply)
8P5STby (positive 5 volt standby)
9Power Supply Temperature
10Total wattage from power supply
Power Supply
– For TSTRipchar and THIStogram, the number suffix (0 - 12) represents the
slot number (the suffix 0 (zero) indicates slot 0, the suffix 1 (one) indicates
slot one, etc); the number 13 represents the ambient temperature.
Returned Data
TypeRangeDescription
stringThe string is the same as that listed in uppercase in the Range
column under Parameters.
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
query.
NumberMessageProbable Cause
-109“Missing Parameter”The <display window> parameter was omitted.
-221“Settings Conflict”The mainframe’s power is off.
-224“Illegal Parameter”The <display window> parameter was not correct.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide63
SYSTem:ERRor?
Programming the Enhanced MonitorDISPlay Subsystem
Reset Condition
At *RST, DISPlay[:WINDow] is set to MMAin.
64Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
DISPlay[:WINDow]:STATe sets the state of the mainframe’s display (ON, OFF,
AUTO).
mainframe is powered up.
places the Display in screen saver mode where the display will turn off when no
keys are pressed for 10 minutes.
DISPlay[:WINDow]:STATe? returns the state of mainframe’s display. The returned
data is a string (enumerated); either ON, OFF, or AUTO.
Parameters
Returned Data
ON is the default, and means the display is always on when the
OFF disables the display window and it is dark. AUTO
NameTypeRangeDefaultDescription
<state>enum.ON,OFF,AUTOONState of Display
TypeRangeDescription
enumON,OFF,AUTOState of Display
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
SYSTem:ERRor?
query.
NumberMessageProbable Cause
-109“Missing Parameter”The <state> parameter was omitted.
-221“Settings Conflict”The mainframe’s power is off.
-224“Illegal Parameter”The <state> parameter was not correct.
Reset Condition
At *RST, DISPlay[:WINDow]:STATe is set to ON.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide65
Programming the Enhanced MonitorDISPlay Subsystem
DISPlay[:WINDow]:TEXT[:DATA] <string>
DISPlay[:WINDow]:TEXT[:DATA] displays a user defined message string on the
mainframe’s display. The message remains on the display until a key is pressed,
the display window is changed programmatically, or the screen saver turns off
the display.
Parameters
NameTypeRangeDefaultDescription
<string> string 186 charactersnoneMessage to display on screen. Can be any ASCII
character (decimal value 20 to 225).
Comments
– Four lines of text can be displayed. The display uses a proportional font;
line length can vary from 25 to 45 characters. The string will be clipped at
45 characters if there is not an embedded ‘\n’, or it will be clipped at 4
lines, or at 186 characters. There is no error generated if the string is
clipped. Text is white letters on a black background.)
– Embed a ‘\n’ to cause a second, third, or fourth line. For example, the
command
\nmessage capability
DISP:TEXT “this is a test\nof the immediate
.” executed from an RS-232 terminal will create
the following display:
this is a test
of the immediate
message capability.
– Pressing any front panel key (up/down arrow keys or
executing a
DISP:WIND command will remove the text.
ENTER key) or
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
query.
NumberMessageProbable Cause
-128“Numeric data not allowed”The <string> started with a number.
-148“Character data not allowed”Quotation marks were left off.
SYSTem:ERRor?
-151“Invalid string data”An embedded new line in the string instead
of a ‘\n’.
-221“Settings Conflict”The mainframe’s power is off.
66Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
DISPlay SubsystemProgramming the Enhanced Monitor
Reset Condition
*RST removes text, and set the display screen to MMAin.
Example
The following is a Visual C example:
viPrintf(vi, “disp:text \”this is a test\nof the immediate\nmessage capability.\”\
n”)
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide67
Programming the Enhanced MonitorFORMat Subsystem
FORMat Subsystem
The FORMat subsystem controls the TRACe data format.
Subsystem Syntax
:FORMat
:BORDer NORM|SWAPSets the byte order of TRACe data.
:BORDer?Returns the byte order of the TRACe
data.
FORMat:BORDer <order>
FORMat:BORDer?
FORMat:BORDer sets the byte order of the data returned by the TRACe
subsystem.
significant byte first.
NORMal is with most significant byte first. SWAPped is with least
FORMat:BORDer? returns the byte order of the data returned by the TRACe
subsystem.
Parameters
NameTypeRangeDescription
<order> enum.NORM, SWAPSets byte order for TRACe subsystem.
Returned Data
TypeRangeDescription
enum.NORM, SWAPString description of byte order.
Comments
– Byte order is not stored in non-volatile memory. Programs requiring SWAP
order should include this command before reading TRACe data.
– Keysight VISA swaps the bytes in the definite block format of viQueryf in a
PC. Therefore, you should not use this command if you are using Keysight
VISA.
Reset Condition
At *RST, the byte order is reset to NORMal.
68Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
HISTory SubsystemProgramming the Enhanced Monitor
HISTory Subsystem
The history subsystem gives access to the enhanced monitor’s history-gathering
function.
Subsystem Syntax
:HISTory
:BLOWer
[:HISTogram]? <blower>Returns <blower> histogram data
:CURRent
:CMAXimum? <supply>Returns max. <supply> current since pwr-on.
[:HISTogram]? <supply>Returns <supply> current histogram data
:MAXimum? <supply>Returns maximum <supply> current.
:POWer
:CMAXimum? <supply>Returns max. <supply> power since pwr-on.
[:HISTogram]? <supply>Returns <supply> power histogram data.
:MAXimum? <supply>Returns maximum <supply> power.
:QUEue
:COUNt?Returns number of events in history queue.
[:FETCh]? <event index>Returns <number> history event from queue.
:RESet
[:ALL] Resets data in history subsystem to zero.
:BLOWer <blower>Resets data in <blower> history to zero.
:CURRent <supply>Resets data in <supply> current history to zero.
:POWer <supply>Resets data in <supply> power history to zero.
:QUEueErases all data in history queue.
:TEMPerature <slot>Resets the data in <slot> history to be zero.
:VOLTage <supply>Resets data in <supply> voltage history to zero.
:TEMPerature
:CMAXimum? <slot>Returns max. <slot> temperature since pwr-on.
:CMINimum? <slot>Returns min. <slot> temperature since pwr-on.
[:HISTogram]? <slot>Returns for <slot> histogram data.
:MAXimum? <slot>Returns maximum <slot> temperature.
:MINimum? <slot>Returns minimum <slot> temperature.
:TIME
:LCALibration?Returns hr, min, sec since last calibration.
:LHReset?Returns hr, min, sec since last history reset.
:LTST?Returns hr, min, sec since last *TST.
:ON?Returns hr, min, sec since power-on.
:OPERating?Returns time mainframe has been operating.
:UNITs
[:TIME]<unit>Sets time units for history subsystem.
[:TIME]?Returns time units for history subsystem.
:VOLTage
:CMAXimum? <supply>Returns max. <supply> voltage since pwr-on.
:CMINimum? <supply>Returns min. <supply> voltage since pwr-on.
[:HISTogram]? <supply>Returns <supply> voltage histogram data.
:MAXimum? <supply>Returns maximum <supply> voltage.
:MINimum? <supply>Returns minimum <supply> voltage.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide69
Programming the Enhanced MonitorHISTory Subsystem
HISTory:BLOWer[:HISTogram]? <blower>[,MIN|MAX]
HISTory:BLOWer[:HISTogram]? <blower> returns the histogram data for the
specified <blower>. Ten values are returned for the amount of time the
<blower>’s RPM level spent in ten different RPM ranges. Those RPM ranges can
be queried with the MIN and MAX optional parameter. The units of the time
values returned are HOURs by default, but can be changed with the
HISTory:UNIT[:TIME] command.
Parameters
NameTypeRangeDefaultDescription
<blower>enum.BLOWer1,
BLOWer2,
BLOWer3
optional
parameter
enum.MIN, MAXnoneReturns the maximums or minimums of the
noneSelects the fan whose RPM histogram is
desired. BLOWer1 is the main cooling fan,
BLOWer2 is the Power Supply cooling fan,
BLOWer3 is a second Power Supply cooling
fan on the Keysight E8404A mainframes.
72Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
HISTory SubsystemProgramming the Enhanced Monitor
HISTory:CURRent[:HISTogram]? <supply>[,MIN|MAX]
HISTory:CURRent[:HISTogram]? <supply> returns the histogram data held for the
specified <supply>. Ten values are returned for the amount of time the
<supply>’s current spent in ten different current ranges. Those current ranges
can be queried with the MIN and MAX optional parameter. The units of the time
values returned are HOURs by default, but can be changed with the
HISTory:UNIT[:TIME] command. The units returned for current ranges queried
with the MIN or MAX parameters are integer values in milliamps.
Parameters
NameTypeRangeDefaultDescription
<supply>enumP5, P12, N12, P24,
N24, N5PT2, N2
optional
parameter
enum MIN, MAXnoneReturns the minimums or maximums of
noneSelects the power supply whose current
histogram is desired. P5 is +5 Vdc supply,
N12 is -12 Vdc supply, etc.
the current ranges in milliamps.
Returned Data
TypeRangeDefaultDescription
<range1>int320-2147483647nonelowest current range.
<range2>int320-2147483647nonesecond current range.
<range3>int320-2147483647nonethird current range.
<range4>int320-2147483647nonefourth current range.
<range5>int320-2147483647nonefifth current range.
<range6>int320-2147483647nonesixth current range.
<range7>int320-2147483647noneseventh current range.
<range8>int320-2147483647noneeighth current range.
<range9>int320-2147483647noneninth current range.
<range10>int320-2147483647nonehighest current range.
Comments
– HIST:CURR? P5 returns 10 time values for the +5V supply.
–
HIST:CURR? P5,MAX returns 10 values representing the maximum currents
in each current range in milliamps.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide73
Programming the Enhanced MonitorHISTory Subsystem
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
SYSTem:ERRor?
query.
NumberMessageProbable Cause
-109“Missing Parameter”The <supply> parameter was omitted.
-224“Illegal Parameter”The <supply> or optionalparameter not correct.
-221“Settings Conflict”Power supply doesn’t support current measurements.
-311“Memory error”The historical data’s memory is not available.
76Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
HISTory SubsystemProgramming the Enhanced Monitor
HISTory:POWer[:HISTogram]? <supply>[,MIN|MAX]
HISTory:POWer[:HISTogram]? <supply> returns the histogram data held for the
<supply>. Ten values are returned for the amount of time the <supply>’s power
spent in ten different power ranges. Those power ranges can be queried with the
MIN and MAX optional parameter. The units of the time values returned are
HOURs by default, but can be changed with the
command.The units returned for power ranges queried with the
parameters are integer values in milliwatts.
Parameters
NameTypeRangeDefaultDescription
<supply>enum. P5, P12, N12, P24,
N24, N5PT2, N2,
TOTal
optional
parameter
enum. MIN, MAXnoneReturns the maximum or minimum of the
noneSelects the power supply whose power
HISTory:UNIT[:TIME]
MIN or MAX
histogram is desired. P5 is +5 Vdc
supply, N12 is -12 Vdc supply, etc.
power range in milliwatts.
Returned Data
TypeRangeDefaultDescription
<range1>int320-2147483647nonelowest power range.
<range2>int320-2147483647nonesecond power range.
<range3>int320-2147483647nonethird power range.
<range4>int320-2147483647nonefourth power range.
<range5>int320-2147483647nonefifth power range.
<range6>int320-2147483647nonesixth power range.
<range7>int320-2147483647noneseventh power range.
<range8>int320-2147483647noneeighth power range.
<range9>int320-2147483647noneninth power range.
<range10>int320-2147483647nonehighest power range.
Comments
– HIST:POW? P5 returns 10 time values for +5V supply.
–
HIST:POW? P5,MAX returns 10 values representing the maximum power
for each power range in milliwatts.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide77
Programming the Enhanced MonitorHISTory Subsystem
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
SYSTem:ERRor?
query.
NumberMessageProbable Cause
-224“Illegal Parameter”The <supply> or optionalparameter not correct.
-109“Missing Parameter”The <supply> parameter was omitted.
-311“Memory error”The historical data’s memory is not available.
-221“Settings Conflict”The power supply doesn’t support power
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide81
Programming the Enhanced MonitorHISTory Subsystem
HISTory:QUEue[:FETCh]? <event index>
HISTory:QUEue[:FETCh]? <event index> returns a history event from the history
queue corresponding to <event index>. The queue is in chronological order, with
the oldest event in the index as <event index> number 1.
Parameters
NameTypeRangeDefaultDescription
<event index>uint16 1 through the value returned
from HIST:QUEue:COUNt
Returned Data
TypeRangeDefaultDescription
<event type>int160 to 127noneAn number associated with the
<time stamp>uint320 to 4294967295noneAmount of time since
<event string>stringEvent string associated with the
noneThe index of the history
event requested.
logged event.
manufacture that the event
occurred. Units are set with
HIST:UNIT
logged event.
Comments
– Many types of events are logged: amount of time on; wake-up test failures;
temperature, current, power, voltage, fan warning events and conditions;
calibration occurrences and results; test occurrences and results; and all
history reset events. The event strings return in the language selected on
the display.
Event
Number
0Mainframe powered off.
1History queue was reset/cleared
3Unexpected power-down occurred. Data was lost.
4Power-on test failure. Result given in the event string. Refer to next comment.
5 - 17Front slot temperature over limit. Event Number 5 is slot 0; 17 is slot 12. Limit is
18 - 30Middle slot temperature was over the limit. Event Number 18 is slot 0; 30 is slot
Description
given in the event string.
12. Limit is given in the event string.
82Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
HISTory SubsystemProgramming the Enhanced Monitor
Event
Number
31 - 43Rear slot temperature was over the limit. Event Number 31 is slot 0; 43 is slot 12.
44Ambient temperature was over limit. Limit given in the event string.
45Power supply temperature was over limit.
47 - 53Voltage was over upper limit. Event 47 is +5V supply, ... +12V, -12V, +24V, -24V,
54 - 60Voltage was under lower limit. Event 54 is +5V supply, ... +12V, -12V, +24V, -24V,
61 - 67Current was over limit. Limit given in the event string. Event 61 is +5V supply, ...
68Total power was over limit. Limit given in the event string.
69 - 71Fan was over upper limit. Event 69 is BLOW1, 70 is BLOW2, 71 is BLOW3
72 - 74Fan was under lower limit. Event 72 is BLOW1, 73 is BLOW2, 74 is BLOW3
75Calibration or test occurred. Kind and result are given in event string.
76Reset of history data occurred. Event string specifies which one.
Description
Limit is given in the event string.
-5.2V, and event 53 is -2V supply.
-5.2V, and event 60 is -2V supply.
+12V, -12V, +24V, -24V, -5.2V, and event 67 is -2V supply.
77VXI SYSRESET occurred.
78Queue is full and event(s) are lost.
79Maintenance timer warning occurred.
– Power-on test failures (Event number 4) include a hex value (0000 to FFFF)
which is a sum of the failures that occurred. The following list indicates the
possible power-on test failures:
-- Bit 0 set: non-volatile timing data lost or corrupted.
-- Bit 1 set: non-volatile power supply data lost or corrupted.
-- Bit 2 set: non-volatile maximum measurements lost or corrupted.
-- Bit 3 set: non-volatile minimum measurements lost or corrupted.
-- Bit 4 set: non-volatile user settings lost or corrupted.
-- Bit 5 set: non-volatile RS-232 settings lost or corrupted.
-- Bit 6 set: non-volatile calibration settings lost or corrupted.
-- Bit 7 set: non-volatile histogram data lost or corrupted.
-- Bit 10 set: non-volatile history queue data lost or corrupted.
-- Bit 12 set: wake-up ROM test failed.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide83
Programming the Enhanced MonitorHISTory Subsystem
-- Bit 13 set: wake-up RAM test failed.
-- Bit 14 set: wake-up VXI Communication test failed.
-- Bit 15 set: unexpected power failure occurred, some data loss likely.
– Once an event is logged, it stays there. For example, an event at event
index 7 will always be at event index 7 until the queue is reset.
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
query.
NumberMessageProbable Cause
-109“Missing parameter”You must include the <event index> parameter.
-222“Data out of range”The <event number> was beyond HIST:QUE:COUN.
-311“Memory error”The history queue’s memory is not available.
The HISTory:RESet commands erase all data being held by the HISTory
subsystem: histograms, minimum/maximum values, and the history queue. For
example,
historical data stored for the specified <blower>,
amperage historical data for the specified <supply>, etc. The
command does not erase stripchart data. The following table describes the
commands and their parameters. These commands are not allowed while the
mainframe’s power is off.
HIST:RES:ALL erases all historical data; HIST:RES:BLOW erases the
HIST:RES:CURR erases the
HISTory:RESet
Parameters
CommandParameter(s) RangeDefaultDescription
[:ALL]Erases all historical data. The history queue retains two entries (ALL
HISTORY RESET, and QUEUE RESET) marking the time between
manufacture and the HISTory:RESet. These commands are not
allowed while the mainframe’s power is off.
:BLOW <blower>BLOWer1,
BLOWer2,
BLOWer3
:CURR <supply>P5, P12, N12, P24,
N24, N5PT2, N2, P5STby
:POW <supply>P5, P12, N12, P24,
N24, N5PT2, N2, TOTal
:QUEErases all the events stored in the history queue. One event is put in
:TEMP <slot>OUT0…OUT12,
DELTa0…DELTa12,
AMBient
PSUPply
:VOLT <supply>P5, P12, N12, P24,
N24, N5PT2, N2
noneSelects the fan whose historical data is to be erased. BLOWer1 is the
main cooling fan, BLOWer2 is the Power Supply cooling fan,
BLOWer3 is a second Power Supply cooling fan on the Keysight
E8404A mainframes.
noneErases the amperage historical data for the selected <supply>.
Selects the power supply whose historical data is to be zeroed. P5
is positive 5 Vdc supply, N12 is negative 12 Vdc supply, etc.
noneErases the wattage historical data for the <supply>. Selects the
power supply whose historical data is to be zeroed. P5 is positive 5
Vdc supply, N12 is negative 12 Vdc supply, etc.
the history queue on this command: an event logging the time since
manufacture of the mainframe until the HIST:RES:QUE command.
This is a completely destructive command. There is no retrieving the
history queue. It is primarily needed if the history queue has filled up.
noneAbsolute Slot Temperature Histogram
Delta Slot Temperature Histogram
Ambient Temperature Histogram
Power Supply Temperature Histogram
noneErases the voltage historical data for the selected <supply>.
P5 is positive 5 Vdc supply, N12 is negative 12 Vdc supply, etc.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide85
Programming the Enhanced MonitorHISTory Subsystem
Comments
– If a parameter is left off, then all the historical data for all parameters of
that command is erased. For example, if the <blower> parameter is left off
of the
HIST:RES:BLOW command, then ALL of the BLOWer historical data
is erased.
– These commands are not allowed while the mainframe’s power is off.
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
query.
NumberMessageProbable Cause
-221“Settings Conflict”The mainframe’s power is off.
-224“Illegal Parameter”The parameter was not correct.
SYSTem:ERRor?
-311“Memory error”The historical data’s memory is not available.
Reset Condition
A *RST has no effect on the HISTory subsystem.
86Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
88Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
HISTory SubsystemProgramming the Enhanced Monitor
HISTory:TEMPerature[:HISTogram]? <slot>[,MIN|MAX]
HISTory:TEMPerature[:HISTogram]? <slot> returns the histogram data held for the
specified <slot>. Ten values are returned for the amount of time the <slot>’s
temperature spent in ten different temperature ranges. Those temperature
ranges can be queried with the MIN and MAX optional parameter. The units of
the time values returned are HOURs by default, but can be changed with the
HISTory:UNIT[:TIME] command. The units returned for temperature ranges
queried with the
degree Celsius (0.x
Parameters
NameTypeRangeDefaultDescription
<slot>enum. OUT0…OUT12,
optional
parameter
MIN or MAX parameters are an integer values in tenths of a
C).
noneAbsolute Slot Temperature
DELTa0…DELTa12,
AMBient
PSUPply
enum. MIN, MAXnoneReturns the maximums or minimums of
Delta Slot Temperature Histogram
Ambient Temperature Histogram
Power Supply Temperature
the temperature ranges.
Returned Data
TypeRangeDefaultDescription
<range1>int320-2147483647nonelowest temperature range.
<range2>int320-2147483647nonesecond temperature range.
<range3>int320-2147483647nonethird temperature range.
<range4>int320-2147483647nonefourth temperature range.
<range5>int320-2147483647nonefifth temperature range.
<range6>int320-2147483647nonesixth temperature range.
<range7>int320-2147483647noneseventh temperature range.
<range8>int320-2147483647noneeighth temperature range.
<range9>int320-2147483647noneninth temperature range.
<range10>int320-2147483647nonehighest temperature range.
Comments
– HIST:TEMP? OUT2 returns 10 time values for the exhaust temperature of
slot 2, units set/queried by HIST:UNIT.
–
HIST:TEMP? OUT2,MAX returns 10 temperatures that returns the
maximums for each temperature range in tenths of a degree Celsius (0.x
C) for slot 2.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide89
Programming the Enhanced MonitorHISTory Subsystem
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
SYSTem:ERRor?
query.
NumberMessageProbable Cause
-109“Missing Parameter”The <slot> parameter was omitted.
-224“Illegal Parameter”The <slot> or optional parameter were not correct.
-311“Memory error”The historical data’s memory is not available.
Reset Condition
A *RST has no effect on the HISTory subsystem.
Related Commands
HISTory:RESet:CURRent, HISTory:UNITs[:TIME]
90Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
HISTory:TEMPerature:MAXimum? <slot> returns a single floating point number for
the maximum temperature measured by the Enhanced Monitor for the <slot>
either manufacture of the mainframe or the most recent HIST:RES:TEMP or
since
HIST:RES:ALL.
HISTory:TEMPerature:MINimum?
<slot> returns a single floating point number for
the minimum temperature measured by the Enhanced Monitor for the <slot>
since either manufacture of the mainframe or the most recent HIST:RES:TEMP.
Parameters
NameTypeRangeDefaultDescription
<slot>enum.OUT0…OUT12,
DELTa0…DELTa12,
AMBient
noneExhaust temperature for slots 0 - slot 12
Temperature change above the ambient
temperature for slots0 - slot 12
Entrance air temperature
Returned Data
TypeRangeDescription
floatminimum or maximum temperature
Comments
– The maximum/minimum temperature tracking can be zeroed by the
HISTory:RESet commands.
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
query.
NumberMessageProbable Cause
-109“Missing parameter”You must include the <event index> parameter.
-224“Illegal Parameter”the <slot> parameter was not correct.
-311“Memory error”the historical data’s memory is not available.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide91
92Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
HISTory SubsystemProgramming the Enhanced Monitor
HISTory:TIME:LCALibration?
HISTory:TIME:LCALibration? returns the amount of operating time that has
passed since the last calibration was performed.
Returned Data
TypeRangeDefaultDescription
<hours>uint320 to 4294967295noneHours since cal
<min>uint160 to 60none+ minutes since cal
<sec>uint160 to 60none+ seconds since cal
Comments
– This query returns 4294967295,+0,+0 if a CAL, CAL:TEMP, or CAL:VOLT
has not been done. The history queue contains information on which
calibration was done.
Reset Condition
*RST has no effect on this query.
Related Commands
CAL:VOLT?, CAL:TEMP?, CAL[:ALL]?
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide93
Programming the Enhanced MonitorHISTory Subsystem
HISTory:TIME:LHReset?
HISTory:TIME:LHReset? returns the amount of operating time since the last
HISTory:RESet (or any specific HIST:RES:xxxx) command.
Returned Data
TypeRangeDefaultDescription
<hours>uint320 to 4294967295nonehours since history reset
<min>uint160 to 60none+ minutes since history reset
<sec>uint160 to 60none+ seconds since history reset
Comments
– If no HISTory:RESet has been performed, this query returns the amount of
time since mainframe manufacture. The history queue contains information
on which reset was done.
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
SYSTem:ERRor?
query.
NumberMessageProbable Cause
-311“Memory Error”Non-volatile memory is inaccessible.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide95
Programming the Enhanced MonitorHISTory Subsystem
HISTory:TIME:ON?
HISTory:TIME:ON? returns the amount of time operating since the last power up.
Returned Data
TypeRangeDefaultDescription
<hours>uint320 to 4294967295noneHours since last power-on
<min>uint160 to 60none+ minutes since last power-on
<sec>uint160 to 60none+ seconds since last power-on
Comments
– When the power is turned off and the enhanced monitor is operating on
external power, the timer does not advance.
Reset Condition
*RST has no effect on this query.
96Keysight E8402A, E8404A C-Size Mainframes User and Service Guide
HISTory SubsystemProgramming the Enhanced Monitor
HISTory:TIME:OPERating?
HISTory:TIME:OPERating? returns the amount of time the mainframe has been
operating since the last factory maintenance.
Returned Data
TypeRangeDefaultDescription
<hours>uint320 to 4294967295noneHours since last factory maintenance
<min>uint160 to 60none+ minutes since last factory maintenance
<sec>uint160 to 60none+ seconds since last factory maintenance
Comments
– Time stands still while the mainframe’s power supply is off. This time
returned does not indicate any time that the enhanced monitor may have
been running on external 5V.
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
SYSTem:ERRor?
query.
NumberMessageProbable Cause
-311“Memory Error”Non-volatile memory is inaccessible.
Reset Condition
*RST has no effect on this query.
Keysight E8402A, E8404A C-Size Mainframes User and Service Guide97
Programming the Enhanced MonitorHISTory Subsystem
HISTory:UNIT[:TIME] <unit>
HISTory:UNIT[:TIME]?
HISTory:UNIT[:TIME] <unit> sets the time units that will be used to report
historical data with histograms and history events.
HISTory:UNIT[:TIME]? returns a string (enumerated) of the time units that are
used to report historical data with histograms and history events. The strings
returned are: HOUR, MIN, SEC.
Parameters
NameTypeRangeDefaultDescription
<unit>enum.HOUR,
MINute,
SECond
Returned Data
HOURSelects the time unit used within the
HISTory subsystem.
TypeRangeDescription
enum.HOUR, MIN, SECTime units for reporting historical data.
Comments
– Use of this command does not change the amount and resolution of the
data kept by the enhanced monitor’s HISTory subsystem. It simply
changes the reporting of that data. When set to hours it reports the data to
the nearest hour, and so on.
– The setting is stored in non-volatile memory with the
SYSTem:NVSave
command.
Error Conditions
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
query.
NumberMessageProbable Cause
-109“Missing parameter”The <unit> parameter was omitted.
-224“Illegal Parameter”The <unit> parameter was not correct.
SYSTem:ERRor?
Reset Condition
*RST sets units back to the last value saved with the SYSTem:NVSave command.
98Keysight E8402A, E8404A C-Size Mainframes User and Service Guide