Version; Error; Azero Commands - Keithley 2002 User Manual

Hide thumbs Also See for 2002:
Table of Contents

Advertisement

IEEE-488 Reference
3.21.4
Description
Program fragment
3.21.5
Description
Program fragment
3.21.6
Parameters
Query
Description
Program fragment
3-138

:VERSion?

:SYSTem:VERSion?
Read SCPI version
This query command is used to read the version of the SCPI standard being used by the Model
2002. Example code:
1991.0
The above response message indicates the version of the SCPI standard.
PRINT #1, "output 16; :syst:vers?"
PRINT #1, "enter 16"

:ERRor?

:SYSTem:ERRor?
Read Error Queue
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 that can
hold up to 10 messages. Every time you read the queue, the "oldest" message is read and that
message is then removed from the queue.
If the queue becomes full, the message "350, 'Queue Overflow'" occupies the last memory loca-
tion in the register. On power-up, the queue is empty. When the Error Queue is empty, the mes-
sage "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. Table 2-4
lists the messages.
NOTE: The :SYSTem:ERRor? query command performs the same function as the :STA-
Tus:QUEue? query command (see STATus subsystem).
PRINT #1, "output 16; :syst:err?"
PRINT #1, "enter 16"

:AZERo commands

:TYPE <name>
:SYSTem:AZERo:TYPE <name>
<name> = NORMal
SYNChronous
:TYPE? Query autozero type
The :AZERo commands are used to control the autozero phase of each measurement. Auto-zero
is explained in paragraph 2.12.7. The :AZERo:STATe command is used to enable or disable
autozero.
PRINT #1, "output 16; :syst:azer:type sync; type?"
PRINT #1, "enter 16"
' Query version of SCPI standard
' Get response message from 2002
' Query Error Queue
' Get response message from 2002
Specify autozero type
Autozero every 200msec
Autozero for every reading
' Select SYNC autozero
' Get response message from
2002

Advertisement

Table of Contents
loading

Table of Contents