Iq
SCPI Commands :
[SOURce<HW>]:IQ:CREStfactor
[SOURce<HW>]:IQ:GAIN
[SOURce<HW>]:IQ:SOURce
[SOURce<HW>]:IQ:STATe
[SOURce<HW>]:IQ:WBSTate
- Commands in total: 217Subgroups: 5Direct child commands: 5
- get_crest_factor() float[source]
# [SOURce<HW>]:IQ:CREStfactor value: float = driver.source.iq.get_crest_factor()
Specifies the crest factor for the external analog signal.
- Returns:
crest_factor: float Range: 0 to 35, Unit: dB
- get_gain() IqGainAll[source]
# [SOURce<HW>]:IQ:GAIN value: enums.IqGainAll = driver.source.iq.get_gain()
Sets the baseband gain for a wide dynamic range. You can amplify the baseband signal power level (positive gain) or attenuate this level (negative gain) to optimize the I/Q modulation performance. The optimization is a trade-off between signal distortion and signal-to-noise ratio (SNR) .
- get_source() IqSour[source]
# [SOURce<HW>]:IQ:SOURce value: enums.IqSour = driver.source.iq.get_source()
Selects the input signal source for the I/Q modulator.
- Returns:
source: BASeband | | ANALog | DIFFerential BASeband Internal baseband signal ANALog External analog wideband I/Q signal Enabling the I/Q modulator disables an enabled amplitude modulation of the RF output signal. Differential External analog wideband I/Q signal Enabling the I/Q modulator disables an enabled amplitude modulation of the RF output signal.
- get_state() bool[source]
# [SOURce<HW>]:IQ:STATe value: bool = driver.source.iq.get_state()
Enables the I/Q modulation.
- Returns:
state: 1 | ON | 0| OFF
- get_wb_state() bool[source]
# [SOURce<HW>]:IQ:WBSTate value: bool = driver.source.iq.get_wb_state()
Activates I/Q wideband mode. Activation automatically optimizes the settings for wideband modulation signals with a bandwidth that is higher then 5 MHz.
- Returns:
wb_state: 1 | ON | 0| OFF
*RST: 0 (R&S SMW-B10) / 1 (R&S SMW-B9)
- set_crest_factor(crest_factor: float) None[source]
# [SOURce<HW>]:IQ:CREStfactor driver.source.iq.set_crest_factor(crest_factor = 1.0)
Specifies the crest factor for the external analog signal.
- Parameters:
crest_factor – float Range: 0 to 35, Unit: dB
- set_gain(gain: IqGainAll) None[source]
# [SOURce<HW>]:IQ:GAIN driver.source.iq.set_gain(gain = enums.IqGainAll.AUTO)
Sets the baseband gain for a wide dynamic range. You can amplify the baseband signal power level (positive gain) or attenuate this level (negative gain) to optimize the I/Q modulation performance. The optimization is a trade-off between signal distortion and signal-to-noise ratio (SNR) .
- Parameters:
gain – DBM4 | DBM2 | DB0 | DB2 | DB4 | DB8 | DB6 | DBM3 | DB3 | AUTO Dynamic range of 16 dB divided into 2 dB steps. DBM2 | DBM4 ‘-4 dB’/’-2 dB’ Attenuates the baseband signal internally to minimize signal distortions and optimize the intermodulation characteristics of the modulated signal. But the SNR decreases, the signal noise increases. DB0 0 dB No changes on the baseband signal, applies no optimization. DB2 | DB4 | DB6 | DB8 ‘2 dB’/’4 dB’/’6 dB’/’8 dB’ Amplifies the baseband signal internally to maximize the SNR while minimizing the signal noise is minimized. But the signal distortions increase. DBM3 | DB3 (Setting only) Provided only for backward compatibility with other Rohde & Schwarz signal generators. The R&S SMW200A accepts these values and maps them automatically as follows: DBM3 = DBM2, DB3 = DB2 AUTO Requires a connected R&S SZU. The R&S SMW200A automatically sets the gain with optimized adjustment data from the R&S SZU.
- set_source(source: IqSour) None[source]
# [SOURce<HW>]:IQ:SOURce driver.source.iq.set_source(source = enums.IqSour.ANALog)
Selects the input signal source for the I/Q modulator.
- Parameters:
source – BASeband | | ANALog | DIFFerential BASeband Internal baseband signal ANALog External analog wideband I/Q signal Enabling the I/Q modulator disables an enabled amplitude modulation of the RF output signal. Differential External analog wideband I/Q signal Enabling the I/Q modulator disables an enabled amplitude modulation of the RF output signal.
- set_state(state: bool) None[source]
# [SOURce<HW>]:IQ:STATe driver.source.iq.set_state(state = False)
Enables the I/Q modulation.
- Parameters:
state – 1 | ON | 0| OFF
- set_wb_state(wb_state: bool) None[source]
# [SOURce<HW>]:IQ:WBSTate driver.source.iq.set_wb_state(wb_state = False)
Activates I/Q wideband mode. Activation automatically optimizes the settings for wideband modulation signals with a bandwidth that is higher then 5 MHz.
- Parameters:
wb_state – 1 | ON | 0| OFF
*RST: 0 (R&S SMW-B10) / 1 (R&S SMW-B9)
Cloning the Group
# Create a copy of the original group, that exists independently
iq_copy = driver.source.iq.clone()
Subgroups