CG635 Remote Programming
38
CG635 Synthesized Clock Generator
Status Reporting Commands
*CLS Clear
Status
Clear Status immediately clears the ESR, CESR, LCKR, and INSR registers as
well as the LERR error buffer.
*ESE(?){i}
Standard Event Status Enable
Set (query) the standard event status enable register {to i}. Bits set in this register
cause ESB in the serial poll status byte to be set when the corresponding bit is set
in the standard event status register.
*ESR?
Standard Event Status Register
Query the standard event status register. The value returned is a decimal value
from 0 to 255. After executing a *ESR? query, the register is cleared. See the
Status Byte Definitions section for a description of each of the bits.
Example
*ESR?<CR>
A return of ‘176’ would indicate that PON, CME, and EXE
are set.
*PSC(?){i}
Power-on Status Clear
Set (query) the Power-on Status Clear flag {to i}. The Power-on Status Clear flag
is stored in nonvolatile memory in the CG635, and thus, maintains its value
through power-cycle events.
If the value of the flag is 0, then the Service Request Enable and Standard Event
Status Enable Registers (*SRE, *ESE) are stored in non-volatile memory, and
retain their values through power-cycle events. If the value of the flag is 1, then
these two registers are cleared upon power-cycle.
Example
*PSC 1<CR>
Set the Power-on Status Clear to 1.
*PSC?<CR>
Returns the current value of Power-on Status Clear.
*SRE(?){i}
Service Request Enable
Set (query) the Service Request Enable register {to i}. Bits set in this register
cause the CG635 to generate a service request when the corresponding bit is set
in the serial poll status register.
*STB?
Serial Poll Status Byte
Query the standard IEEE 488.2 serial poll status byte. The value returned is a
decimal value from 0 to 255. Reading this byte has no effect on its value. See the
Status Byte Definitions section for a description of each of the bits.
Example
*STB?<CR>
A return of ‘114’ would indicate that LCKB, MAV, ESB, and
MSS are set. LCKB indicates that an enabled bit in LCKR is
set. MAV indicates that a message is available in the output
queue. ESB indicates that an enabled bit in ESR is set. MSS
reflects the fact that at least one of the summary bits is set.