from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class OldCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("old", core, parent)
[docs]
def get(self) -> bool:
"""
``CALibration:INFO:OLD`` \n
Snippet: ``value: bool = driver.calibration.info.old.get()`` \n
Indicates whether self-alignment is overdue. By default, a reminder is shown in the status bar of the instrument 30 days
after the last self-alignment took place.
"""
response = self._core.io.query_str(f'CALibration:INFO:OLD?')
return Conversions.str_to_bool(response)