12 status commands, Status:device:condition, Status:device:enable – Boonton 9240 RF Voltmeter User Manual
Page 74: 12 status commands -24, Status:device:condition? -24, Status:device:enable -24, Boonton 9240 series rf voltmeter, Remote operation 5-24

Boonton 9240 Series RF Voltmeter
5.5.12 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 voltmeter by accessing the Device, Operation and Questionable status
groups
.
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
Not used
always returns 0.
8
256
Not used
always returns 0.
9
512
Not used
always returns 0.
10
1024
Not used
always returns 0.
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 65535)
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
Argument:
Returns:
16-bit register value (0 to 65535)
Remote Operation
5-24