beautypg.com

Status byte register commands – GW Instek PPH-1503 User Manual

Page 126

background image

PPH-1503 User Manual

126

you read the event register.

The following will clear the standard event register:

•The *CLS command is executed.

•The *ERR? query is used read the event register.

The following will clear the standard event enable register.

•*ESE 0 is written to the standard event enable register.

Status Byte Register Commands

Command

*SRE

Function

Service request enable register (SRER) command
that writes a binary weighed value which
determines which events in the status byte register
are enabled.

Function

Allowed
values

Decimal vales: 0~255

Example

*SRE 7
0000 0111
Returns the SRER setting (0000 0111)


Command

*SRE?

Function

Queries the status byte enable register. This
command returns a binary-weighted decimal
number that indicates which bits are set in the
status byte register. The range is from 0~255.

Example

*SRE?
0000 0111
Returns “7”, which are the contents of the service
request enable register.