RfLevel

SCPI Commands :

SOURce:GPRF:GENerator<Instance>:LIST:RFLevel
SOURce:GPRF:GENerator<Instance>:LIST:RFLevel:ALL
class RfLevelCls[source]

RfLevel commands group definition. 2 total commands, 0 Subgroups, 2 group commands

get(index: int) float[source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:RFLevel
value: float or bool = driver.source.listPy.rfLevel.get(index = 1)

Defines or queries the level of the frequency/level step number <Index>.

param index:

integer Number of the frequency/level step in the table. Range: 0 to 1999

return:

level: (float or boolean) numeric | ON | OFF Level of the frequency/level step Range: Depends on the instrument model, the connector and other settings; please notice the ranges quoted in the data sheet , Unit: dBm ON | OFF enables or disables the frequency/level step.

get_all() List[float][source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:RFLevel:ALL
value: List[float or bool] = driver.source.listPy.rfLevel.get_all()

Defines the levels of all frequency/level steps.

return:

all_levels: (float or boolean items) numeric | ON | OFF Comma-separated list of n values, one per frequency/level step, where n 2001. The query returns 2000 results. Range: Depends on the instrument model, the connector and other settings; please notice the ranges quoted in the data sheet , Unit: dBm ON | OFF enables or disables the frequency/level step.

set(index: int, level: float) None[source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:RFLevel
driver.source.listPy.rfLevel.set(index = 1, level = 1.0)

Defines or queries the level of the frequency/level step number <Index>.

param index:

integer Number of the frequency/level step in the table. Range: 0 to 1999

param level:

(float or boolean) numeric | ON | OFF Level of the frequency/level step Range: Depends on the instrument model, the connector and other settings; please notice the ranges quoted in the data sheet , Unit: dBm ON | OFF enables or disables the frequency/level step.

set_all(all_levels: List[float]) None[source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:RFLevel:ALL
driver.source.listPy.rfLevel.set_all(all_levels = [1.1, True, 2.2, False, 3.3])

Defines the levels of all frequency/level steps.

param all_levels:

(float or boolean items) numeric | ON | OFF Comma-separated list of n values, one per frequency/level step, where n 2001. The query returns 2000 results. Range: Depends on the instrument model, the connector and other settings; please notice the ranges quoted in the data sheet , Unit: dBm ON | OFF enables or disables the frequency/level step.