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
class DeviceFootprintCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

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

[docs] def get(self) -> str: """ ``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. :return: xxx: Contents of the xml file in binary format. """ response = self._core.io.query_str(f'SYSTem:DFPRint?') return trim_str_response(response)