12 status commands, Status:device:condition, Status:device:enable – Boonton 4240 RF Power Meter User Manual

Page 86: 12 status commands -26, Status:device:condition? -26, Status:device:enable -26, Boonton 4240 series rf power meter, Remote operation 5-26

Advertising
background image

Boonton 4240 Series RF Power Meter

5.5.12 STATus Commands

ables you to control the SCPI defined status reporting structures. The user may

amine the status or cont

roups

.

Description:

turn t

lue of the De

table shows the bit

signm

gister. These

nt in real time, and can change

respon

ges in the instru

V

The STATus command subsystem en
ex

rol status reporting of the power meter by accessing the Device, Operation and Questionable status

g

STATus:DEVice:CONDition?

t va

llowing

Re

he curren

vice Condition register. The fo

e

as

ents in the re

bits are updated by the instrum

m

ondition.

in

se to chan

ent’s operating c

Bit

alue

Definition

0

1

Not used

always returns 0.

1

2

Channel 1

1 = A sensor or pr

2

Connected

obe is connected to channel 1.

Connected

annel 2.

rror

pe cal table.
pe cal table.

1

sing a CW smart cal table.

2

sing a CW smart cal table.

sing an auto cal table.
sing an auto cal table.

1

2048

ays returns 0.

2

40

ways returns 0.

81

1 = A key has been pressed.

14

16384

Not used

always returns 0.

15

32768

Not used

always returns 0.

s:DEVice:CONDition?

Returns:

16-bit register value (0 to 65535)

TATus:DEVice:ENAB

on:

contains the bit mask that defines which true

Event register will be reported in the Device Summary bit of the

bit is 1 in the Device Enable register and its corresponding Device

summary bit will be set.

Syntax:

STATus:DEVice:ENABle <numeric value>

alue> = 0 to 65535

egister value (0 to 65535)

2

4

Channel

1 = A sensor or probe is connected to ch

3

8

Channel 1 E

1 = Channel 1 is reporting an error.

ror.

4

16

Channel 2 Error

1 = Channel 2 is reporting an er

5

32

Shape Cal 1

1 = Channel 1 is using a CW sha

l 2

using a CW sha

6

64

Shape Ca

1 = Channel 2 is

7

128

Smart Cal

1 = Channel 1 is u

8

256

Smart Cal

1 = Channel 2 is u

9

512

Auto Cal 1

1 = Channel 1 is u

10

1024

Auto Cal 2

1 = Channel 2 is u


1

Not used

alw

1

96

Not used

al

13

92

Key Press




Syntax:

STATu

le

S

Descripti

Sets or returns the Device Enable register, which
conditions in the Device Status
instrument Status Byte. If any
Event bit is true, the Device Status

Argument:

<numeric v

Returns:

16-bit r

Remote Operation

5-26

Advertising