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
class AnalogCls[source]

Analog commands group definition. 61 total commands, 5 Subgroups, 4 group commands

get_mode() RsSmw.enums.IqOutMode[source]
# SCPI: [SOURce<HW>]:IQ:OUTPut:[ANALog]:MODE
value: enums.IqOutMode = driver.source.iq.output.analog.get_mode()

Determines the mode for setting the output parameters.

return

mode: FIXed| VARiable FIXed Locks the I/Q output settings VARiable Unlocks the settings

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

return

state: 1| ON| 0| OFF

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

Sets the type of the analog signal.

return

type_py: No help available

preset() None[source]
# SCPI: [SOURce<HW>]:IQ:OUTPut:[ANALog]:PRESet
driver.source.iq.output.analog.preset()
Sets the default settings (*RST values specified for the commands) .

INTRO_CMD_HELP: Not affected are:

  • The state set with the command [:SOURce<hw>]:IQ:OUTPut:ANALog:STATe.

  • If SCONfiguration:EXTernal:PBEHaviour 1, the I/Q ouptput type set with the command [:SOURce<hw>]:IQ:OUTPut[:ANALog]:TYPE.

preset_with_opc(opc_timeout_ms: int = - 1) None[source]
# SCPI: [SOURce<HW>]:IQ:OUTPut:[ANALog]:PRESet
driver.source.iq.output.analog.preset_with_opc()
Sets the default settings (*RST values specified for the commands) .

INTRO_CMD_HELP: Not affected are:

  • The state set with the command [:SOURce<hw>]:IQ:OUTPut:ANALog:STATe.

  • If SCONfiguration:EXTernal:PBEHaviour 1, the I/Q ouptput type set with the command [:SOURce<hw>]:IQ:OUTPut[:ANALog]:TYPE.

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.

param opc_timeout_ms

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

set_mode(mode: RsSmw.enums.IqOutMode) None[source]
# SCPI: [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.

param mode

FIXed| VARiable FIXed Locks the I/Q output settings VARiable Unlocks the settings

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

param state

1| ON| 0| OFF

set_type_py(type_py: RsSmw.enums.IqOutType) None[source]
# SCPI: [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.

param type_py

No help available

Cloning the Group

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

Subgroups