Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-78
077114601 / March 2019
:CALCulate[1]:<function>:KMATh:MBFactor
This command specifies the offset for the y = mx + b operation.
Type
Affected by
Where saved
Default value
Command and query
Recall settings
Instrument reset
Power cycle
Save settings
0
Usage
:CALCulate[1]:<function>:KMATh:MBFactor <n>
:CALCulate[1]:<function>:KMATh:MBFactor <n>,<channel>
:CALCulate[1]:<function>:KMATh:MBFactor?
:CALCulate[1]:<function>:KMATh:MBFactor? <channel>
<function>
The measurement function to which this setting applies:
Concurrent:
CONCurrent[:DC]
Current:
CURRent[:DC]
Voltage:
VOLTage[:DC]
[n]
The offset for the y = mx + b operation; the valid range is -1e6 to +1e6
<channel>
The channel number (default value is CH1):
Channel 1: CH1
Channel 2: CH2
Details
This attribute specifies the offset (b) for an mx + b operation.
The mx + b math operation lets you manipulate normal display readings (x) mathematically based on
the calculation:
y = mx + b
Where:
y
is the displayed result
m
is a user-defined constant for the scale factor
x
is the measurement reading (if you are using a relative offset, this is the measurement with
relative offset applied)
b
is the user-defined constant for the offset factor
Example
:CALC:VOLT:FORM MXB
:CALC:VOLT:KMAT:MMF 0.80
:CALC:VOLT:KMAT:MBF 50
:CALC:VOLT:KMAT:MUN 'C'
:CALC:VOLT:STATe ON
Set the math function for voltage measurements to
mx+b.
Set the scale factor for voltage measurements to 0.80.
Set the offset factor to 50.
Set unit to 'C'
Enable the math function.