Alc

SCPI Commands :

[SOURce<HW>]:POWer:ALC:DSENsitivity
[SOURce<HW>]:POWer:ALC:MODE
[SOURce<HW>]:POWer:ALC:OMODe
[SOURce<HW>]:POWer:ALC:SEARch
[SOURce<HW>]:POWer:ALC:SLEVel
[SOURce<HW>]:POWer:ALC:[STATe]
class AlcCls[source]

Alc commands group definition. 7 total commands, 1 Subgroups, 6 group commands

get_dsensitivity() RsSmbv.enums.PowAlcDetSensitivity[source]
# SCPI: [SOURce<HW>]:POWer:ALC:DSENsitivity
value: enums.PowAlcDetSensitivity = driver.source.power.alc.get_dsensitivity()

Sets the sensitivity of the ALC detector.

return

sensitivity: AUTO| FIXed AUTO Selects the optimum sensitivity automatically. FIXed Fixes the internal level detector.

get_mode() RsSmbv.enums.AlcOnOffAuto[source]
# SCPI: [SOURce<HW>]:POWer:ALC:MODE
value: enums.AlcOnOffAuto = driver.source.power.alc.get_mode()

Queries the currently set ALC mode. See [:SOURce<hw>]:POWer:ALC[:STATe].

return

pow_alc_mode: 0| AUTO| 1| PRESet| OFFTable| ON| OFF| ONSample| ONTable

get_omode() RsSmbv.enums.AlcOffModeSmbv[source]
# SCPI: [SOURce<HW>]:POWer:ALC:OMODe
value: enums.AlcOffModeSmbv = driver.source.power.alc.get_omode()

No command help available

return

off_mode: No help available

get_search() bool[source]
# SCPI: [SOURce<HW>]:POWer:ALC:SEARch
value: bool = driver.source.power.alc.get_search()

No command help available

return

search: No help available

get_slevel() RsSmbv.enums.PowAlcSampleLev[source]
# SCPI: [SOURce<HW>]:POWer:ALC:SLEVel
value: enums.PowAlcSampleLev = driver.source.power.alc.get_slevel()

Sets the sample level of automatic level control (ALC) . How To: See ‘How to enable the ALC’.

return

samp_level: FULL| MINimum| ATTenuated

get_state() RsSmbv.enums.AlcOnOffAuto[source]
# SCPI: [SOURce<HW>]:POWer:ALC:[STATe]
value: enums.AlcOnOffAuto = driver.source.power.alc.get_state()

Activates automatic level control in the selected mode. How to: See ‘How to enable the ALC’.

return

state: AUTO| OFFTable| ON| ONSample| ONTable| OFF AUTO Adjusts the output level to the operating conditions automatically. OFFTable Controls the level with the attenuation values of the internal ALC table. ON Activates internal level control permanently. OFF Deactivates internal level control, ‘Sample & Hold’ mode is active. ONSample Starts the internal level control with the first change. ONTable Starts with the attenuation setting from the table and continues with automatic level control. For more details on the individual settings, an overview of the functionality and details on what is to be considered, see ‘ALC states and their effects’.

set_dsensitivity(sensitivity: RsSmbv.enums.PowAlcDetSensitivity) None[source]
# SCPI: [SOURce<HW>]:POWer:ALC:DSENsitivity
driver.source.power.alc.set_dsensitivity(sensitivity = enums.PowAlcDetSensitivity.AUTO)

Sets the sensitivity of the ALC detector.

param sensitivity

AUTO| FIXed AUTO Selects the optimum sensitivity automatically. FIXed Fixes the internal level detector.

set_omode(off_mode: RsSmbv.enums.AlcOffModeSmbv) None[source]
# SCPI: [SOURce<HW>]:POWer:ALC:OMODe
driver.source.power.alc.set_omode(off_mode = enums.AlcOffModeSmbv.HIGHaccuracy)

No command help available

param off_mode

No help available

set_search(search: bool) None[source]
# SCPI: [SOURce<HW>]:POWer:ALC:SEARch
driver.source.power.alc.set_search(search = False)

No command help available

param search

No help available

set_slevel(samp_level: RsSmbv.enums.PowAlcSampleLev) None[source]
# SCPI: [SOURce<HW>]:POWer:ALC:SLEVel
driver.source.power.alc.set_slevel(samp_level = enums.PowAlcSampleLev.ATTenuated)

Sets the sample level of automatic level control (ALC) . How To: See ‘How to enable the ALC’.

param samp_level

FULL| MINimum| ATTenuated

set_state(state: RsSmbv.enums.AlcOnOffAuto) None[source]
# SCPI: [SOURce<HW>]:POWer:ALC:[STATe]
driver.source.power.alc.set_state(state = enums.AlcOnOffAuto._0)

Activates automatic level control in the selected mode. How to: See ‘How to enable the ALC’.

param state

AUTO| OFFTable| ON| ONSample| ONTable| OFF AUTO Adjusts the output level to the operating conditions automatically. OFFTable Controls the level with the attenuation values of the internal ALC table. ON Activates internal level control permanently. OFF Deactivates internal level control, ‘Sample & Hold’ mode is active. ONSample Starts the internal level control with the first change. ONTable Starts with the attenuation setting from the table and continues with automatic level control. For more details on the individual settings, an overview of the functionality and details on what is to be considered, see ‘ALC states and their effects’.

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.power.alc.clone()

Subgroups