Keithley 2001 Operator's Manual page 221

Multimeter
Hide thumbs Also See for 2001:
Table of Contents

Advertisement

Format
Description
Programming example
Format
Query
Description
2001-900-01 Rev. K / August 2010
40 END
Line 10
Two commands in this program message; the first enables the CALC 1 calculation and the sec-
ond queries the programmed state.
Line 20
Addresses the Model 2001 to talk.
Line 30
Displays the state of CALC 1 (1; on).
:DATA?
:CALCulate[1]:DATA?
:calc:data?
This query command is used to read the result of the CALC 1 calculation. After sending this command
and addressing the Model 2001 to talk, the CALC 1 reading will be sent to the computer. If CALC 1 is
disabled or NONE is selected, the "raw" reading will instead be read.
10 OUTPUT 716; ":calc:data?"
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10
Queries the CALC 1 reading.
Line 20
Addresses the Model 2001 to talk.
Line 30
Displays the CALC 1 reading.
:IMMediate
:CALCulate[1]:IMMediate
:calc:imm
:IMMediate?
Perform calculation and read result
(equivalent to :CALCulate[1]:IMMediate; DATA?)
Short-form format:
:calc:imm?
Response message:
Result of calculation
When you change the math calculation, the next instrument reading will reflect the new calculation (as-
suming CALC 1 math is enabled). If the instrument is not in a continuous measurement mode (i.e. waiting
for a manual trigger), the displayed reading will not update to the reflect the new calculation until the next
reading conversion occurs.
This action command allows you to reprocess the current input data to reflect a new calculation. For ex-
ample, assume the instrument is in a non-continuous measurement mode and requires a manual trigger
to cause the next reading conversion. Changing the calculation will not affect the currently displayed
reading. However, sending the :IMMediate command will reprocess that displayed reading to reflect the
new calculation. Note that sending the :IMMediate command does not initiate a reading conversion.
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 result is queried. The
result of the calculation will be sent to the computer when the Model 2001 is addressed to talk.
Read CALC 1 result
Recalculate CALC 1
IEEE-488 Reference
4-63

Advertisement

Table of Contents
loading

Table of Contents