
18
v02.1110
Order On-Line: www.hittite.com. For technical application questions: Phone: 978-250-3343 or [email protected]
HMC-T2200 Synthesized Signal Generator Family User Manual
3.3.11.1 Example: Errors Propagate to STB
Set standard Event Status Enable and read it back.
*ese #h3c
*ese?
60
form:sreg hex
*ese?
#H3C
Verify STB (standard STatus Byte) is clear.
*stb?
#H00
Generate an error and verify it shows up in STB.
oops
*stb?
#H24
Reading the error message clears the Error/Event Queue bit (0x04.).
syst:err:all?
-113, “Undefined header; oops”
*stb?
#H20
The ESR summary bit will remain set until ESR is read..
*esr?
The msb of the ESR is Power On. This will be set after the unit is turned on.
#HA0
Reading ESR clears ESR and the ESR summary bit..
*esr?
#H00
*stb?
#H00
3.3.12
*ESR? – Event Status Register
*ESR? reads the Standard Event Status Register and clears it.
The
ESR is “sticky” in that it keeps its bits high until they are cleared even if the condition that caused
them to be set is no longer true.
The result is in the range 0 to 255.
There is no command to set the ESR.
Reading the ESR clears it. To clear the ESR without reading its contents, see
*CLS.
*ESR? is affected by FORMat:SREGister.
See Also:
*ESE, *STB, FORMat:SREGister