[docs]classPowerCls:"""Power commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("power",core,parent)
[docs]defget_offset(self)->float:"""SCPI: [SOURce<HW>]:BB:C2K:MSTation:ADDitional:POWer:OFFSet \n Snippet: value: float = driver.source.bb.c2K.mstation.additional.power.get_offset() \n The command sets the power offset of the active channels of the additional mobile stations relative to the power of the active channels of the reference station MS4. The offset applies to all the additional mobile stations. The resultant overall power must fall within the range 0 ... - 80 dB. If the value is above or below this range, it is limited automatically. \n :return: offset: float Range: -80 dB to 0 dB """response=self._core.io.query_str('SOURce<HwInstance>:BB:C2K:MSTation:ADDitional:POWer:OFFSet?')returnConversions.str_to_float(response)
[docs]defset_offset(self,offset:float)->None:"""SCPI: [SOURce<HW>]:BB:C2K:MSTation:ADDitional:POWer:OFFSet \n Snippet: driver.source.bb.c2K.mstation.additional.power.set_offset(offset = 1.0) \n The command sets the power offset of the active channels of the additional mobile stations relative to the power of the active channels of the reference station MS4. The offset applies to all the additional mobile stations. The resultant overall power must fall within the range 0 ... - 80 dB. If the value is above or below this range, it is limited automatically. \n :param offset: float Range: -80 dB to 0 dB """param=Conversions.decimal_value_to_str(offset)self._core.io.write(f'SOURce<HwInstance>:BB:C2K:MSTation:ADDitional:POWer:OFFSet {param}')