Source code for RsFsw.Implementations.Applications.K18_AmplifierEt.Fetch.Sync.Fail

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions


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

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

[docs] def get(self) -> bool: """ ``FETCh:SYNC:FAIL`` \n Snippet: ``value: bool = driver.applications.k18AmplifierEt.fetch.sync.fail.get()`` \n This command queries the synchronization status. :return: state: 1 Synchronization was not successful. 0 Synchronization was successful. """ response = self._core.io.query_str(f'FETCh:SYNC:FAIL?') return Conversions.str_to_bool(response)