beautypg.com

GW Instek GDS-800 Series Programming Manual User Manual

Page 20

background image

GDS-806/810/820/840 Programming Manual

19

Examples

*ESE 65

sets the ESER to binary 0100 0001.

If the ESER contains the binary value 1000 0010, the *ESE? will return the value of

130.

*ESR? (query only)

Returns and clears the contents of the Standard Event Status Register (SESR).

Syntax

*ESR?

Returns

is a number from 0 to 255 that indicates the decimal value of the binary bits

of the ESER.

Examples

If the ESER contains the binary value 1100 0110, the *ESR? will return the value of

198.

*IDN? (query only)

Returns the unique identification code of the oscilloscope.

Syntax

*IDN?

Examples

*IDN?

Returns GW,GDS-806/GDS-810/GDS-820/GDS-840,0,