Model 2700 Multimeter/Switch System User’s Manual Rel, Math, Ratio, Channel Average, dB 5-23
Programming examples — dB
Example #1 — The following command sequence configures the Model 2700 to perform
DCV dB measurements. A 1V input will be measured as 0dB.
NOTE The following example can be run from the KE2700 Instrument Driver using the
example named “VoltdB1” in
Table H-1 of Appendix H.
FUNC 'VOLT' ' Select DCV function.
UNIT:VOLT DB ' Select DCV dB.
UNIT:VOLT:DB:REF 1V ' Set dB reference to 1V.
Example #2 — The following command sequence configures channels 101 and 105 of the
Model 7700 to perform ACV dB measurements when they are scanned. A 10V input will
be measured as 0dB.
NOTE The following example can be run from the KE2700 Instrument Driver using the
example named “VoltdB2” in
Table H-1 of Appendix H.
FUNC 'VOLT:AC',(@101,105) ' Set 101 and 105 for ACV.
UNIT:VOLT:AC DB,(@101,105) ' Set 101 and 105 for dB.
UNIT:VOLT:AC:DB:REF 10V,(@101,105) ' Set 101 and 105 for 10VAC dB
reference.