5-6
Return to
6482-901-01 Rev. A / August 2012
Section 5: Relative, Math, Ratio, and Delta
Model 6482 Dual-Channel Picoammeter / Voltage Source Reference Manual
Remote math functions
summarizes commands to control the measurement math functions through a remote
interface. See the :CALC1 and :CALC2 subsystems in
for detailed information.
Math function programming example
summarizes commands that program the following math function parameters:
•
Channel 2 math function: MX + B
•
Channel 2 MX + B slope (M): 10
•
Channel 2 MX + B offset (B): 5
RATIO and DELTA
This topic discusses the ratio and delta functions, which can be used to calculate the ratio or
difference between channel 1 and channel 2 measurement function results.
Table 5-4
Math function commands
Command
Description
:CALCulate[1]:DATA?
:CALCulate[1]:FORMat <name>
:CALCulate[1]:KMATh:MBFactor <n>
:CALCulate[1]:KMATh:MMFactor <n>
:CALCulate[1]:KMATh:MUNits "<string>"
:CALCulate[1]:STATe <state>
:CALCulate2:DATA?
:CALCulate2:FORMat <name>
:CALCulate2:KMATh:MBFactor <n>
:CALCulate2:KMATh:MMFactor <n>
:CALCulate2:KMATh:MUNits "<string>"
:CALCulate2:STATe <state>
:FORMat:ELEMents:CALCulate <name>
:INIT
Request channel 1 math reading.
Set Channel 1 math function. Name = MXB[1]
(MX + B), COND[1] (I1/V1), POWER[1].
(I1 * V1), or RES[1] (V1/I1).
Channel 1 MX + B offset (n = B).
Channel 1 MX + B slope (n = M).
Channel 1 MX + B units. String = Units.
Enable or disable channel 1 math. State = ON or OFF.
Request channel 2 math reading.
Set Channel 2 math function. Name = MXB2
(MX + B), COND2 (I2/V2), or POWER2
(I2 * V2), RES2 (V2/I2).
Channel 2 MX + B offset (n = B).
Channel 2 MX + B slope (n = M).
Channel 2 MX + B units. String = units.
Enable or disable channel 2 math. State = ON or OFF.
Define CALC data elements. Name = CALCulate, TIME, or
STATus.
Trigger CALC readings (must use before sending
CALCn:DATA?).
Table 5-5
Math function programming example
Command
Description
:CALC2:FORM MXB2
:CALC2:KMAT:MBF 5
:CALC2:KMAT:MMF 10
:CALC2:STAT ON
:OUTP2 ON
:INIT
:CALC2:DATA?
:OUTP2 OFF
Select Channel 2 MX + B function.
Channel 2 offset (B) = 5.
Channel 2 slope (M) = 10.
Enable Ch 2. math.
Turn on Channel 2 output.
Trigger math reading.
Request Channel 2 MX + B result.
Output 2 off.
Summary of Contents for 6482
Page 3: ......