Dgain

SCPI Commands :

SOURce:GPRF:GENerator<Instance>:LIST:DGAin
SOURce:GPRF:GENerator<Instance>:LIST:DGAin:ALL
class DgainCls[source]

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

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

Defines the digital gain of a selected frequency/level step.

param index:

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

return:

digital_gain: numeric Digital gain at the step Unit: dB

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

Defines the digital gains of all frequency/level steps.

return:

all_digital_gains: numeric Comma-separated list of n values, one per frequency/level step, where n 2001. The query returns 2000 results. Unit: dB

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

Defines the digital gain of a selected frequency/level step.

param index:

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

param digital_gain:

numeric Digital gain at the step Unit: dB

set_all(all_digital_gains: List[float]) None[source]
# SCPI: SOURce:GPRF:GENerator<Instance>:LIST:DGAin:ALL
driver.source.listPy.dgain.set_all(all_digital_gains = [1.1, 2.2, 3.3])

Defines the digital gains of all frequency/level steps.

param all_digital_gains:

numeric Comma-separated list of n values, one per frequency/level step, where n 2001. The query returns 2000 results. Unit: dB