Calculate3 - Keithley 2002 User Manual

Hide thumbs Also See for 2002:
Table of Contents

Advertisement

Program fragment
Description
Program fragment
3.12.3
Parameters
Query
Description
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.
This example assumes that there are readings stored in the buffer and CALC 2 is enabled:
PRINT #1, "output 16; :calc2:form max"
PRINT #1, "output 16; :calc2:imm?"
PRINT #1, "enter 16"
:DATA?
:CALCulate2:DATA?
Read CALC 2 result
This query command is used to read the result of the CALC 2 operation. If CALC 2 is disabled
or NONE is selected, the "raw" reading will instead be read.
Note that this command does not initiate a calculation. This command is used to simply read the
result of the last calculation.
PRINT #1, "output 16; :calc2:data?"
PRINT #1, "enter 16"

:CALCulate3

This Calculate subsystem is used to configure and control the limit tests (LIMIT 1 test and LIM-
IT 2 test). See paragraph 2.12.5 for details on limit tests.
[:DATA] <n>
:CALCulate3:LIMit[1]:UPPer[:DATA] <n>
:CALCulate3:LIMit[1]:LOWer[:DATA] <n>
:CALCulate3:LIMit2:UPPer[:DATA] <n>
:CALCulate3:LIMit2:LOWer[:DATA] <n>
<n> = -9.999999e35 to +9.999999e35
DEFault
MINimum
MAXimum
:UPPer?
:UPPer? DEFault
:UPPer? MINimum
:UPPer? MAXimum
:LOWer?
:LOWer? DEFault
:LOWer? MINimum
:LOWer? MAXimum
These commands are used to set the upper and lower limits for LIMIT 1 and LIMIT 2. The
actual limit depends on which measurement function is currently selected. For example, a limit
value of 1 is 1V for the volts functions (DCV or ACV), 1A for the current functions (DCI or
Specify upper LIMIT 1
Specify lower LIMIT 1
Specify upper LIMIT 2
Specify lower LIMIT 2
Specify limit value
Set specified upper limit to 1
Set specified lower limit to -1
Set specified limit to -9.999999e35
Set specified limit to +9.999999e35
Query specified upper limit
Query *RST default upper limit
Query lowest allowable upper limit
Query largest allowable upper limit
Query specified lower limit
Query *RST default lower limit
Query lowest allowable lower limit
Query largest allowable lower limit
IEEE-488 Reference
' Select MAX format
' Perform math and query result
' Get response message from 2002
' Query CALC2 reading
' Get response message from 2002
3-71

Advertisement

Table of Contents
loading

Table of Contents