4-8
Relative, mX+b, and Percent (%)
SCPI programming - mX+b and percent
Setting mX+b units
The <name> parameter for CALCulate:KMATh:MUNits can be one or two characters
enclosed in single or double quotes. A character can be any letter of the alphabet, the degrees
symbol (°) or the ohms symbol (
Ω
).
The ohms symbol (
Ω
) and the degrees symbol (°) are not ASCII characters and therefore,
must be substituted with the ‘[’ and ‘\’ characters as follows:
CALCulate:KMAth:MUNits ‘[’
Use ohms symbol (
Ω
) as units designator.
CALCulate:KMAth:MUNits ‘\’
Use degrees symbol (°) as units designator.
Programming examples - mX+b and percent
Program Example 1
— This program fragment shows how to configure and enable the
mX+b calculation.
CALL SEND(7,“:calc:form mxb”,status%)
‘Selects mX+b calculation.
CALL SEND(7,“:calc:kmat:mmf 2”,status%)
‘Sets scale factor (M) to 2.
CALL SEND(7,“:calc:kmat:mbf 0.5”,status%)
‘Sets offset (B) to 0.5.
CALL SEND(7,“:calc:kmat:mun cd”,status%)
‘Sets units to “CD”.
CALL SEND(7,“:calc:stat on”,status%)
‘Enables calculation.
Program Example 2
— This program fragment shows how to configure and enable the
Percent calculation.
CALL SEND(7,“:calc:form perc”,status%)
‘Selects percent calculation.
CALL SEND(7,“:calc:kmat:perc:acq”,status%)
‘Uses input signal as
‘reference.
CALL SEND(7,“:calc:stat on”,status%)
‘Enables calculation.
Table 4-2
SCPI commands - mX+b and percent
Commands
Description
Default
:CALCulate
:FORMat <name>
Select calculation; NONE, MXB or PERCent.
NONE
:KMATh
Path to configure mX+b and Percent:
:MMFactor <NRf>
Specify scale factor (M) for mX+b: –100e6 to 100e6.
1
:MBFactor <NRf>
Specify offset (B) for mX+b: -100e6 to 100e6.
0
:MUNits <name>
Specify units for mX+b: see “
.”
MX
:PERCent <NRf>
Specify reference value for Percent: –100e6 to 100e6.
1
:ACQuire
Use input signal as reference value.
:STATe <b>
Enable or disable the selected calculation.
OFF
:DATA
[:LATest]?
Query last calculation result.
:FRESh?
Trigger a reading and query the calculation result.
Summary of Contents for 2182
Page 1: ...www tek com keithley Model 2182 2182A Nanovoltmeter User s Manual 2182A 900 01 Rev B May 2017...
Page 18: ......
Page 22: ......
Page 23: ...1 Getting Started Getting Started...
Page 41: ...2 VoltageandTemperature Measurements Voltageand Temperature Measurements...
Page 68: ...2 28 Voltage and Temperature Measurements...
Page 69: ...3 Range Digits Rate andFilter Range Digits Rate andFilter...
Page 82: ...3 14 Range Digits Rate and Filter...
Page 83: ...4 Relative mX b and Percent Relative mX b andPercent...
Page 91: ...5 RatioandDelta Ratioand Delta...
Page 117: ...6 Buffer Buffer...
Page 123: ...7 Triggering Triggering...
Page 140: ...7 18 Triggering...
Page 141: ...8 Limits Limits...
Page 149: ...9 SteppingandScanning Steppingand Scanning...
Page 168: ...9 20 Stepping and Scanning...
Page 169: ...10 AnalogOutput Analog Output...
Page 175: ...11 RemoteOperation Remote Operation...
Page 205: ...12 CommonCommands Common Commands...
Page 221: ...13 SCPISignalOriented Measurement Commands SCPISignalOri entedMeasure ment Commands...
Page 225: ...14 SCPIReferenceTables SCPIRefer enceTables...
Page 239: ...15 AdditionalSCPI Commands Additional SCPICom mands...
Page 260: ...15 22 Additional SCPI Commands...
Page 261: ...A Specifications Specifications...
Page 263: ...B Statusand ErrorMessages StatusandError Messages...
Page 268: ...B 6 Status and Error Messages...
Page 269: ...C Measurement Considerations Measurement Consider ations...
Page 278: ...C 10 Measurement Considerations...
Page 279: ...D Model182Emulation Commands Model182 EmulationCom mands...
Page 284: ...D 6 Model 182 Emulation Commands...
Page 285: ...E Example Programs ExamplePro grams...
Page 293: ...F IEEE 488 BusOverview IEEE 488Bus Overview...
Page 307: ...G IEEE 488andSCPI ConformanceInformation IEEE 488and SCPIConform anceInforma tion...
Page 310: ...G 4 IEEE 488 and SCPI Conformance Information...
Page 311: ...H Measurement Queries Measurement Queries...
Page 316: ...H 6 Measurement Queries...
Page 317: ...I Delta PulseDelta and DifferentialConductance Delta Pulse Deltaand Dif ferentialCon ductance...