[docs]defset(self,filename:str)->None:"""SCPI: [SENSe]:DDEMod:PATTern:FRAMe:EDIT \n Snippet: driver.applications.k70Vsa.sense.ddemod.pattern.frame.edit.set(filename = 'abc') \n Specifies an xml file for a user-defined frame structure configuration. The default storage location for such files is C:/R_S/INSTR/USER/vsa/FrameRangeStructure. Is only available if the additional Multi-Modulation Analysis option (FSW-K70M) is installed. If the specified file already exists, it is loaded for subsequent editing. Note that this command is a prerequisite to editing the frame structure of an existing file (using [SENSe:]DDEMod:PATTern:FRAMe:EDIT:STRucture or any other command starting with [SENS:]DDEM:PATT:FRAM:EDIT) . It does not load the file for use in the current measurement (see [SENSe:]DDEMod:PATTern:FRAMe:LOAD) . Therefore, you can edit a frame structure while simultaneously performing a measurement with another frame structure configuration. If the file does not yet exist, a new frame structure is created and will be stored to the specified file when the [SENSe:]DDEMod:PATTern:FRAMe:EDIT:SAVE command is executed. \n :param filename: string Path and file name of the xml file containing the frame structure configuration. """param=Conversions.value_to_quoted_str(filename)self._core.io.write(f'SENSe:DDEMod:PATTern:FRAMe:EDIT {param}')
[docs]defget(self)->str:"""SCPI: [SENSe]:DDEMod:PATTern:FRAMe:EDIT \n Snippet: value: str = driver.applications.k70Vsa.sense.ddemod.pattern.frame.edit.get() \n Specifies an xml file for a user-defined frame structure configuration. The default storage location for such files is C:/R_S/INSTR/USER/vsa/FrameRangeStructure. Is only available if the additional Multi-Modulation Analysis option (FSW-K70M) is installed. If the specified file already exists, it is loaded for subsequent editing. Note that this command is a prerequisite to editing the frame structure of an existing file (using [SENSe:]DDEMod:PATTern:FRAMe:EDIT:STRucture or any other command starting with [SENS:]DDEM:PATT:FRAM:EDIT) . It does not load the file for use in the current measurement (see [SENSe:]DDEMod:PATTern:FRAMe:LOAD) . Therefore, you can edit a frame structure while simultaneously performing a measurement with another frame structure configuration. If the file does not yet exist, a new frame structure is created and will be stored to the specified file when the [SENSe:]DDEMod:PATTern:FRAMe:EDIT:SAVE command is executed. \n :return: filename: string Path and file name of the xml file containing the frame structure configuration."""response=self._core.io.query_str(f'SENSe:DDEMod:PATTern:FRAMe:EDIT?')returntrim_str_response(response)
[docs]defsave(self,filename:str=None)->None:"""SCPI: [SENSe]:DDEMod:PATTern:FRAMe:EDIT:SAVE \n Snippet: driver.applications.k70Vsa.sense.ddemod.pattern.frame.edit.save(filename = 'abc') \n Stores the current frame structure configuration to the specified file. If no path is provided it is saved to the file selected previously by [SENSe:]DDEMod:PATTern:FRAMe:EDIT. Is only available if the additional Multi-Modulation Analysis option (FSW-K70M) is installed. \n :param filename: string Optional parameter: Path and file name of the xml file. """param=''iffilename:param=Conversions.value_to_quoted_str(filename)self._core.io.write(f'SENSe:DDEMod:PATTern:FRAMe:EDIT:SAVE {param}'.strip())
defclone(self)->'EditCls':"""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=EditCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group