Iq

SCPI Commands :

[SOURce<HW>]:IQ:CREStfactor
[SOURce<HW>]:IQ:GAIN
[SOURce<HW>]:IQ:SOURce
[SOURce<HW>]:IQ:STATe
[SOURce<HW>]:IQ:WBSTate
class IqCls[source]

Iq commands group definition. 215 total commands, 5 Subgroups, 5 group commands

get_crest_factor() float[source]
# SCPI: [SOURce<HW>]:IQ:CREStfactor
value: float = driver.source.iq.get_crest_factor()

Specifies the crest factor for the external analog signal.

return:

crest_factor: float Range: 0 to 35, Unit: dB

get_gain() IqGainAll[source]
# SCPI: [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) .

return:

gain: No help available

get_source() IqSour[source]
# SCPI: [SOURce<HW>]:IQ:SOURce
value: enums.IqSour = driver.source.iq.get_source()

Selects the input signal source for the I/Q modulator.

return:

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]
# SCPI: [SOURce<HW>]:IQ:STATe
value: bool = driver.source.iq.get_state()

Enables the I/Q modulation.

return:

state: 1| ON| 0| OFF

get_wb_state() bool[source]
# SCPI: [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.

return:

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]
# SCPI: [SOURce<HW>]:IQ:CREStfactor
driver.source.iq.set_crest_factor(crest_factor = 1.0)

Specifies the crest factor for the external analog signal.

param crest_factor:

float Range: 0 to 35, Unit: dB

set_gain(gain: IqGainAll) None[source]
# SCPI: [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) .

param 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]
# SCPI: [SOURce<HW>]:IQ:SOURce
driver.source.iq.set_source(source = enums.IqSour.ANALog)

Selects the input signal source for the I/Q modulator.

param 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]
# SCPI: [SOURce<HW>]:IQ:STATe
driver.source.iq.set_state(state = False)

Enables the I/Q modulation.

param state:

1| ON| 0| OFF

set_wb_state(wb_state: bool) None[source]
# SCPI: [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.

param wb_state:

1| ON| 0| OFF *RST: 0 (R&S SMW-B10) / 1 (R&S SMW-B9)

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.iq.clone()

Subgroups