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 |
-49 ~ +20 dBm |
0 dB |
-59 ~ +10 dBm |
10 dB |
-69 ~ 0 dBm |
20 dB |
-79 ~ -10 dBm |
30 dB |
-89 ~ -20 dBm |
40 dB |
-99 ~ -30 dBm |
50 dB |
-109 ~ -40 dBm |
60 dB |
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 > Source Atten. > 0 dB|10 dB|20 dB|30 dB|40 dB|50 dB|60 dB
: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