Agilent Technologies 6631B User Manual

Page 67

Advertising
background image

Language Dictionary - 4

67

Command Syntax

*SRE <NRf>

Parameters

0 to 255

Power-on Value

see *PSC

Example

*SRE 20

Query Syntax

*SRE?

Returned Parameters

<NR1> (register binary value)

Related Commands

*ESE *ESR *PSC

CAUTION:

If *PSC is programmed to 0, the *SRE command causes a write cycle to nonvolatile
memory. Nonvolatile memory has a finite maximum number of write cycles. Programs
that repeatedly cause write cycles to nonvolatile memory can eventually exceed the
maximum number of write cycles and cause the memory to fail.

*STB?

This query reads the Status Byte register, which contains the status summary bits and the Output Queue
MAV bit. Reading the Status Byte register does not clear it. The input summary bits are cleared when the
appropriate event registers are read. The MAV bit is cleared at power-on, by *CLS’ or when there is no
more response data available.

A serial poll also returns the value of the Status Byte register, except that bit 6 returns Request for Service
(RQS) instead of Master Status Summary (MSS). A serial poll clears RQS, but not MSS. When MSS is
set, it indicates that the has one or more reasons for requesting service.

Table 4-7. Bit Configuration of Status Byte Register

Bit Position

7

6

5

4

3

2

1

0

Bit Name

OPER

MSS

(RQS)

ESB

MAV

QUES

0

0

0

Bit Weight

128

64

32

16

8

4

2

1

ESB = Event status byte summary
MAV = Message available

MSS = Master status summary

OPER = Operation status summary
QUES = Questionable status summary

RQS = Request for service

Query Syntax

*STB?

Returned Parameters

<NR1>(Register binary value)

*WAI

This command instructs the dc source not to process any further commands until all pending operations
are completed. "Pending operations" are as defined under the *OPC command. *WAI can be aborted
only by sending the dc source an GPIB DCL (Device Clear) command.

Command Syntax

WAI?

Parameters

None

Related Commands

*OPC*OPC?

Advertising
This manual is related to the following products: