beautypg.com

Standard event register commands – GW Instek PPH-1503 User Manual

Page 127

background image

REMOTE CONTROL

127


Function

*STB?

Function

Query the status byte register. This is the same as
performing a serial poll, however the master
summary bit (MSS, bit 6) will not be cleared by the
*STB command. The return value range is from 0
to 255.

Example

*STB?
81
Returns 81 if the status byte register is set to 0101
0001.

Standard Event Register Commands

Command

*ESE

Function

Sets the standard event enable register. The
allowable value range is 0~255.

Example

*ESE 65
Sets the ESER as 0100 0001.


Command

*ESE?

Function

Queries the standard event enable register. It
returns are binary-weighted decimal value
representing all the enabled bits in the standard
event register.

Example

*ESE?
65
Returns 65, as the ESER is set as 0100 0001.


Command

*ESR?