Property (Read-Write)
SCPI.SOURce(Ch).POWer.PORT(Pt).ATTenuation.DATA = Value
Value = SCPI.SOURce(Ch).POWer.PORT(Pt).ATTenuation.DATA
This command sets/gets the power range for each port (Pt).
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.PORT(1).ATTenuation.DATA = 10
Att = SCPI.SOURce(1).POWer.PORT(1).ATTenuation.DATA
SCPI.SOURce(Ch).POWer.PORT.ATTenuation.COUPle
Sweep Setup > Power > Port Pwr&Att > Port 1 Pwr&Att|Port 2 Pwr&Att > Source Atten. > 0 dB|10 dB|20 dB|30 dB|40 dB|50 dB|60 dB
:SOURce{[1]-160}:POWer:PORT{[1]|2}ATTenuation[:DATA] <numeric>
:SOURce{[1]-160}:POWer:PORT{[1]|2}ATTenuation[:DATA]?
<numeric><newline><^END>
10 OUTPUT 717;":SOUR1:POW:PORT1:ATT 0"
20 OUTPUT 717;":SOUR1:POW:PORT1:ATT?"
30 ENTER 717;A