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: 65
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 FIXed Locks the I/Q output settings VARiable Unlocks the settings

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: By default, the output connectors [I/Q Out x] are deactivated.

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 RsSmw.source.iq.output.analog.state() .

  • If SCONfiguration:EXTernal:PBEHaviour 1, the I/Q ouptput type set with the method RsSmw.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 RsSmw.source.iq.output.analog.state() .

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

Same as preset, but waits for the operation to complete before continuing further. Use the RsSmw.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 FIXed Locks the I/Q output settings VARiable Unlocks the settings

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: By default, the output connectors [I/Q Out x] are deactivated.

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