[docs]classDeviationCls:"""Deviation commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("deviation",core,parent)
[docs]defset(self,deviation:float,indexNull=repcap.IndexNull.Default)->None:"""SCPI: [SOURce<HW>]:BB:DM:FSK:VARiable:SYMBol<CH0>:DEViation \n Snippet: driver.source.bb.dm.fsk.variable.symbol.deviation.set(deviation = 1.0, indexNull = repcap.IndexNull.Default) \n Sets the deviation of the selected symbol for variable FSK modulation mode. The value range depends on the configured symbol rate. For more information, refer to the specifications document. \n :param deviation: float Range: depends on settings , Unit: Hz :param indexNull: optional repeated capability selector. Default value: Nr0 (settable in the interface 'Symbol') """param=Conversions.decimal_value_to_str(deviation)indexNull_cmd_val=self._cmd_group.get_repcap_cmd_value(indexNull,repcap.IndexNull)self._core.io.write(f'SOURce<HwInstance>:BB:DM:FSK:VARiable:SYMBol{indexNull_cmd_val}:DEViation {param}')
[docs]defget(self,indexNull=repcap.IndexNull.Default)->float:"""SCPI: [SOURce<HW>]:BB:DM:FSK:VARiable:SYMBol<CH0>:DEViation \n Snippet: value: float = driver.source.bb.dm.fsk.variable.symbol.deviation.get(indexNull = repcap.IndexNull.Default) \n Sets the deviation of the selected symbol for variable FSK modulation mode. The value range depends on the configured symbol rate. For more information, refer to the specifications document. \n :param indexNull: optional repeated capability selector. Default value: Nr0 (settable in the interface 'Symbol') :return: deviation: float Range: depends on settings , Unit: Hz"""indexNull_cmd_val=self._cmd_group.get_repcap_cmd_value(indexNull,repcap.IndexNull)response=self._core.io.query_str(f'SOURce<HwInstance>:BB:DM:FSK:VARiable:SYMBol{indexNull_cmd_val}:DEViation?')returnConversions.str_to_float(response)