EasyManuals Logo
Home>Keithley>Measuring Instruments>2182

Keithley 2182 User Manual

Keithley 2182
339 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
Page #90 background imageLoading...
Page #90 background image
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 “Setting mX+b units.” 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.

Table of Contents

Other manuals for Keithley 2182

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2182 and is the answer not in the manual?

Keithley 2182 Specifications

General IconGeneral
BrandKeithley
Model2182
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals