beautypg.com

GW Instek GDM-8246 Programming Manual User Manual

Page 22

background image

GDM-8246 MULTIMETER

PROGRAMMER MANUAL

⎯ 42 ⎯

Examples

STATus:OPERation:ENABle 32767 sets all 15 bits of the register to 1.

If the STATus:OPERation:ENABle? returns 0, all 15 bits of the register
are 0.

STATus:OPERation:EVENt

(query only)

Function:
Returns and clears the contents of the OPERation register.

Syntax:

STATus:OPERation:EVENt?

Returns:

Examples:

STATus:OPERation:EVENt? returns 0.

STATus:PRESet

Function:
Set the OPERation and QUESTionable enable registers to zeros.

Syntax:

STATus:PRESet

STATus:QUEStionable:CONDition?

(query only)

Function:
Return the contents of the QUEStionable register. Reading the condition
register is non-destructive.

GDM-8246 MULTIMETER

PROGRAMMER MANUAL

⎯ 43 ⎯

Syntax:

STATus:QUEStionable:CONDition?

Returns:

Examples:

STATus:QUEStionable:CONDition? returns 0.

STATus:QUEStionable:ENABle

Function:
Set or query the enable mask that allows the masked conditions in the
event register to be reported in the summary bit. If a bit is 1 (true) in the
enable register and its associated event bit changes to 1 (true), the
associated summary bit will change to 1 (true). Even though this is a
16-bit register, only 15 bits (bit 0 through bit 14) are used. Bit 15 always
reads 0.

Syntax:

STATus:QUEStionable:ENABle

STATus:QUEStionable:ENABle?

is an integer from 0 to 32767.

Returns:

Examples:

STATus:QUEStionable:ENABle 32767 sets all 15 bits of the register to
1.

If the STATus:QUEStionable:ENABle? returns 0, all 15 bits of the
register are 0.