Error Queue; Remote Program Examples; Guidelines For Programming The Calibrator - Fluke 5500A Operator's Manual

Multi-product calibrator
Hide thumbs Also See for 5500A:
Table of Contents

Advertisement

5-57. Error Queue

When a command error, execution error, or device-dependent error occurs, its error code
is placed in the error queue where it can be read by the ERR? command. (See
Appendix F for a list of error messages.) A way to decode an error code is to send the
command, EXPLAIN?, which returns a description of a error code. Reading the first
error with the ERR? command removes that error from the queue. A response of 0
means the error queue is empty. The Error Available (EAV) bit in the Serial Poll Status
Byte indicates whether the queue is empty. The error queue is cleared when you turn off
the power, and when you use the *CLS (Clear Status) common command.
The error queue contains up to 16 entries. If many errors occur, only the first 15 errors
are kept in the queue. A 16th entry in the queue is always an "error queue overflow"
error, and all later errors are discarded until the queue is at least partially read. The first
errors are kept, because if many errors occur before the user can acknowledge and read
them, the earliest errors are the most likely to point to the problem. The later errors are
usually repetitions or consequences of the original problem.

5-58. Remote Program Examples

The following programming examples illustrate ways to handle errors, to take
measurements, take a number of successive readings, lock the range, and calibrate the
calibrator. These excerpts from programs are written in DOS BASIC.

5-59. Guidelines for Programming the Calibrator

Commands are processed one at a time as they are received. Some commands require a
previous condition be set before the command will be accepted by the 5500A Calibrator.
For example, the waveform must be SQUARE before the DUTY command will be
accepted. Using the following programming guidelines will insure that the output is
programmed to the desired state.
All external connections commands should be programmed first. The calibrator will
be placed in standby and the output may be changed to accommodate the new
external connection. The setting may be set even if the present output does not use
the setting (for example, setting the current post while sourcing voltage).
The output and output mode should be programmed next with the OUT command.
All other output parameters such as impedance compensation, offset, and waveforms
should be programmed next. The DUTY command must follow the WAVE
command.
The error status should be checked with the ERR? command. The calibrator will not
process the OPER command if an unacknowledged error exists.
Finally, the calibrator should be placed in operate with the OPER command.
A controller program first needs to initialize the interface and the 5500A Calibrator.
Refer to following sample program:
10 INIT PORT 0 \ REMOTE @6
20 PRINT @6, "*RST;OUT 10V;OPER" ! RESET THE 5500A, PROGRAM IT TO
If you wish to use SRQs, first use the *SRE, *ESE, and ISCE commands to enable the
desired event. Refer to "Checking 5500A Status."
! PUT THE 5500A INTO THE REMOTE STATE
! OUTPUT 10 VOLTS DC
Remote Operation

Remote Program Examples

5
5-43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents