20 ieee-488.2 commands – Boonton 4530 Peak Power Meter User Manual User Manual

Page 126

Advertising
background image

4-52

Chapter 4

Boonton Electronics

Remote Operation

4530 Series RF Power Meter

STATus:QUEStionable:CONDition

Description:

Return the current value (condition) of the SCPI Questionable Status register. The follow-
ing table shows the bit assignments in the register:

Bit

Value

Definition

0

1

Voltage

1 = an internal power supply voltage is out of spec.

1 - 2

--

Not used

always returns 0

3

8

Power

1 = there has been a power error.

4

16

Temperature

1 = a sensor has drifted by more than 4C from autocal.

5 - 7

--

Not used

always returns 0

8

256

Calibration

1 = sensor requires calibration and/or zeroing

9 - 12

--

Not used

always returns 0

13

8192

Instrument Summary

14

16384

Command Warning

15

--

Not used

always returns 0

Syntax:

STATus:QUEStionable:CONDition?

Returns:

16-bit register value (0 to 32767)

Valid Modes:

Any

STATus:QUEStionable:ENABle

Description:

Set or return the Questionable Enable mask value. This value is used to enable particular
bits for generating a service request (SRQ) over the GPIB when certain conditions exist in
the Questionable Status register. When a mask bit is set, and the corresponding STB bit
goes true, an SRQ will be generated. No SRQ can be generated for that condition if the mask
bit is clear. The bits in the Status Byte register are generally summary bits, which are the
logical OR of the enabled bits from other registers.

Syntax:

STATus:QUEStionable:ENABle <n>

Argument:

<n> = 0 to 32767

Valid Modes:

Any

4.5.20 IEEE-488.2 Commands

The purpose of IEEE488.2 commands is to provide management and data communication instructions for the system by
defining a set of “*” commands (an asterisk followed by a three character code). These commands allow device control
and status monitoring, and are the basis for some of the commands of the SCPI STATus subsystem (see previous).

*CLS

Description:

Clear Status command. This command resets the SCPI status registers (Questionable Sta-
tus and Operation Status), the error queue, the IEEE488.2 Status Byte (STB) and Standard
Event Status (ESR) registers, and the measurement.

Syntax:

*CLS

Argument:

None

Valid Modes:

Any

Advertising