Source code for RsFsw.Implementations.HardCopy.Treport.Item.ListPy

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal.Utilities import trim_str_response


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class ListPyCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("listPy", core, parent)

[docs] def get(self) -> str: """ ``HCOPy:TREPort:ITEM:LIST`` \n Snippet: ``value: str = driver.hardCopy.treport.item.listPy.get()`` \n This command queries the selected information to be included in the test report for a specific channel type. :return: channel_type: char_data Selects the channel type that you want to query the test report configuration for. When you omit the parameter, the command returns the configuration of the currently selected channel. """ response = self._core.io.query_str(f'HCOPy:TREPort:ITEM:LIST?') return trim_str_response(response)