Data Commands - Keithley 2002 User Manual

Hide thumbs Also See for 2002:
Table of Contents

Advertisement

IEEE-488 Reference
Description
Program fragment
Parameters
Query
Description
Program fragment
Parameters
Query
Description
Program fragment
Parameters
Query
Description
Program fragment
Description
3-68
This command is used to specify the "a1" factor for the polynomial calculation.
PRINT #1, "output 16; :calc:kmat:ma1f 4; ma1f?"
PRINT #1, "enter 16"
:MA2Factor <NRf>
:CALCulate[1]:KMATh:MA2Factor <NRf>
<NRf> = -9.999e20 to +9.999e20
:MA2Factor Query "a2" factor
This command is used to specify the "a2" factor for the polynomial calculation.
PRINT #1, "output 16; :calc:kmat:ma2f 6; ma0f?"
PRINT #1, "enter 16"
:PERCent <NRf>
:CALCulate[1]:KMATh:PERCent <NRf>
<NRf> = -9.999999e35 to +9.999999e35
:PERCent? Query Percent target value
This command is used to specify the target value for the Percent calculation.
PRINT #1, "output 16; :calc:kmat:perc 10; perc?"
PRINT #1, "enter 16"
2002
:STATe <b>
:CALCulate[1]:STATe <b>
<b> = 0 or OFF
Disable CALC 1 calculation
1 or ON
Enable CALC 1 calculation
:STATe? Query state (on or off) of CALC 1
This command is used to enable or disable the CALC 1 calculation. When enabled, each instru-
ment reading will reflect the selected calculation (see :FORMat).
PRINT #1, "output 16; :calc:stat on;stat?"
PRINT #1, "enter 16"

:DATA commands

[:LATest]?
:CALCulate[1]:DATA[:LATest]?
This query command is used to read the result of the CALC 1 calculation. If CALC 1 is disabled
or NONE is selected, the "raw" reading will instead be read.
Specify "a2" factor
Specify Percent target value
Specify target value for Percent calculation.
Control CALC 1
' Enable CALC1 and query
' Get response message from 2002
Read CALC 1 result
' Set "a1" and query.
' Get response from 2002
' Set "a2" and query.
' Get response from 2002
' Set target to 10% and
query
' Get response message from

Advertisement

Table of Contents
loading

Table of Contents