Analog

SCPI Commands :

[SOURce<HW>]:IQ:OUTPut:ANALog:STATe
[SOURce<HW>]:IQ:OUTPut:[ANALog]:MODE
[SOURce<HW>]:IQ:OUTPut:[ANALog]:PRESet
[SOURce<HW>]:IQ:OUTPut:[ANALog]:TYPE
Commands in total: 62
Subgroups: 6
Direct child commands: 4
get_mode() IqOutMode[source]
# [SOURce<HW>]:IQ:OUTPut:[ANALog]:MODE
value: enums.IqOutMode = driver.source.iq.output.analog.get_mode()

Determines the mode for setting the output parameters.

Returns:

mode: FIXed | VARiable | VATTenuated FIXed Locks the I/Q output settings VARiable Unlocks the settings VATTenuated Attenuates the signal with the value set with the method RsSmbv.source.iq.output.analog.power.att_digital() .

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

Activates the specified analog I/Q output. 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 (method RsSmbv.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 or

  • method RsSmbv.source.iq.output.analog.state()

Returns:

state: 1 | ON | 0| OFF

get_type_py() IqOutType[source]
# [SOURce<HW>]:IQ:OUTPut:[ANALog]:TYPE
value: enums.IqOutType = driver.source.iq.output.analog.get_type_py()

Sets the type of the analog signal.

preset() None[source]
# [SOURce<HW>]:IQ:OUTPut:[ANALog]:PRESet
driver.source.iq.output.analog.preset()

Sets the default settings (*RST values specified for the commands) . Not affected are:

  • The state set with the method RsSmbv.source.iq.output.analog.state() .

  • If SCONfiguration:EXTernal:PBEHaviour 1, the I/Q ouptput type set with the method RsSmbv.source.iq.output.analog.type_py() .

preset_with_opc(opc_timeout_ms: int = -1) None[source]
# [SOURce<HW>]:IQ:OUTPut:[ANALog]:PRESet
driver.source.iq.output.analog.preset_with_opc()

Sets the default settings (*RST values specified for the commands) . Not affected are:

  • The state set with the method RsSmbv.source.iq.output.analog.state() .

  • If SCONfiguration:EXTernal:PBEHaviour 1, the I/Q ouptput type set with the method RsSmbv.source.iq.output.analog.type_py() .

Same as preset, but waits for the operation to complete before continuing further. Use the RsSmbv.utilities.opc_timeout_set() to set the timeout value.

Parameters:

opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.

set_mode(mode: IqOutMode) None[source]
# [SOURce<HW>]:IQ:OUTPut:[ANALog]:MODE
driver.source.iq.output.analog.set_mode(mode = enums.IqOutMode.FIXed)

Determines the mode for setting the output parameters.

Parameters:

mode – FIXed | VARiable | VATTenuated FIXed Locks the I/Q output settings VARiable Unlocks the settings VATTenuated Attenuates the signal with the value set with the method RsSmbv.source.iq.output.analog.power.att_digital() .

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

Activates the specified analog I/Q output. 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 (method RsSmbv.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 or

  • method RsSmbv.source.iq.output.analog.state()

Parameters:

state – 1 | ON | 0| OFF

set_type_py(type_py: IqOutType) None[source]
# [SOURce<HW>]:IQ:OUTPut:[ANALog]:TYPE
driver.source.iq.output.analog.set_type_py(type_py = enums.IqOutType.DAC)

Sets the type of the analog signal.

Cloning the Group

# Create a copy of the original group, that exists independently
analog_copy = driver.source.iq.output.analog.clone()

Subgroups