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
[docs]class ListPyCls: """ListPy commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("listPy", core, parent)
[docs] def get(self) -> str: """SCPI: 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. \n :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)