HP VXI manual STATus, OPERation CONDition?, OPERationENABle

Page 24

STATus

 

The STATus subsystem commands access the condition, event, and enable registers

 

in the Operation Status Group and the Questionable Data Group.

Subsystem Syntax

STATus

 

:OPERation

 

:CONDition?

 

:ENABle <event>

 

:ENABle?

 

[:EVENt]?

 

:PRESet

 

:QUEStionable

 

:CONDition?

 

:ENABle <event>

 

:ENABle?

 

[:EVENt]?

:OPERation :CONDition?

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

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

Example Reading the contents of the condition register

STAT:OPER:COND?

Query register.

:OPERation:ENABle

STATus:OPERation:ENABle <event> sets an enable mask to allow events monitored by the condition register and recorded in the event register, to send a summary bit to the Status Byte register (bit 7).

Parameters

Parameter

Parameter

Range of

Default

Name

Type

Values

Units

 

 

 

 

event

numeric

0-65535

none

 

 

 

 

 

 

 

 

Comments When the summary bit is sent, it sets bit 7 in the Status Byte register.

Related Commands: STAT:OPER:ENABle?

Example Unmasking bit 8 in the Event Register

STAT:OPER:ENAB 256

Unmask bit 8.

24 Command Reference

Chapter 3

Image 24
Contents Contents Comments Example QUEStionableEVENt? Printing History This Page Intentionally Left Blank Introduction Introduction Chapter About this Chapter General Status Register ModelCondition Register Transition Filter Event Register An Example SequencePage Required Status Groups Status Byte Register Standard Event Group Status Byte Bit DefinitionsStandard Operation Status Group Questionable Data Group Handling SRQs Using MAV to Determine When Data is Available Status System Programming ExamplesExample Program SRQ Icloseid Example Program Deverrmask Qryerrmask Chapter Programming the Status System Programming the Status System Chapter Command Reference OPERationENABle STATusOPERation CONDition? OPERationENABle? PRESetOPERationEVENt? QUEStionable CONDition?QUEStionableENABle QUEStionableENABle?QUEStionableEVENt? STATQUESEVEN? Common Command Reference CLSEMC? ESE maskESE? ESR?IDN? LMC?LRN? OPC OPC?PMC RSTSRE mask SRE?STB? TST?WAI Command Reference Chapter