Esr? -7, Idn? -7, Opc -7 – Boonton 4240 RF Power Meter User Manual
Page 67: Opc? -7, Boonton 4240 series rf power meter, Remote operation 5-7

Boonton 4240 Series RF Power Meter
*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.
.
= a r
alway
ay
Syntax:
Model#, Serial#, Version# >
PC
Description:
Clears the OPC (Operation Complete) status flag. This command is issued before the command to
ll never be returned.
PC?
Description:
ns are complete. If pending operations are not yet complete, it does not return.
to indicate operations complete. Otherwise, does not return.
1
2
Not
used
2
4
Not
used
r
3
8
Device Dependent Error 1 = the instrument encountered a device dependent erro
lways
4
16
Not used
a
returns 0
1
5
32
Command Error
emote interface command error exists.
6
64
Not used
s returns 0
7
128
Not used
alw s 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.
*IDN?
Returns:
< Mfgr,
*O
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 wi
Syntax:
*OPC
Argument:
None
*O
This command examines the OPC (Operation Complete) status flag and returns a “1” if all
pending operatio
Syntax: *OPC?
Returns:
Always returns 1
Remote Operation
5-7