Source code for RsFsw.Implementations.System.DeviceFootprint

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class DeviceFootprintCls: """DeviceFootprint commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("deviceFootprint", core, parent)
[docs] def get(self) -> str: """SCPI: SYSTem:DFPRint \n Snippet: value: str = driver.system.deviceFootprint.get() \n Creates an *.xml file with information on installed hardware, software, image and FPGA versions. The *.xml file is stored under C:/R_S/INSTR/devicedata/xml/DeviceFootprint_* on the instrument. It is also output to the remote interface as binary data. \n :return: xxx: Contents of the xml file in binary format.""" response = self._core.io.query_str(f'SYSTem:DFPRint?') return trim_str_response(response)