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:[STATe]
- class AlcCls[source]
Alc commands group definition. 8 total commands, 2 Subgroups, 5 group commands
- get_dsensitivity() 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() 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() AlcOffMode [source]
# SCPI: [SOURce<HW>]:POWer:ALC:OMODe value: enums.AlcOffMode = 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_state() PowAlcStateWithExtAlc [source]
# SCPI: [SOURce<HW>]:POWer:ALC:[STATe] value: enums.PowAlcStateWithExtAlc = driver.source.power.alc.get_state()
No command help available
- return:
state: 0| OFF| AUTO| 1| ON| ONTable| PRESet| OFFTable | EALC AUTO Adjusts the output level to the operating conditions automatically. 1|ON Activates internal level control permanently. OFFTable Controls the level using attenuation values of the internal ALC table. 0|OFF Provided only for backward compatibility with other Rohde & Schwarz signal generators. The R&S SMA100B accepts these values and maps them automatically as follows: 0|OFF = OFFTable ONTable Starts with the attenuation setting from the table and continues with automatic level control. EALC Activates external ALC mode.
- set_dsensitivity(sensitivity: 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: AlcOffMode) None [source]
# SCPI: [SOURce<HW>]:POWer:ALC:OMODe driver.source.power.alc.set_omode(off_mode = enums.AlcOffMode.SHOLd)
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_state(state: PowAlcStateWithExtAlc) None [source]
# SCPI: [SOURce<HW>]:POWer:ALC:[STATe] driver.source.power.alc.set_state(state = enums.PowAlcStateWithExtAlc._0)
No command help available
- param state:
0| OFF| AUTO| 1| ON| ONTable| PRESet| OFFTable | EALC AUTO Adjusts the output level to the operating conditions automatically. 1|ON Activates internal level control permanently. OFFTable Controls the level using attenuation values of the internal ALC table. 0|OFF Provided only for backward compatibility with other Rohde & Schwarz signal generators. The R&S SMA100B accepts these values and maps them automatically as follows: 0|OFF = OFFTable ONTable Starts with the attenuation setting from the table and continues with automatic level control. EALC Activates external ALC mode.
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.source.power.alc.clone()
Subgroups