Frequency
SCPI Commands :
SOURce:GPRF:GENerator<Instance>:LIST:FREQuency
SOURce:GPRF:GENerator<Instance>:LIST:FREQuency:ALL
- class FrequencyCls[source]
Frequency commands group definition. 2 total commands, 0 Subgroups, 2 group commands
- get(index: int) float [source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:FREQuency value: float = driver.source.listPy.frequency.get(index = 1)
Defines or queries the frequency of a selected frequency/level step. For the supported frequency range, see ‘Frequency ranges’.
- param index:
integer Number of the frequency/level step in the table Range: 0 to 1999
- return:
frequency: numeric Frequency of the frequency/level step Unit: Hz
- get_all() List[float] [source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:FREQuency:ALL value: List[float] = driver.source.listPy.frequency.get_all()
Defines the frequencies of all frequency/level steps. For the supported frequency range, see ‘Frequency ranges’.
- return:
all_frequencies: numeric Comma-separated list of n values, one per frequency/level step, where n 2001. The query returns 2000 results. Unit: Hz
- set(index: int, frequency: float) None [source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:FREQuency driver.source.listPy.frequency.set(index = 1, frequency = 1.0)
Defines or queries the frequency of a selected frequency/level step. For the supported frequency range, see ‘Frequency ranges’.
- param index:
integer Number of the frequency/level step in the table Range: 0 to 1999
- param frequency:
numeric Frequency of the frequency/level step Unit: Hz
- set_all(all_frequencies: List[float]) None [source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:FREQuency:ALL driver.source.listPy.frequency.set_all(all_frequencies = [1.1, 2.2, 3.3])
Defines the frequencies of all frequency/level steps. For the supported frequency range, see ‘Frequency ranges’.
- param all_frequencies:
numeric Comma-separated list of n values, one per frequency/level step, where n 2001. The query returns 2000 results. Unit: Hz