[docs]classSpectrogramCls:"""Spectrogram commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("spectrogram",core,parent)
[docs]defset(self,state:bool)->None:"""SCPI: MMEMory:SELect[:ITEM]:SPECtrogram \n Snippet: driver.massMemory.select.item.spectrogram.set(state = False) \n This command includes or excludes spectrogram data when storing or loading a configuration file. Depending on the used command, either the items from the entire instrument (MMEMory:SELect[:ITEM]...) , or only those from the currently selected channel (MMEM:SELect:CHANnel[:ITEM]...) are stored or loaded. \n :param state: ON | OFF | 1 | 0 """param=Conversions.bool_to_str(state)self._core.io.write(f'MMEMory:SELect:ITEM:SPECtrogram {param}')
[docs]defget(self)->bool:"""SCPI: MMEMory:SELect[:ITEM]:SPECtrogram \n Snippet: value: bool = driver.massMemory.select.item.spectrogram.get() \n This command includes or excludes spectrogram data when storing or loading a configuration file. Depending on the used command, either the items from the entire instrument (MMEMory:SELect[:ITEM]...) , or only those from the currently selected channel (MMEM:SELect:CHANnel[:ITEM]...) are stored or loaded. \n :return: state: ON | OFF | 1 | 0"""response=self._core.io.query_str(f'MMEMory:SELect:ITEM:SPECtrogram?')returnConversions.str_to_bool(response)