HP VXI manual OPERationENABle?, OPERationEVENt?, PRESet, QUEStionable CONDition?

Page 25

:OPERation:ENABle?

STATus:OPERation:ENABle? returns which bits in the event register (Operation

Status Group) are unmasked.

Comments Reading the event register mask does not change the mask setting (STAT:OPER:ENAB <event>).

Related Commands: STAT:OPER:ENABle

Example Reading the Event Register Mask

STAT:OPER:ENAB?

Query register mask.

:OPERation[:EVENt]?

STATus:OPERation[:EVENt]? returns which bits in the event register (Operation Status Group) are set. The event register indicates when there has been a transition in the condition register.

Comments Reading the event register clears the contents of the register. If the event register is to be used to generate a service request (SRQ), you should clear the register before enabling the SRQ (*SRE). This prevents an SRQ from occurring due to a previous event.

Related Commands: STAT:OPER:ENABle, STAT:OPER:ENABle?

Example Reading the Event Register

STAT:OPER:EVEN?

Query returns bit(s) set.

:PRESet

STATus:PRESet Sets the Operation Status Enable and Questionable Data Enable registers to 0. After executing this command, none of the events in the Operation Event or Questionable Event registers will be reported as a summary bit in either the Status Byte Group or Standard Event Group. STATus:PRESet does not clear either of the Event registers.

Example Presetting the Enable Register

STAT:PRES

Preset enable register.

:QUEStionable :CONDition?

STATus:QUEStionable:CONDition? returns the state of the condition register in the Questionable Status Group. The state represents conditions which are part of an instrument’s operation.

Chapter 3

Command Reference 25

Image 25
Contents Contents Comments Example QUEStionableEVENt? Printing History This Page Intentionally Left Blank Introduction Introduction Chapter General Status Register Model About this ChapterAn Example Sequence Condition Register Transition Filter Event RegisterPage Required Status Groups Status Byte Register Status Byte Bit Definitions Standard Event GroupStandard Operation Status Group Questionable Data Group Status System Programming Examples Handling SRQs Using MAV to Determine When Data is AvailableExample Program SRQ Icloseid Example Program Deverrmask Qryerrmask Chapter Programming the Status System Programming the Status System Chapter Command Reference STATus OPERationENABleOPERation CONDition? PRESet OPERationENABle?OPERationEVENt? QUEStionable CONDition?QUEStionableENABle? QUEStionableENABleQUEStionableEVENt? STATQUESEVEN? CLS Common Command ReferenceESE mask EMC?ESE? ESR?LMC? IDN?LRN? OPC? OPCPMC RSTSRE? SRE maskSTB? TST?WAI Command Reference Chapter