IEEE-488 Reference
3-127
3.21.7
:QUEue commands
[:NEXT]?
:STATus:QUEue[:NEXT]?
Read Error Queue
Description
As error and status messages occur, they are placed into the Error Queue. This query command
is used to read those messages.
The Error Queue is a first-in, first-out (FIFO) register. Every time you read the queue, the "old-
est" message is read and that message is then removed from the queue. The queue will hold up
to 10 messages. If the queue becomes full, the message "350, 'Queue Overflow'" will occupy the
last memory location in the register. On power-up, the Error Queue is empty. When the Error
Queue is empty, the message "0, 'No error'" is placed in the Error Queue.
The messages in the queue are preceded by a number. Negative (-) numbers are used for SCPI
defined messages, and positive (+) numbers are used for Keithley defined messages. The mes-
sages are listed in Table 2-5.
After this command is sent and the Model 6517A is addressed to talk, the "oldest" message in
the queue is sent to the computer.
Note: The :STATus:QUEue[:NEXT]? query command performs the same function as the :SYS-
Tem:ERRor? query command (see System subsystem).
ENABle <list>
:STATus:QUEue:ENABle <list>
Enable messages for Error Queue
Parameters
<list> = (numlist)
where; numlist is a specified list of messages that you wish to enable for the Error Queue.
Query
:ENABle?
Query list of enabled messages
Description
On power-up, all error messages are enabled and will go into the Error Queue as they occur. Sta-
tus messages are not enabled and will not go into the queue. This command is used to specify
which messages you want enabled. Messages not specified will be disabled and prevented from
entering the queue.
When this command is sent, all messages will first be disabled, then the messages specified in
the list will be enabled. Thus, the returned list (:ENABle?) will contain all the enabled messages.
Messages are specified by numbers (see Table 2-4). The following examples show various forms
for expressing a message numlist:
Numlist = -110
Single message.
-110, -140, -222
Messages separated by commas.
-110:-222
Range of messages (-100 through -222).
-110:-222, -230
Range entry and single entry separated by a comma.
Note: To disable all messages from entering the Error Queue, send the following command:
:stat:que:enab ()
Содержание 6517A
Страница 1: ...Model 6517A Electrometer User s Manual A G R E A T E R M E A S U R E O F C O N F I D E N C E...
Страница 310: ...A Specifications...
Страница 311: ...A Specifications...