beautypg.com

Status commands, Status:preset, Status:operation – Agilent Technologies 6631B User Manual

Page 61: Status:operation:condition

background image

Language Dictionary - 4

61

Status Commands

Status commands program the dc source status registers. The dc source has three groups of status
registers; Operation, Questionable, and Standard Event. The Standard Event group is programmed with
Common commands as described later in this section. The Operation and Questionable status groups
each consist of the Condition, Enable, and Event registers and the NTR and PTR filters. Chapter 3 under
"Programming the Status Registers" explains how to read specific register bits and use the information
they return.

Common commands also perform status functions. The following common commands are discussed in
this section: *CLS *ESE *SR? *OPC *PSC *SRE *STB *WAI.

STATus:PRESet

This command sets all defined bits in the Status Subsystem PTR registers and clears all bits in the
subsytem NTR and Enable registers.

Command Syntax

STATus:PRESet

Parameters

None

Examples

STAT:PRES STATUS:PRESET

Table 4-4. Bit Configuration of Operation Status Registers

Bit Position

15–12

11

10

9

8

7-6

5

4-1

0

Bit Name

not

used

CC-

CC+

not

used

CV

not

used

WTG

not

used

CAL

Bit Weight

2048

1024

256

32

1

CAL = The dc source is computing new calibration constants.
WTG = The dc source is waiting for a trigger.
CV = The dc source is operating in constant voltage mode.
CC+ = The dc source is operating in constant current mode.
CC = The dc source is operating in negative constant current mode.

STATus:OPERation?

This query returns the value of the Operation Event register. The Event register is a read-only register
which holds (latches) all events that are passed by the Operation NTR and/or PTR filter. Reading the
Operation Event register clears it.

Query Syntax

STATus:OPERtion[:EVENt]?

Parameters

None

Returned Parameters

(Register Value)

Examples

STAT:OPER?

STATUS:OPERATIONAL:EVENT?

Related Commands

*CLS STAT:OPER:NTR STAT:OPER:PTR

STATus:OPERation:CONDition?

This query returns the value of the Operation Condition register. That is a read-only register which holds
the real-time (unlatched) operational status of the dc source .

Query Syntax

STATus:OPERation:CONDition?

Parameters

None

Examples

STAT:OPER:COND?

STATUS:OPERATION:CONDITION?

Returned Parameters

(register value)

This manual is related to the following products: