Scpi Programming - Mx+B And Percent - Keithley 2182 User Manual

Nanovoltmeter
Hide thumbs Also See for 2182:
Table of Contents

Advertisement

4-8
Relative, mX+b, and Percent (%)

SCPI programming - mX+b and percent

Table 4-2
SCPI commands - mX+b and percent
Commands
:CALCulate
:FORMat <name>
:KMATh
:MMFactor <NRf>
:MBFactor <NRf>
:MUNits <name>
:PERCent <NRf>
:ACQuire
:STATe <b>
:DATA
[:LATest]?
:FRESh?
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 '['
CALCulate:KMAth:MUNits '\'
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%)
CALL SEND(7,":calc:kmat:mmf 2",status%)
CALL SEND(7,":calc:kmat:mbf 0.5",status%)
CALL SEND(7,":calc:kmat:mun cd",status%)
CALL SEND(7,":calc:stat on",status%)
Program Example 2 — This program fragment shows how to configure and enable the
Percent calculation.
CALL SEND(7,":calc:form perc",status%)
CALL SEND(7,":calc:kmat:perc:acq",status%)
CALL SEND(7,":calc:stat on",status%)
Description
Select calculation; NONE, MXB or PERCent.
Path to configure mX+b and Percent:
Specify scale factor (M) for mX+b: –100e6 to 100e6.
Specify offset (B) for mX+b: -100e6 to 100e6.
Specify units for mX+b: see
Specify reference value for Percent: –100e6 to 100e6.
Use input signal as reference value.
Enable or disable the selected calculation.
Query last calculation result.
Trigger a reading and query the calculation result.
Use ohms symbol (Ω) as units designator.
Use degrees symbol (°) as units designator.
"Setting mX+b
units."
'Selects mX+b calculation.
'Sets scale factor (M) to 2.
'Sets offset (B) to 0.5.
'Sets units to "CD".
'Enables calculation.
'Selects percent calculation.
'Uses input signal as
'reference.
'Enables calculation.
Default
NONE
1
0
MX
1
OFF

Advertisement

Table of Contents
loading

This manual is also suitable for:

2182a

Table of Contents