Gain

SCPI Commands :

FRANalysis:GAIN:DATA
FRANalysis:GAIN:ENABle
FRANalysis:GAIN:OFFSet
FRANalysis:GAIN:SCALe
Commands in total: 4
Subgroups: 0
Direct child commands: 4
get_data() List[float][source]
# FRANalysis:GAIN:DATA
value: List[float] = driver.franalysis.gain.get_data()

Returns the data of the gain as a list of comma-separated values in dB.

Returns:

data: Comma-separated list of values

get_enable() bool[source]
# FRANalysis:GAIN:ENABle
value: bool = driver.franalysis.gain.get_enable()

Enables the gain waveform for the frequency response analysis.

Returns:

state: OFF | ON

get_offset() float[source]
# FRANalysis:GAIN:OFFSet
value: float = driver.franalysis.gain.get_offset()

Sets a vertical offset of the gain waveform.

Returns:

vertical_offset: -2000 to 2000

get_scale() float[source]
# FRANalysis:GAIN:SCALe
value: float = driver.franalysis.gain.get_scale()

Sets the vertical scale for the gain waveform.

Returns:

vertical_scale: 0.1 to 20

set_enable(state: bool) None[source]
# FRANalysis:GAIN:ENABle
driver.franalysis.gain.set_enable(state = False)

Enables the gain waveform for the frequency response analysis.

Parameters:

state – OFF | ON

set_offset(vertical_offset: float) None[source]
# FRANalysis:GAIN:OFFSet
driver.franalysis.gain.set_offset(vertical_offset = 1.0)

Sets a vertical offset of the gain waveform.

Parameters:

vertical_offset – -2000 to 2000

set_scale(vertical_scale: float) None[source]
# FRANalysis:GAIN:SCALe
driver.franalysis.gain.set_scale(vertical_scale = 1.0)

Sets the vertical scale for the gain waveform.

Parameters:

vertical_scale – 0.1 to 20