Esr? -7, Idn? -7, Opc -7 – Boonton 4540 Peak Power Meter User Manual User Manual

Page 141: Boonton 4540 series rf power meter, Remote operation

Advertising
background image

Boonton 4540 Series RF Power Meter

Remote Operation

5-7

*ESR?

Description:

Return the current value of the Standard Event Status Register, then clear the register. This register
has bits assigned to a number of possible events or conditions of the instrument. When the event
occurs, the corresponding bit is latched. The register value is read using this command.
Individual bits may be enabled or disabled for SRQ generation using the ESE mask (see *ESE
command). The following table shows the bit assignments in the Standard Event Status Register:

Bit Value

Definition

0

1

Operation Complete Flag 1 = all current operations have completed execution.

1

2

Not used

2

4

Not used

3

8

Device Dependent Error 1 = the instrument encountered a device dependent error.

4

16

Not used

always returns 0

5

32

Command Error

1 = a remote interface command error exists.

6

64

Not used

always returns 0

7

128

Not used

always returns 0


Syntax:

*ESR?

Returns:

Current Value of Event Status Register (0 to 255)

Valid Modes:

Any

*IDN?

Description:

Return the instrument identification string. This string contains the manufacturer, model number,
serial number and firmware version number.

Syntax:

*IDN?

Returns:

< Mfgr, Model#, Serial#, Version# >

Valid Modes:

Any

*OPC

Description:

Clears the OPC (Operation Complete) status flag. This command is issued before the command to
be checked for completion. After this, the flag may be queried by *OPC? until a value of one is
returned, indicating the command has completed. Note that the query is not a true query - a value
of zero will never be returned.

Syntax:

*OPC

Argument:

None

Valid Modes:

Any

Advertising