Programming The Instrument For Status Reporting; Determining The Condition Of The Instrument; Resetting The Instrument And Clearing The Remote Interface -Example 1 - Keysight 53147A Operating And Programming Manual

Microwave frequency counter/power meter/dvm
Table of Contents

Advertisement

3
Programming

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
– 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.
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
2 Issue the following commands:
188
card documentation on how to issue this command).
*RST
*CLS
*SRE 0
*ESE 0
:STAT:PRES
Keysight 53147A/148A/149A Operating and Programming Guide
Figure
3-15, are:
(Figure 3-16
is a flowchart that

Advertisement

Table of Contents
loading

This manual is also suitable for:

53148a53149a

Table of Contents