The Scpi Status Registers - Racal Instruments 3151 User Manual

Waveform generator
Table of Contents

Advertisement

The SCPI Status
Registers
SCPI Command Reference 4-16
described below. Approximately 90% of the Model 3151/3151A
functionality is tested.
0 -
Self-test passed
1 -
DAC, DAC control, output amplifier or amplitude control
failure.
2 -
Offset amplifier or offset control failure
4 -
CPU to peripheral communication failure
8 -
Trigger circuit or internal trigger failure
16 -
Sequence or burst generator failure
32 -
Clock generator failure
More than one failure can be reported at one time. For example, the
returned value 17" indicates both a DAC/Output Amplifier problem
and a sequence/burst generator problem exist.
*WAI - Wait for all pending operations to complete before executing
any addditional commands over the interface.
The Model 3151/3151A uses the Status Byte register group and the
Standard Event register group to record various instrument
conditions. Figure 4-1 shows the SCPI status system.
An Event Register is a read-only register that reports defined
conditions within the generator. Bits in an event register are latched.
When an event bit is set, subsequent state changes are ignored. Bits
in an event register are automatically cleared by a query of that
register or by sending the *CLS command. The *RST command or
device clear does not clear bits in an event register. Querying an
event register returns a decimal value which corresponds to the
binary-weighted sum of all bits set in the register.
An Event Register defines which bits in the corresponding event
register are logically ORed together to form a single summary bit.
The user can read from and write to an Enable Register. Querying an
Enable Register will not clear it. The *CLS command does not clear
Enable Registers but it does clear bits in the event registers. To
enable bits in an enable register, write a decimal value that
corresponds to the binary-weighted sum of the bits required to
enable in the register.
3151 And 3151A User Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3151a

Table of Contents