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: 182Subgroups: 6Direct child commands: 5
- get_crest_factor ( ) float
- set_crest_factor ( crest_factor: float ) None
# [SOURce<HW>]:IQ:CREStfactor # get: value: float = driver.source.iq.get_crest_factor() # set: driver.source.iq.set_crest_factor(crest_factor = 1.0)
Specifies the crest factor for the external analog signal.
- Parameters:
crest_factor – float
- get_gain ( ) IqGain
- set_gain ( gain: IqGain ) None
# [SOURce<HW>]:IQ:GAIN # get: value: enums.IqGain = driver.source.iq.get_gain() # set: driver.source.iq.set_gain(gain = enums.IqGain.DB0)
Optimizes the modulation of the I/Q modulator for a subset of measurement requirement.
- Parameters:
gain – 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
- get_source ( ) IqMode
- set_source ( source: IqMode ) None
# [SOURce<HW>]:IQ:SOURce # get: value: enums.IqMode = driver.source.iq.get_source() # set: driver.source.iq.set_source(source = enums.IqMode.ANALog)
Selects the input signal source for the I/Q modulator.
- Parameters:
source – BASeband | | ANALog
BASeband: Internal baseband signal
ANALog: External analog wideband I/Q signalEnabling the I/Q modulator disables an enabled amplitude modulation of the RF output signal.
Differential: External analog wideband I/Q signalEnabling the I/Q modulator disables an enabled amplitude modulation of the RF output signal.
- get_state ( ) bool
- set_state ( state: bool ) None
# [SOURce<HW>]:IQ:STATe # get: value: bool = driver.source.iq.get_state() # set: driver.source.iq.set_state(state = False)
Enables the I/Q modulation. Note: Interdependencies The following functions cannot be activated simultaneously. They deactivate each other.
The internal baseband generator ([:SOURce<hw>]:BB:<DigStd>:STATe) and the external digital baseband input (method
RsSmbv.source.bbin.state())The external digital baseband input (method
RsSmbv.source.bbin.state()) and digital output (methodRsSmbv.source.iq.output.digital.state()) because they share the same physical connectors (Dig I/Q and the HS Dig I/Q) .The digital output (method
RsSmbv.source.iq.output.digital.state()) and the output of analog I/Q signals:If [:SOURce<hw>]:IQ:SOURce BASeband, method
RsSmbv.source.iq.state()+ OUTPut<hw>:STATe ormethod
RsSmbv.source.iq.output.analog.state()
- Parameters:
state – 1 | ON | 0| OFF
- get_wb_state ( ) bool
- set_wb_state ( wb_state: bool ) None
# [SOURce<HW>]:IQ:WBSTate # get: value: bool = driver.source.iq.get_wb_state() # set: 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
Cloning the Group
# Create a copy of the original group, that exists independently
iq_copy = driver.source.iq.clone()
Subgroups