Standard Commands for Programmable Instruments (SCPI)
107
Table C-3. Examples of Questionable Status Register Bit Programming
Example Signal Cond Reg PTR NTR Event Enable Summary
Change Filter Filter Reg Reg Bit
Example 1: OT
0 1
1 01 11
Example 2: UNR 0=1or 1 1 1 1
Example 3: RI x x x 0 0
Example 4: RI
0
1 0 11
Explanation of Examples
Example 1: Allow an overtemperature event to set the QUES summary bit.
STAT:QUES:ENAB 16;PTR 16
Example 2: Allow both an unregulated event and the removal of that event to set the QUES summary bit
STAT:QUES:ENAB 1024;PTR 1024;NTR 1024
Example 3: Prevent any remote inhibit event from setting the QUES summary bit.
STAT:QUES:ENAB 0 (or any value that does not set bit 9)
Example 4: Allow only the removal of an existing remote inhibit event to set the QUES summary bit
STAT:QUES:ENAB 512;NTR 512
Notes: Boldface (1) indicates programmed state; italic (1) indicates signal state. "x’’ = ’’don’t care’ condition.
Table C-4. STAT:OPER Commands
Register Command Query Clear By
Condition (None) STAT:OPER:COND? Cannot be cleared
PTR Filter STAT:OPER:PTR <NRf> STAT:OPER:PTR? Programming 0
NTR Filter STAT:OPER:NTR <NRf> STAT:OPER:NTR? Programming 0
Event (None) STAT:OPER:EVEN? Reading or *CLS
Enable STAT:OPER:ENAB <NRf> STAT:OPER:ENAB? Programming 0
Status Programming Example. Control over Conditional Status events is the same as for Questionable Status events. See
Table C-1 for register configurations.
STAT:OPER:ENAN 32;NTR 32
Allow the OPER summary bit to be set whenever the power supply leaves CV mode
Standard Event Status Group
Register Functions.
The Standard Event Status group consists of two registers (Event and Enable) that are progammed by
common commands, not by STAT subsystem commands.
The Standard Event register latches events relating to interface communication status (see Table C-1). It is a readonly
register that is cleared when read.
Read Query *ESR?
Clear Commands *CLS *ESR?
The Standard Event Enable register is a read/write register that functions similarly to the enable registers of the Operation
and Questionable status groups.
Program Command *ESE <NRf>
Read Query
*ESE?
Clear Command *ESE 0