Model 2701 User’s Manual Rel, Math, Ratio, Channel Average, dB 5-19
Ratio and channel average programming examples
Example #1 — The following command sequence performs the ratio calculation using
primary channel 102 of the Model 7700.
NOTE The following example can be run from the KE2700 Instrument Driver using the
example named “Ratio1” in Table G-1 of Appendix G.
*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
calculation 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 G-1 of Appendix G.
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.