Modulation
SCPI Commands :
SOURce:GPRF:GENerator<Instance>:LIST:MODulation
SOURce:GPRF:GENerator<Instance>:LIST:MODulation:ALL
- class ModulationCls[source]
Modulation commands group definition. 2 total commands, 0 Subgroups, 2 group commands
- get(index: int) bool [source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:MODulation value: bool = driver.source.listPy.modulation.get(index = 1)
Defines or queries the ‘Mod. On / Off’ setting of a selected frequency/level step. The setting is valid only in arbitrary baseband mode (see method RsCmwGprfGen.Source.bbMode) .
- param index:
integer Number of the frequency/level step in the table Range: 0 to 1999
- return:
modulation: OFF | ON Switch modulation OFF or ON
- get_all() List[bool] [source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:MODulation:ALL value: List[bool] = driver.source.listPy.modulation.get_all()
Defines or queries the ‘Mod. On / Off’ setting of all frequency/level steps. The setting is valid only in arbitrary baseband mode (see method RsCmwGprfGen.Source.bbMode) .
- return:
all_modulations: OFF | ON Comma-separated list of n values, one per frequency/level step, where n 2001. The query returns 2000 results. Each value switches the modulation of a step OFF or ON.
- set(index: int, modulation: bool) None [source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:MODulation driver.source.listPy.modulation.set(index = 1, modulation = False)
Defines or queries the ‘Mod. On / Off’ setting of a selected frequency/level step. The setting is valid only in arbitrary baseband mode (see method RsCmwGprfGen.Source.bbMode) .
- param index:
integer Number of the frequency/level step in the table Range: 0 to 1999
- param modulation:
OFF | ON Switch modulation OFF or ON
- set_all(all_modulations: List[bool]) None [source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:MODulation:ALL driver.source.listPy.modulation.set_all(all_modulations = [True, False, True])
Defines or queries the ‘Mod. On / Off’ setting of all frequency/level steps. The setting is valid only in arbitrary baseband mode (see method RsCmwGprfGen.Source.bbMode) .
- param all_modulations:
OFF | ON Comma-separated list of n values, one per frequency/level step, where n 2001. The query returns 2000 results. Each value switches the modulation of a step OFF or ON.