3
Programming
188
Keysight 53147A/148A/149A Operating and Programming Guide
Programming the Instrument for Status Reporting
Determining the Condition of the Instrument
The instrument has status registers that are used to indicate its condition. There
are four register groups that can be examined individually, or used to alert a
computer. These registers, shown in
, are:
– Operation Status Register Group
– Questionable Data/Signal Register Group
– Standard Event Status Register Group
– Status Byte Register Group
The first three groups all have event registers that can be fed into the Status Byte
Register. The Status Byte Register can be used to assert the SRQ line and thus
alert the computer that the instrument needs attention. The following examples
show how each of the register groups can be used. (
is a flowchart that
shows how to program the instrument for Status Reporting.)
Resetting the Instrument and Clearing the Remote Interface
—Example 1
Before attempting any programming, it is a good idea to set the instrument to a
known state. The following command grouping shows how to reset the
instrument. Before issuing these commands, execute a device clear to reset the
interface and instrument. Consult your interface card's documentation for how to
issue a device clear since the device clear command will be specific to your
interface. Perform the following:
1
Issue an Interface Clear and a Device Clear. (See your computer or interface
card documentation on how to issue this command).
2
Issue the following commands:
*RST
*CLS
*SRE 0
*ESE 0
:STAT:PRES
Содержание 53147A
Страница 1: ...Keysight 53147A 148A 149A Microwave Frequency Counter Power Meter DVM Operating and Programming Guide ...
Страница 20: ...20 Keysight 53147A 148A 149A Operating and Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 310: ...312 Keysight 53147A 148A 149A Operating and Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...