beautypg.com

Status byte register command – GW Instek GLC-9000 User Manual User Manual

Page 159

background image

REMOTE CONTROL

159

The Standard Event Register can be cleared under the following:

Using the *CLS command

Using the *ESR? Query to query the event register

The Standard Event Status Enable Register can be cleared by:

Using the *ESE 0 command

Status Byte Register Command

*SRE

Sets the bit weight of the service request enable register. The SRER
determines which events in the Status Byte Register are allowed to
set the Service Request bit. Any bit that is set to “1” will cause the
Service Request bit to be set.

Syntax

*SRE

Query Syntax

*SRE?

Query Return

Returns the bit weight of the service request enable
register.

0~255

Example

*SRE 7
Sets the SRER to 0000111.

Query Example

*SRE?
Return: 7
Returns 7, the bit weight of the SRER, binary
00000111.

*STB?

Queries the Status Byte Register, including the service request bit.
The STB? query will clear all the bits in the status byte register
excluding the MSS bit.

Query Syntax

*STB?

Query Return

Returns the bit weight of Status Byte register.

0~255