beautypg.com

GW Instek GDM-8246 Programming Manual User Manual

Page 12

background image

GDM-8246 MULTIMETER

PROGRAMMER MANUAL

⎯ 22 ⎯

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)

Function:
Return and clear 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)

Function:
Return the unique identification code of the DMM.

Syntax:

*IDN?

Returns:

includes Manufacturer, model number, serial number and
firmware version.

GDM-8246 MULTIMETER

PROGRAMMER MANUAL

⎯ 23 ⎯

Examples:

*IDN? Returns

GW_Inc, GDM-8246, FW1.00

*OPC

Function:
The command form (*OPC) sets the operation complete bit (bit 0) in the
Standard Event Status Register (SESR) when all pending operations are
finished.

The query form (*OPC?) tells the Digital Multimeter to place an ASCII 1
in the Output Queue when the DMM completes all pending operations.

Syntax:

*OPC

*OPC?

Returns:

1

*RST

(no query form)

Function:
Set all control settings of DMM to 1000V DCV range but does not purge
stored setting. The equivalent panel control will be set as below:

*SRE

Function:
Set the contents of the Service Request Enable Register (SRER). The
query form returns the contents of the SRER. Bit 6 of the SRER is
always zero. The bits on the SRER correspond to the bits on the SBR.

Syntax:

*SRE