5-20 Rel, Math, Ratio, Channel Average, dB Model 2700 Multimeter/Switch System User’s Manual
Ratio and channel average programming examples
Example #1 — The following command sequence performs the ratio calculation using
primary channel 102 of the Model 7700. After READ? is sent, the Model 2700 must be
addressed to talk to return the result of the calculation.
NOTE The following example can be run from the KE2700 Instrument Driver using the
example named “Ratio1” in
Table H-1 of Appendix H.
*RST ' One-shot measure mode.
FUNC 'VOLT' ' Select DCV function.
ROUT:CLOS (@102) ' Close channel 102.
RAT ON ' Enable the ratio calculation.
READ? ' Read the result of the calculation.
Example #2 — The following command sequence configures channels 103 and 105 for
the ratio and channel average calculations. When channel 103 is scanned, the ratio calcula
-
tion is based on DCV measurements of channels 103 and 113. When channel 105 is
scanned, the channel average calculation is based on
TEMP measurements of channels
105 and 115.
NOTE The following example can be run from the KE2700 Instrument Driver using the
example named “Ratio2” in
Table H-1 of Appendix H.
FUNC 'VOLT',(@103) ' Set 103 for DCV.
RAT ON,(@103) ' Set 103 for ratio on.
FUNC 'TEMP',(@105) ' Set 105 for TEMP.
CAV ON,(@105) ' Set 105 for channel average on.