Supervisor¶
Description¶
Module: geocompy.geo.sup
Definitions for the GeoCOM Supervisor subsystem.
Types¶
GeoComSUP
Definitions¶
- class GeoComSUP(parent: GeoComType)[source]¶
Supervisor subsystem of the GeoCOM protocol.
This subsystem controls the continuous operation of the system, and it allows to automatically display status information.
- Parameters:
- parent: GeoComType¶
The parent protocol instance of this subsystem.
- get_poweroff_configuration() GeoComResponse[tuple[bool, AutoPower, int]][source]¶
RPC 14001,
SUP_GetConfigGets the current poweroff and timing configuration.
- Returns:
- Params:
bool: Low temperature shutdown enabled.
AutoPower: Current shutdown mechanism.
int: Idling timeout [ms].
- Return type:
See also
-
set_poweroff_configuration(lowtemp: bool, autopower: AutoPower | str =
AutoPower.SHUTDOWN, timeout: int =600000) GeoComResponse[None][source]¶ RPC 14002,
SUP_SetConfigSets the poweroff and timing configuration.
- Parameters:
- Returns:
- Error codes:
IVPARAM: Invalid timeout parameter.
- Return type:
See also
- switch_autorestart(autorestart: bool) GeoComResponse[None][source]¶
RPC 14006,
SUP_SetPowerFailAutoRestartAdded in version GeoCOM-VivaTPS.
Configure the instrument to automatically restard if power is restored after an irregular shutdown.
- Parameters:
- Returns:
- Error codes:
NA: Command not available.
- Return type:
- switch_low_temperature_control(enabled: bool) GeoComResponse[None][source]¶
RPC 14003,
SUP_SwitchLowTempControlRemoved in version GeoCOM-TPS1200.
Enables or disables the low temperature shutdown mechanism. When active, the mechanism will shut the instrument down, if the internal temperature falls below -30 degree celsius.
- Parameters:
- Return type: