
SCPI Command Set
*ESR?
Query the standard Event Status Register (ESR), which returns the decimal sum of the
bits set in the ESR. The decimal sum is the binary equivalent of the 8-bit mask. Any
specific bit in the ESR will only appear set if and only if its event has occurred and the
corresponding bit in the ESE is also enabled.
for the ESR register bits mapping.
Caution:
This is a destructive read. Once queried, the register is cleared.
Syntax
*ESR?
Parameter
None
Response
<integer>
Description
Refer to the
Appendix D: SCPI Status and Event Registers
for the ESR register bit definition
*IDN?
Returns the WSA5000's identification information string.
Note:
The model string returned will not include the options (ie. ELO, HIF, WBIQ, etc).
To find out which options a model has, use
command.
Syntax
*IDN?
Parameter
None
Response
“<Manufacturer>,<Model>,<Serial number>,<Firmware version>”
Data Type
string
*OPC/*OPC?
*OPC (Operation Complete) command sets to confirm bit 0 in the ESR to 1 when all
commands received before *OPC or *OPC? have been completed.
*OPC? returns the ASCII character 1 in the Standard Event register indicating completion
of all pending operations. The query also stops any new commands from being
processed until the current processing is complete.
Syntax
*OPC
*OPC?
Parameter
None
Query Response
1
*RST
Resets the WSA5000 to its default settings. This includes stopping any running capture
mode and trigger mode, and also performs
44
ThinkRF WSA5000 Wireless Signal Analyzer Programmer's Guide