Download Model 2002 Multimeter User`s Manual

Transcript
IEEE-488 Reference
Note: To disable all messages from entering the Error Queue, send the following command:
:stat:que:enab ()
Program fragment
PRINT #1, "output 16; :stat:que:enab (0:999); enab?"
PRINT #1, "enter 16"
' Enable all messages
and query
' Get response message
from 2002
DISable <list>
:STATus:QUEue:DISable <list>
Parameters
Disable messages for Error Queue
<list> = (numlist)
where; numlist is a specified list of messages that you wish to disable for the Error Queue.
Query
Description
:DISable?
Query list of disabled messages
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 disabled. Disabled messages are prevented from going into the Error
Queue.
Messages are specified by numbers (see Table 2-4). See :QUEue:ENABle for examples to express a numlist.
Program fragment
PRINT #1, "output 16; :stat:que:dis (-140:-150); dis?"
PRINT #1, "enter 16"
' Disable
messages
and query
' Get response message from 2002
:CLEar
:STATus:QUEue:CLEar
Description
Program fragment
3-136
Clear Error Queue
This action command is used to clear the Error Queue of messages.
PRINT #1, "output 16; :stat:que:cle"
' Clear Error Queue