beautypg.com

Status register commands – GW Instek AFG-2225 User Manual User Manual

Page 196

background image

AFG-2225 Series User Manual

196

Status Register Commands

*CLS

System Command

Description

The *CLS command clears all the event registers,
the error queue and cancels an *OPC command.

Syntax

*CLS

*ESE

System Command

Description

The Standard Event Status Enable command
determines which events in the Standard Event
Status Event register can set the Event Summary
Bit (ESB) of the Status Byte register. Any bit
positions set to 1 enable the corresponding event.
Any enabled events set bit 5 (ESB) of the Status
Byte register.

Note

The *CLS command clears the event register, but
not the enable register.

Syntax

*ESE

Parameter

0~255

Example

*ESE 20

Sets a bit weight of 20 (bits 2 and 4).

Query Syntax

*ESE?

Return Parameter Bit

Register

Bit

Register

0

Not used

4

Message Available

1

Not used

5

Standard Event

2

Error Queue

6

Master Summary

3

Questionable
Data

7

Not used