Download Model 2002 Multimeter User`s Manual
Transcript
IEEE-488 Reference 3.21.4 :VERSion? :SYSTem:VERSion? Description 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. Program fragment 3.21.5 PRINT #1, "output 16; :syst:vers?" PRINT #1, "enter 16" :ERRor? :SYSTem:ERRor? Description ' Query version of SCPI standard ' Get response message from 2002 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 location in the register. On power-up, the 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. Table 2-4 lists the messages. NOTE: The :SYSTem:ERRor? query command performs the same function as the :STATus:QUEue? query command (see STATus subsystem). Program fragment 3.21.6 PRINT #1, "output 16; :syst:err?" PRINT #1, "enter 16" ' Query Error Queue ' Get response message from 2002 :AZERo commands :TYPE <name> Parameters Query Description Program fragment 3-138 :SYSTem:AZERo:TYPE <name> Specify autozero type <name> = NORMal SYNChronous Autozero every 200msec Autozero for every reading :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" ' Select SYNC autozero ' Get response message from 2002 Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176 TestEquipmentDepot.com