[docs]classWlistCls:"""Wlist commands group definition. 5 total commands, 2 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("wlist",core,parent)@propertydeffile(self):"""file commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_file'):from.FileimportFileClsself._file=FileCls(self._core,self._cmd_group)returnself._file@propertydefsegment(self):"""segment commands group. 2 Sub-classes, 1 commands."""ifnothasattr(self,'_segment'):from.SegmentimportSegmentClsself._segment=SegmentCls(self._core,self._cmd_group)returnself._segment
[docs]defsave(self,sequencer=repcap.Sequencer.Default)->None:"""SCPI: [SOURce<HW>]:BB:ESEQuencer:RTCI:[SEQuencer<ST>]:WLISt:SAVE \n Snippet: driver.source.bb.esequencer.rtci.sequencer.wlist.save(sequencer = repcap.Sequencer.Default) \n Save and load the waveform list to the coder board, the file extension *.inf_mswv is automatically assigned. \n :param sequencer: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Sequencer') """sequencer_cmd_val=self._cmd_group.get_repcap_cmd_value(sequencer,repcap.Sequencer)self._core.io.write(f'SOURce<HwInstance>:BB:ESEQuencer:RTCI:SEQuencer{sequencer_cmd_val}:WLISt:SAVE')
[docs]defsave_with_opc(self,sequencer=repcap.Sequencer.Default,opc_timeout_ms:int=-1)->None:sequencer_cmd_val=self._cmd_group.get_repcap_cmd_value(sequencer,repcap.Sequencer)"""SCPI: [SOURce<HW>]:BB:ESEQuencer:RTCI:[SEQuencer<ST>]:WLISt:SAVE \n Snippet: driver.source.bb.esequencer.rtci.sequencer.wlist.save_with_opc(sequencer = repcap.Sequencer.Default) \n Save and load the waveform list to the coder board, the file extension *.inf_mswv is automatically assigned. \n Same as save, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value. \n :param sequencer: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Sequencer') :param opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call."""self._core.io.write_with_opc(f'SOURce<HwInstance>:BB:ESEQuencer:RTCI:SEQuencer{sequencer_cmd_val}:WLISt:SAVE',opc_timeout_ms)
defclone(self)->'WlistCls':"""Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group"""new_group=WlistCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group