Language Dictionary - 6

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 5 explains how to read specific register bits and use the information they return.

STATus:OPERation[:EVENt]?

This query returns the value of the Operation Event register. The Event register is a read-only register, which stores (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]? (@<channel list>)

 

 

Parameters

None

 

 

 

 

 

 

Returned Parameters

<NR1>(register value)

 

 

 

 

 

 

Examples

STAT:OPER? (@1)

 

 

 

 

 

Related Commands

*CLS STAT:OPER:NTR

 

STAT:OPER:PTR

 

 

 

 

Table 6-4. Bit Configuration of Operation Status Registers

 

Bit Position

 

6

 

5

 

4

 

3

2

1

0

Bit Name

 

OFF

 

VL-

 

VL+

 

CC

CL-

CL+

CV

Bit Value

 

64

 

32

 

16

 

8

4

2

1

OFF =The selected

output is off

 

 

 

 

CL- =The selected output is in negative current limit2

VL- =The selected output is in negative voltage limit1

CL+ =The selected output is in positive current limit2

VL+ =The selected output is in positive voltage limit1

CV =The selected output is in constant voltage2

CC =The selected output is in constant current1

 

1Current priority mode only.

2Voltage priority mode only.

STATus:OPERation:CONDition?

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

Query Syntax

STATus:OPERation:CONDition? (@<channel list>)

Parameters

None

Examples

STAT:OPER:COND? (@1)

 

STATUS:OPERATION:CONDITION? (@1)

Returned Parameters

<NR1> (register value)

STATus:OPERation:ENABle

This command and its query set and read the value of the Operational Enable register. This register is a mask for enabling specific bits from the Operation Event register to set the operation summary bit (OPER) of the Status Byte register. This bit (bit 7) is the logical OR of all the Operatonal Event register bits that are enabled by the Status Operation Enable register.

Command Syntax

STATus:OPERation:ENABle<NRf>,(@<channel list>)

Parameters

0 to 32767

Preset Value

0

Examples

STAT:OPER:ENAB 1312,(@1)

Query Syntax

STATus:OPERation:ENABle? (@<channel list>)

Returned Parameters

<NR1> (register value)

Related Commands

STAT:OPER?

69

Page 69
Image 69
Agilent Technologies N3280A manual Status Commands, STATusOPERationEVENt?, STATusOPERationCONDition?, STATusOPERationENABle