Keithley 2001 Operator's Manual page 224

Multimeter
Hide thumbs Also See for 2001:
Table of Contents

Advertisement

IEEE-488 Reference
Format
Defaults
Query
Description
Programming example
Format
Query
Description
Programming example
4-66
:calc2:stat <b>
Power-up
*RST
:SYSTem:PRESet
:STATe?
Query state (on or off) of CALC 2
Short-form format:
:calc2:stat?
Response message:
1 (on) or 0 (off)
This command is used to enable or disable the CALC 2 calculation. When enabled, the selected
CALC 2 format will be calculated when the :IMMediate or :IMMediate? command is executed.
10 OUTPUT 716; ":calc2:stat on; stat?"
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10
Two commands in this program message; the first enables the CALC 2 calculation
and the second queries the programmed state.
Line 20
Addresses the Model 2001 to talk.
Line 30
Displays the state of CALC 2 (1; on).
:IMMediate
:CALCulate2:IMMediate
:calc2:imm
:IMMediate?
Perform calculation and read result
(equivalent to :CALCulate2:IMMediate; DATA?)
Short-form format:
:calc2:imm?
Response message:
Result of calculation
The :IMMediate command is used to perform the selected CALC 2 operation on the readings in
the buffer (assuming CALC 2 is enabled; see :STATe). After performing the calculation, the re-
sult can be read by using the :CALCulate2:DATA? query command.
An alternate way to perform the calculation and read the result is by using the query form of the
command (:IMMediate?). When this command is sent, the calculation is performed and the re-
sult is queried. The result of the calculation will be sent to the computer when the Model 2001
is addressed to talk.
This example assumes that there are readings stored in the buffer and CALC 2 is enabled:
10 OUTPUT 716; ":calc2:form max"
20 OUTPUT 716; ":calc2:imm?"
30 ENTER 716; A$
40 PRINT A$
50 END
Saved power-on setup
OFF
OFF
Perform CALC 2
2001-900-01 Rev. K / August 2010

Advertisement

Table of Contents
loading

Table of Contents