Model 2701 User’s Manual Rel, Math, Ratio, Channel Average, dB 5-21
NOTE Queries are not included in Table 5-4. All the dB commands are provided in
Table 15-10.
Programming examples — dB
Example #1 — The following command sequence configures the Model 2701 to perform
DCV dB measurements. A 1V input will be measured as 0dB.
FUNC ’VOLT’’ Select DCV function.
UNIT:VOLT DB ’ Select DCV dB.
UNIT:VOLT:DB:REF 1 ’ 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.
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 10 ’ Set 101 and 105 for 10VAC dB
reference.
Table 5-4
dB commands
Commands
*
Description Def
DCV dB commands
UNITs:VOLTage[:DC] <name> Select DCV measurements; <name> = V or DB. V
UNITs:VOLTage[:DC]:DB:REFerence <n> Set reference in volts; <n> = 1e-7 to 1000. 1
A
CV dB commands
UNITs:VOLTage:AC <name> Select ACV measurements; <name> = V or DB. V
UNITs:VOLTage:AC:DB:REFerence <n> Set reference in volts; <n> = 1e-7 to 1000. 1
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
*The <clist> parameter is used to configure one or more channels for a scan. Each channel in the <clist> must be set to the function
specified by the rel (reference) command. If not, a conflict error (-221) will occur. For example, UNITs:VOLTage:AC dB, (@101)
is only valid if scan channel 101 is set for the ACV function.