Reading Status Groups Directly; Vt1422A Background Operation - VXI VT1422A User Manual

Remote channel multi-function dac module user’s and scpi programming manual
Table of Contents

Advertisement

Reading Status
Groups Directly
Reading Event Registers
Clearing Event Registers
Reading Condition
Registers

VT1422A Background Operation

148 Programming the VT1422A for Data Acquisition and Control
It may be desirable to directly poll status groups for instrument status rather
than poll the Status Byte for summary information.
The Questionable Data, Operation Status and Standard Event Groups all
have Event Registers. These Registers log the occurrence of even temporary
status conditions. When read, these registers return the sum of the decimal
values for the condition bits set, then are cleared to make them ready to log
further events. The commands to read these Event Registers are:
STAT:QUES:EVENT?
STAT:OPER:EVENT?
*ESR?
To clear the Event Registers without reading them, execute:
*CLS
The Questionable Data and Operation Status Groups each have a Condition
Register. The Condition Register reflects the group's status condition in
"real-time." These registers are not latched so transient events may be
missed when the register is read. The commands to read these registers are:
STAT:QUES:COND?
STAT:OPER:COND?
The VT1422A inherently runs its algorithms and calibrations in the
background mode with no interaction required from the driver. All resources
needed to run the measurements are controlled by the on-board Control
Processor (DSP).
The driver is required to setup the type of measurement to be run, modify
algorithm variables and to unload data from the card after it appears in the
CVT or FIFO. Once the INIT[:IMM] command is given, the VT1422A is
initiated and all functions of the trigger system, measurement scanning,
and algorithm execution are controlled by its on-board control processor.
The driver returns to waiting for user commands. No interrupts are required
for the VT1422A to complete its measurement.
While the module is scanning and/or running algorithms, the driver can
be queried for its status and data can be read from the FIFO and CVT.
The ABORT command may be given to force continuous execution to
complete. Any changes to the measurement setup will not be allowed until
the TRIG:COUNT is reached or an ABORT command is given. Of course,
any commands or queries can be given to other instruments while the
VT1422A is running algorithms.
Questionable Data Group Event
Register
Operation Status Group Event
Register
Standard Event Group Event
Register
clears all group's Event
Registers
Questionable Data Group
Condition Register
Operation Status Group
Condition Register
Chapter 4

Advertisement

Table of Contents
loading

Table of Contents