
SCPI Command Set
*RST does not affect the registers or queues associated with the IEEE mandated
commands. Each non-IEEE mandated command description in this reference shows the
*RST value when affected.
Syntax
*RST
Parameter/Response
None
*SRE/*SRE?
The *SRE (Service Request Enable) command enables bits in the SRE register. The
decimal integer value entered is the binary equivalent of the desired 8-bit mask to be
enabled. Bits enabled in this register allow accessing the equivalent bits status in the
STB register.
*SRE? query returns the decimal sum of the enabled bits in the SRE register. The
decimal sum is the binary equivalent of the 8-bit mask.
for the SRE/STB register bits mapping.
Syntax
*SRE <integer>
*SRE?
Parameter/Response
<integer>
*STB?
*STB? (Status Byte) query returns the decimal sum of the bits set in the STB register
without erasing its content. The decimal sum is the binary equivalent of the 8-bit mask.
Any specific bit in the STB will only appear set if and only if its event has occurred and
the corresponding bit in the SRE is also enabled.
for the ESE/ESR register bits mapping and the
Syntax
*STB?
Parameter
None
Response
<integer>
*TST?
*TST? (self-test) query initiates the device's internal self-test and returns one of the
following results:
•
0 - all tests passed.
•
1 - one or more tests failed.
Syntax
*TST?
Parameter
None
Response
0 | 1
Output Data Type
Integer
ThinkRF WSA5000 Wireless Signal Analyzer Programmer's Guide
45