Property (Read-Write)
SCPI.SOURce(Ch).POWer.ATTenuation.DATA = Value
Value = SCPI.SOURce(Ch).POWer.ATTenuation.DATA
This command sets/gets the power range for the channel (Ch).
The power range is selected depending on the setting of the attenuator. The relationship between the attenuator value and the power range is available below:
Source Power Range |
Step Attenuation |
-25 ~ +10 dBm |
0 dB |
-35 ~ 0 dBm |
10 dB |
-45 ~ -10 dBm |
20 dB |
-55 ~ -20 dBm |
30 dB |
-65 ~ -30 dBm |
40 dB |
-75 ~ -40 dBm |
50 dB |
-85 ~ -50 dBm |
60 dB |
When Auto Power Range set function is effective, this command is ignored and an attenuator level and a power range are selected automatically according to a maximum frequency and a maximum setting power. For more information on power attenuation, refer to Setting Power Level with Auto Power Range.
This command works with E5070B/E5071B and ENA options 2D5, 4D5, 2K5 and 4K5 .
Parameter |
Value |
Description |
Dummy Parameter |
Data type |
Long integer type (Long) |
Range |
0 to 60 |
Preset value |
0 |
Unit |
dB |
Resolution |
10 |
Dim Att As Long
SCPI.SOURce(1).POWer.ATTenuation.DATA = 10
Att = SCPI.SOURce(1).POWer.ATTenuation.DATA
SCPI.SOURce(Ch).POWer.ATTenuation.AUTO
Sweep Setup > Power > Power Ranges
:SOURce{[1]-160}:POWer:ATTenuation[:DATA] <numeric>
:SOURce{[1]-160}:POWer:ATTenuation[:DATA]?
{numeric}<newline><^END>
10 OUTPUT 717;":SOUR1:POW:ATT.DATA 20"
20 OUTPUT 717;":SOUR1:POW:ATT.DATA?"
30 ENTER 717;A