![background image](http://html2.mh-extra.com/html/racal-instruments/3152/3152_user-manual_3133316078.webp)
SCPI Command Reference 4-15
*SRE? - Query the Status Byte enable register. The synthesizer
returns a decimal value in the range of 0 to 63 or 128 to 191 since
bit 6 (RSQ) cannot be set. The binary-weighted sum of the number
represents the value of the bits of the Service Request enable
register.
*STB? - Query the Status Byte summary register. The *STB?
command is similar to a serial poll but is processed like any other
instrument command. The *STB? command returns the same
result as a serial poll, but the "request service" bit (bit 6) is not
cleared if a serial poll has occurred.
*TRG - Triggers the synthesizer from the remote interface. This
command effects the synthesizer if it is first placed in the Trigger
or Burst mode of operation and the trigger source is set to "BUS".
*TST? - Implements an internal self-test and returns a value as
described below. Approximately 90% of the Model 3152
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 SCPI Status
Registers
The Model 3152 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 synthesizer. 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.
Содержание 3152
Страница 16: ...Getting Started 1 7 Figure 1 1 Segment 1 Sin x x Waveform Figure 1 2 Segment 2 Sine Waveform...
Страница 25: ...Configuring The Instrument 2 6 This page was intentionally left blank...
Страница 63: ...Using The Instrument 3 38 This page was intentionally left blank...
Страница 80: ...SCPI Command Reference 4 17 Figure 4 1 SCPI Status Registers...
Страница 121: ...Specifications A 12 This page was intentionally left blank...