Keithley 2001 Operator's Manual page 346

Multimeter
Hide thumbs Also See for 2001:
Table of Contents

Advertisement

IEEE-488 Reference
Programming example
Parameter
Format
Defaults
Query
Description
4-188
Note: The :STATus:QUEue[:NEXT]? query command performs the same function as the :SYS-
Tem:ERRor? query command (see System subsystem).
The following program will read the "oldest" message in the Error Queue:
5
DIM A$ [30]
10 OUTPUT 716; ":stat:que?"
20 ENTER 716; A$
30 PRINT A$
40 END
Line 5
Increase string size to accommodate the length of the messages.
Line 10
Requests the "oldest" message in the queue.
Line 20
Addresses the Model 2001 to talk.
Line 30
Displays the message on the CRT.
ENABle <list>
:STATus:QUEue:ENABle <list>
<list> = (numlist)
where; numlist is a specified list of messages that you wish to enable for the Error Queue.
:stat:que:enab (numlist)
Power-up
*CLS
:STATus:PRESet
:ENABle?
Query list of enabled messages
Short-form format:
:stat:que:enab?
Response message:
numlist
On power-up, all error messages are enabled and will go into the Error Queue as they occur.
Status 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 messag-
es.
Messages are specified by numbers (see
forms for expressing a message numlist:
Numlist = -110
= -110, -140, -222
= -110:-222
= -110:-222, -230
Enable messages for Error Queue
Clears list
No effect
No effect
Table
3-4). The following examples show various
Single message.
Messages separated by commas.
Range of messages (-100 through -222).
Range entry and single entry separated by a comma.
2001-900-01 Rev. K / August 2010

Advertisement

Table of Contents
loading

Table of Contents