[docs]classTextCls:"""Text commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("text",core,parent)
[docs]defset(self,description:str,line=repcap.Line.Default)->None:"""SCPI: HCOPy:TREPort:ITEM:HEADer:LINE<li>:TEXT \n Snippet: driver.hardCopy.treport.item.header.line.text.set(description = 'abc', line = repcap.Line.Default) \n This command defines a descriptive text for one of the items part of the report header. You can define up to 6 items in the header. Use method RsFsw.HardCopy.Treport.Item.Header.Line.Title.set to define custom titles for each item. Use method RsFsw.HardCopy.Treport.Item.Header.Line.Control.set to select the condition under which each item is shown. \n :param description: String containing the description of one of the value fields. By default, the value fields of the items are empty. :param line: optional repeated capability selector. Default value: Ix1 (settable in the interface 'Line') """param=Conversions.value_to_quoted_str(description)line_cmd_val=self._cmd_group.get_repcap_cmd_value(line,repcap.Line)self._core.io.write(f'HCOPy:TREPort:ITEM:HEADer:LINE{line_cmd_val}:TEXT {param}')
[docs]defget(self,line=repcap.Line.Default)->str:"""SCPI: HCOPy:TREPort:ITEM:HEADer:LINE<li>:TEXT \n Snippet: value: str = driver.hardCopy.treport.item.header.line.text.get(line = repcap.Line.Default) \n This command defines a descriptive text for one of the items part of the report header. You can define up to 6 items in the header. Use method RsFsw.HardCopy.Treport.Item.Header.Line.Title.set to define custom titles for each item. Use method RsFsw.HardCopy.Treport.Item.Header.Line.Control.set to select the condition under which each item is shown. \n :param line: optional repeated capability selector. Default value: Ix1 (settable in the interface 'Line') :return: description: String containing the description of one of the value fields. By default, the value fields of the items are empty."""line_cmd_val=self._cmd_group.get_repcap_cmd_value(line,repcap.Line)response=self._core.io.query_str(f'HCOPy:TREPort:ITEM:HEADer:LINE{line_cmd_val}:TEXT?')returntrim_str_response(response)