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. 213 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() RsSmw.enums.IqGainAll[source]
# SCPI: [SOURce<HW>]:IQ:GAIN
value: enums.IqGainAll = driver.source.iq.get_gain()

Optimizes the modulation of the I/Q modulator for a subset of measurement requirement.

return

gain: No help available

get_source() RsSmw.enums.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 External signals disable the amplitude modulation, an enabled custom digital modulation, any configured digital standard or an applied digital baseband input signal.

get_state() bool[source]
# SCPI: [SOURce<HW>]:IQ:STATe
value: bool = driver.source.iq.get_state()

Enables/disables 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: RsSmw.enums.IqGainAll) None[source]
# SCPI: [SOURce<HW>]:IQ:GAIN
driver.source.iq.set_gain(gain = enums.IqGainAll.AUTO)

Optimizes the modulation of the I/Q modulator for a subset of measurement requirement.

param gain

DBM4| DBM2| DB0| DB2| DB4| DB8| DB6| DBM3| DB3| AUTO Dynamic range of 16 dB divided into 2 dB steps. DB0|DB2|DB4|DB6|DB8 Activates the specified gain of 0 dB, +2 dB, +4 dB, +6 dB, +8 dB DBM2|DBM4 Activates the specified gain of -2 dB, -4 dB DBM3|DB3 (setting only) Provided only for backward compatibility with other Rohde & Schwarz signal generators. The R&S SMW accepts these values and maps them automatically as follows: DBM3 = DBM2, DB3 = DB2 AUTO The gain value is retrieved form the connected R&S SZU. The I/Q modulator is configured automatically.

set_source(source: RsSmw.enums.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 External signals disable the amplitude modulation, an enabled custom digital modulation, any configured digital standard or an applied digital baseband input signal.

set_state(state: bool) None[source]
# SCPI: [SOURce<HW>]:IQ:STATe
driver.source.iq.set_state(state = False)

Enables/disables 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