beautypg.com

Standard event register commands – GW Instek GLC-9000 User Manual User Manual

Page 160

background image

GLC-9000 User Manual

160

Query Example

*STB?
Return: 81
Returns 81, the bit weight of the STB, binary 0101
0001.

Standard Event Register Commands

*ESE

Sets or queries the Standard Event Status Enable Register.

Syntax

*ESE

Query Syntax

*ESE?

Query Return

Returns the bit weight of the SESER.

0~255

Example

*ESE 65
Sets the SESER to 65, binary 0100 0001.

Query Example

*ESE?
Return: 65
Returns 65, the bit weight of the SESER, binary 0100
0001.

*ESR?

Queries the Event Status Register.

Query Syntax

*ESR?

Query Return

Returns the bit weight of the Event Status Register.

0~255

Example

*ESE 65
Sets the SESER to 65, binary 0100 0001.

Query Example

*ESR?
Return: 198
Returns 98, the contents of the ESER, binary 1100
0110.