Am

SCPI Commands :

[SOURce<HW>]:BB:RADio:AM:DEPTh
[SOURce<HW>]:BB:RADio:AM:INPut
[SOURce<HW>]:BB:RADio:AM:PRESet
[SOURce<HW>]:BB:RADio:AM:SOURce
[SOURce<HW>]:BB:RADio:AM:STATe
class AmCls[source]

Am commands group definition. 16 total commands, 5 Subgroups, 5 group commands

get_depth() float[source]
# SCPI: [SOURce<HW>]:BB:RADio:AM:DEPTh
value: float = driver.source.bb.radio.am.get_depth()

Sets the nominal modulation depth.

return:

depth: float Range: 0 to 100

get_input_py() AudioBcInputSignal[source]
# SCPI: [SOURce<HW>]:BB:RADio:AM:INPut
value: enums.AudioBcInputSignal = driver.source.bb.radio.am.get_input_py()

Sets the audio source for the AM modulator signal.

return:

input_py: EXTernal| AGENerator| APLayer| OFF EXTernal Uses an external audio signal input at the ‘User 2’ connector. The audio source is fixed to ‘Source S/PDIF’, see [:SOURcehw]:BB:RADio:AM:SOURce. AGENerator Uses an internal audio generator as the signal source. APLayer Uses an audio player file, that is saved to the memory of the R&S SMCV100B. OFF Disables the audio source for the AM modulator.

get_source() BcInputSignalSource[source]
# SCPI: [SOURce<HW>]:BB:RADio:AM:SOURce
value: enums.BcInputSignalSource = driver.source.bb.radio.am.get_source()

Queries the audio source.

return:

source: SPDif is fixed.

get_state() bool[source]
# SCPI: [SOURce<HW>]:BB:RADio:AM:STATe
value: bool = driver.source.bb.radio.am.get_state()

Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.

return:

state: 1| ON| 0| OFF

preset() None[source]
# SCPI: [SOURce<HW>]:BB:RADio:AM:PRESet
driver.source.bb.radio.am.preset()

Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:AM|FM|FM:RDS:STATe.

preset_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: [SOURce<HW>]:BB:RADio:AM:PRESet
driver.source.bb.radio.am.preset_with_opc()

Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:AM|FM|FM:RDS:STATe.

Same as preset, but waits for the operation to complete before continuing further. Use the RsSmcv.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_depth(depth: float) None[source]
# SCPI: [SOURce<HW>]:BB:RADio:AM:DEPTh
driver.source.bb.radio.am.set_depth(depth = 1.0)

Sets the nominal modulation depth.

param depth:

float Range: 0 to 100

set_input_py(input_py: AudioBcInputSignal) None[source]
# SCPI: [SOURce<HW>]:BB:RADio:AM:INPut
driver.source.bb.radio.am.set_input_py(input_py = enums.AudioBcInputSignal.AGENerator)

Sets the audio source for the AM modulator signal.

param input_py:

EXTernal| AGENerator| APLayer| OFF EXTernal Uses an external audio signal input at the ‘User 2’ connector. The audio source is fixed to ‘Source S/PDIF’, see [:SOURcehw]:BB:RADio:AM:SOURce. AGENerator Uses an internal audio generator as the signal source. APLayer Uses an audio player file, that is saved to the memory of the R&S SMCV100B. OFF Disables the audio source for the AM modulator.

set_source(source: BcInputSignalSource) None[source]
# SCPI: [SOURce<HW>]:BB:RADio:AM:SOURce
driver.source.bb.radio.am.set_source(source = enums.BcInputSignalSource.SPDif)

Queries the audio source.

param source:

SPDif is fixed.

set_state(state: bool) None[source]
# SCPI: [SOURce<HW>]:BB:RADio:AM:STATe
driver.source.bb.radio.am.set_state(state = False)

Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.

param state:

1| ON| 0| OFF

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.bb.radio.am.clone()

Subgroups