Reading The Status Byte - HP VXI 75000 C Series User's And Scpi Programming Manual

Algorithmic closed loop controller
Table of Contents

Advertisement

Reading the Status
Chapter 3
If you wanted the "FIFO Overflowed" and "Setup Changed" conditions to
be reported you would execute;
STAT:QUES:ENAB 9216
Operation Status Group Examples
If you only wanted the "FIFO Half Full" condition to be reported by the OPR
bit (bit 7) of the Status Byte, you would execute;
STAT:OPER:ENAB 1024
If you wanted the "FIFO Half Full" and "Scan Complete" conditions to be
reported you would execute;
STAT:OPER:ENAB 1280
Standard Event Group Examples
If you only wanted the "Query Error", "Execution Error", and "Command
Error" conditions to be reported by the ESB bit (bit 5) of the Status Byte, you
would execute;
*ESE 52
To check if any enabled events have occurred in the status system, you first
read the Status Byte using the *STB? command. If the Status Byte is all
Byte
zeros, there is no summary information being sent from any of the status
groups. If the Status Byte is other than zero, one or more enabled events have
occurred. You interpret the Status Byte bit values and take further action as
follows:
Bit 3 (QUE)
bit value 8
10
Bit 4 (MAV)
bit value 16
Read the Questionable Data Group's Event Register
using the STAT:QUES:EVENT? command. This will
return bit values for events which have occurred in this
group. After reading, the Event Register is cleared.
Note that bits in this group indicate error conditions. If
bit 8, 9 or 10 is set, error messages will be found in the
Error Queue. If bit 7 is set, error messages will be in the
error queue following the next *RST or cycling of
power. Use the SYST:ERR? command to read the
error(s).
There is a message available in the Output Queue. You
10
should execute the appropriate query command.
Programming the HP E1415 for PID Control
9216=decimal sum of values for
bits 10 and 13
1024=decimal value for bit 10
1280=decimal sum of values for
bits 10 and 8
52=decimal sum of values for
bits 2, 4, and 5
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vxi e1415a

Table of Contents