[docs]classNstateCls:"""Nstate commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("nstate",core,parent)
[docs]defset(self,askn_state:float)->None:"""SCPI: [SENSe]:DDEMod:ASK:NSTate \n Snippet: driver.applications.k70Vsa.sense.ddemod.ask.nstate.set(askn_state = 1.0) \n This command defines the specific demodulation mode for ASK. \n :param askn_state: 2 | 4 2 OOK 4 4ASK """param=Conversions.decimal_value_to_str(askn_state)self._core.io.write(f'SENSe:DDEMod:ASK:NSTate {param}')
[docs]defget(self)->float:"""SCPI: [SENSe]:DDEMod:ASK:NSTate \n Snippet: value: float = driver.applications.k70Vsa.sense.ddemod.ask.nstate.get() \n This command defines the specific demodulation mode for ASK. \n :return: askn_state: 2 | 4 2 OOK 4 4ASK"""response=self._core.io.query_str(f'SENSe:DDEMod:ASK:NSTate?')returnConversions.str_to_float(response)