beautypg.com

Esr? -7, Idn? -7, Opc -7 – Boonton 9240 RF Voltmeter User Manual

Page 57: Opc? -7, Boonton 9240 series rf voltmeter, Remote operation 5-7

background image

Boonton 9240 Series RF Voltmeter

*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)

*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# >

*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

*OPC?

Description:

This command examines the OPC (Operation Complete) status flag and returns a “1” if all
pending operations are complete. If pending operations are not yet complete, it does not return.

Syntax: *OPC?

Returns:

Always returns 1 to indicate operations complete. Otherwise, does not return.

Remote Operation

5-7