When an error is generated by the multimeter, it stores an error number and corresponding message in the error queue.

SYSTem

 

The SYSTem command subsystem returns error numbers and their associated

 

messages from the error queue. You can also query the SCPI version to which this

 

instrument complies.

Subsystem Syntax

SYSTem

 

:ERRor?

 

:VERSion?

:ERRor?

SYSTem:ERRor? returns the error numbers and corresponding error messages in the error queue. See Appendix B in this manual for a listing of the error numbers, messages and descriptions.

Comments

One error is removed from the error queue each time the SYSTem:ERRor? command is executed. The errors are cleared in a first-in, first-out order. This means that if several errors are waiting in the queue, each SYSTem:ERRor? query returns the oldest (not the most recent) error. That error is then removed from the queue.

When the error queue is empty, subsequent SYSTem:ERRor? queries return +0,“No error”. To clear all errors from the queue, execute the *CLS command.

The error queue has a maximum capacity of 20 errors. If the queue overflows, the last error is replaced with -350,“Too many errors”. No additional errors are accepted by the queue until space becomes available.

Example Reading the Error Queue

SYST:ERR?

Query the error queue.

enter statement

Enter readings into computer.

:VERSion?

SYSTem:VERSion? returns the SCPI version number this instrument complies.

Comments The information returned is in the format “ YYYY.R” where “ YYYY” is the year and “ R” is the revision number within that year.

Chapter 3

Multimeter Command Reference 155

Page 155
Image 155
HP WaterSkis E1412A, WaterSkis E1312A manual SYSTem, ERRor?, VERSion?, Example Reading the Error Queue