5-12 Rel, Math, Ratio, Channel Average, dB Model 2701 User’s Manual
Remote programming — math
Math commands
NOTE When measurements are performed, the readings are fed to other enabled
processing operations, including Math. Appendix D explains “Data flow
(remote operation),” page D-7 and the commands used to return Math results.
The commands to perform math calculations are listed in Table 5-2. Details on these
commands follow the table.
NOTE Queries are not included in Table 5-2. All the math commands are provided in
Table 15-5.
Table 5-2
Math commands
Commands
1
Description Def
CALCulate[1]:FORMat <name> [, <clist>] Select calculation; <name> = NONE,
MXB, PERCent, or RECiprocal.
PERC
CALCulate[1]:KMATh:MMFactor <NRf>
[, <clist>]
Set mX+b “m” factor; <NRf> =
-4294967295 to +4294967295.
1
CALCulate[1]:KMATh:MBFactor <NRf>
[, <clist>]
Set mX+b “b” factor; <NRf> =
-4294967295 to +4294967295.
0
CALCulate[1]:KMATh:MUNits <char> [, <clist>] Set mX+b units; see “Setting mX+b
units.”
‘X’
CALCulate[1]:KMATh:PERCent <NRf> [, <clist>] Set reference value for percent; <NRf> =
-4294967295 to +4294967295.
1
CALCulate[1]:KMATh:PERCent:ACQuire Use input signal as reference value.
CALCulate[1]:STATe <b> [, <clist>] Enable or disable calculation; <b> = ON
or OFF.
(Note 2)
CALCulate[1]:DATA[:LATest]? Return last result of calculation.
CALCulate[1]:DATA:FRESh? Return last “fresh” result of calculation.
Channel list parameter:
<clist> = (@SCH)
where: S = Mainframe slot number (1 or 2)
CH = Switching module channel number (must be 2 digits)
Examples: (@101) = Slot 1, Channel 1
(@101, 203) = Slot 1, Channel 1 and Slot 2, Channel 3
(@101:110) = Slot 1, Channels 1 through 10
1. The <clist> parameter is used to configure one or more channels for a scan.
2. *RST default is ON, SYSTem:PRESet is OFF.