249
Chapter 4 Remote Interface Reference
The SCPI Status System
4
The SCPI Status System
This section describes the structure of the SCPI status system used by
the function generator. The status system records various conditions and
states of the instrument in several register groups as shown on the
following page. Each of the register groups is made up of several low-
level registers called Condition registers, Event registers, and Enable
registers which control the action of specific bits within the register group.
What is a Condition Register?
A condition register continuously monitors the state of the instrument.
The bits in the condition register are updated in real time and the bits
are not latched or buffered. This is a read-only register and bits are not
cleared when you read the register. A query of a condition register
returns a decimal value which corresponds to the binary-weighted sum
of all bits set in that register.
What is an Event Register?
An event register latches the various events from changes in the condition
register. There is no buffering in this register; while an event bit is set,
subsequent events corresponding to that bit are ignored. This is a read-
only register. Once a bit is set, it remains set until cleared by query
command (such as
STAT:QUES:EVEN?
) or a
*CLS
(clear status) command.
A query of this register returns a decimal value which corresponds to the
binary-weighted sum of all bits set in that register.
What is an Enable Register?
An enable register defines which bits in the event register will be
reported to the Status Byte register group. You can write to or read
from an enable register. A
*CLS
(clear status) command will not clear
the enable register but it does clear all bits in the event register.
A
STAT:PRES
command clears all bits in the enable register. To enable
bits in the enable register to be reported to the Status Byte register,
you must write a decimal value which corresponds to the binary-
weighted sum of the corresponding bits.
33210A users guide.book Page 249 Wednesday, July 16, 2008 11:16 AM
Содержание 33210A
Страница 1: ...Keysight 33210A 10 MHz Function Arbitrary Waveform Generator User s Guide ...
Страница 2: ......
Страница 3: ......
Страница 14: ...12 Contents Contents 33210A users guide book Page 12 Wednesday July 16 2008 11 16 AM ...
Страница 15: ...1 1 Quick Start 33210A users guide book Page 13 Wednesday July 16 2008 11 16 AM ...
Страница 33: ...2 2 Front Panel Menu Operation 33210A users guide book Page 31 Wednesday July 16 2008 11 16 AM ...
Страница 53: ...3 3 Features and Functions 33210A users guide book Page 51 Wednesday July 16 2008 11 16 AM ...
Страница 147: ...4 4 Remote Interface Reference 33210A users guide book Page 145 Wednesday July 16 2008 11 16 AM ...
Страница 273: ...5 5 Error Messages 33210A users guide book Page 271 Wednesday July 16 2008 11 16 AM ...
Страница 301: ...6 6 Application Programs 33210A users guide book Page 299 Wednesday July 16 2008 11 16 AM ...
Страница 311: ...7 7 Tutorial 33210A users guide book Page 309 Wednesday July 16 2008 11 16 AM ...
Страница 335: ...8 8 Specifications 33210A users guide book Page 333 Wednesday July 16 2008 11 16 AM ...