EasyManua.ls Logo

Keithley 2002

Keithley 2002
366 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
IEEE-488 Reference
3-70
:FORMat <name>
:CALCulate2:FORMat <name> Specify CALC 2 format
<name> = MEAN Mean value of readings in buffer
SDEV Standard deviation of readings in buffer
MAX Largest reading in buffer
MIN Lowest reading in buffer
PKPK Peak-to-peak value of readings in buffer
NONE No calculation
:FORMat? Query programmed math format
This command is used to specify the format for the CALC 2 math calculation. The calculation
operations for CALC 2 use data stored in the buffer.
With NONE selected, no CALC 2 calculation will be performed. With one of the other formats
selected and CALC 2 enabled (see :STATe), the calculation is performed every time the :IMMe-
diate or :IMMediate? command is executed.
Details on MEAN, SDEV, MAX and MIN are provided in paragraph 2.8.4.
PKPK = MAX - MIN
where: MAX is the largest reading in the buffer
MIN is the lowest reading in the buffer
PRINT #1, "output 16; :calc2:form max; form?" ' Select MAX format and query
PRINT #1, "enter 16" ' Get response message from 2002
:STATe <b>
:CALCulate2:STATe <b> Control CALC 2
<b> = 0 or OFF Disable CALC 2 calculation
1 or ON Enable CALC 2 calculation
:STATe? Query state (on or off) of CALC 2
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.
PRINT #1, "output 16; :calc2:stat on; stat?" ' Enable CALC 2 and query
PRINT #1, "enter 16" ' Get response message from 2002
:IMMediate
:CALCulate2:IMMediate Perform CALC 2
:IMMediate? Perform calculation and read result (equivalent to :CALCulate2:IMMediate;
DATA?)
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.
Parameters
Query
Description
Program fragment
Parameters
Query
Description
Program fragment
Query
Description

Table of Contents

Other manuals for Keithley 2002

Related product manuals