14 status commands, Status:device:condition, Status:device:enable – Boonton 4540 Peak Power Meter User Manual User Manual

Page 196: 14 status commands -62, Status:device:condition? -62, Status:device:enable -62, Boonton 4540 series rf power meter, Remote operation

Advertising
background image

Boonton 4540 Series RF Power Meter

Remote Operation

5-62

5.6.14 STATus Commands

The STATus command subsystem enables you to control the SCPI defined status reporting structures. The user may
examine the status or control status reporting of the power meter by accessing the Device, Operation and Questionable status
groups Note that GPIB commands may be used to monitor the instrument’s IEEE-488.2 registers (See GPIB - IEEE-488.2
Commands).

STATus:DEVice:CONDition?

Description:

Return the current value of the Device Condition register. The following table shows the bit
assignments in the register. These bits are updated by the instrument in real time, and can change
in response to changes in the instrument’s operating condition.

Bit

Value

Definition

0

1

Not used

always returns 0.

1

2

Channel 1 Connected

1 = A sensor or probe is connected to channel 1.

2

4

Channel 2 Connected

1 = A sensor or probe is connected to channel 2.

3

8

Channel 1 Error

1 = Channel 1 is reporting an error.

4

16

Channel 2 Error

1 = Channel 2 is reporting an error.

5

32

Shape Cal 1

1 = Channel 1 is using a CW shape cal table.

6

64

Shape Cal 2

1 = Channel 2 is using a CW shape cal table.

7

128

Smart Cal 1

1 = Channel 1 is using a CW smart cal table.

8

256

Smart Cal 2

1 = Channel 2 is using a CW smart cal table.

9

512

Auto Cal 1

1 = Channel 1 is using an auto cal table.

10

1024

Auto Cal 2

1 = Channel 2 is using an auto cal table.

11

2048

Not used

always returns 0.

12

4096

Not used

always returns 0.

13

8192

Key Press

1 = A key has been pressed.

14

16384

Not used

always returns 0.

15

32768

Not used

always returns 0.


Syntax:

STATus:DEVice:CONDition?

Returns:

16-bit register value (0 to 32767)

Valid Modes:

Any

STATus:DEVice:ENABle

Description:

Sets or returns the Device Enable register, which contains the bit mask that defines which true
conditions in the Device Status Event register will be reported in the Device Summary bit of the
instrument Status Byte. If any bit is 1 in the Device Enable register and its corresponding Device
Event bit is true, the Device Status summary bit will be set.

Syntax:

STATus:DEVice:ENABle <numeric_value>

Argument:

<numeric_value> = 0 to 32767

Valid Modes:

Any

Advertising