ifw-sup
3.0.0-pre3
|
Class managing the interface with System Supervisor. More...
Public Member Functions | |
def | __init__ (self, uri, timeout=60000) |
def | setaccess (self, subsystem, flag) |
Open a shutter device. More... | |
def | get_config (self) |
Execute GetConfig Command synchronously. More... | |
def | set_config (self, config) |
Execute GetConfig Command synchronously. More... | |
def | set_obmode (self, mode) |
Set the observation mode. More... | |
def | set_opmode (self, mode) |
Set the operational mode. More... | |
def | subsystem_status (self, subsystem) |
Execute get_subsystem_status Command. More... | |
def | subsystem_init (self, subsystem) |
Execute subsystem_init Command. More... | |
def | subsystem_enable (self, subsystem) |
Execute subsystem_enable Command. More... | |
def | subsystem_disable (self, subsystem) |
Execute subsystem_disable Command. More... | |
def | subsystem_reset (self, subsystem) |
Execute subsystem_reset Command. More... | |
def | subsystem_names (self) |
Execute get_subsystem_names Command. More... | |
def | is_operational (self) |
Returns True if the Supervisor is operational. More... | |
Class managing the interface with System Supervisor.
This class uses a synchronous MAL client because async has some problems. Timeout does not work properly. It is not really asynchronous.
def clib.syssup_commands.SysSupCommands.__init__ | ( | self, | |
uri, | |||
timeout = 60000 |
|||
) |
def clib.syssup_commands.SysSupCommands.get_config | ( | self | ) |
Execute GetConfig Command synchronously.
def clib.syssup_commands.SysSupCommands.is_operational | ( | self | ) |
Returns True if the Supervisor is operational.
def clib.syssup_commands.SysSupCommands.set_config | ( | self, | |
config | |||
) |
Execute GetConfig Command synchronously.
def clib.syssup_commands.SysSupCommands.set_obmode | ( | self, | |
mode | |||
) |
Set the observation mode.
mode | Observation mode. Mode shall be a valid observation mode. |
def clib.syssup_commands.SysSupCommands.set_opmode | ( | self, | |
mode | |||
) |
Set the operational mode.
mode | Operational mode. Mode shall be a valid operational mode. |
def clib.syssup_commands.SysSupCommands.setaccess | ( | self, | |
subsystem, | |||
flag | |||
) |
Open a shutter device.
def clib.syssup_commands.SysSupCommands.subsystem_disable | ( | self, | |
subsystem | |||
) |
Execute subsystem_disable Command.
def clib.syssup_commands.SysSupCommands.subsystem_enable | ( | self, | |
subsystem | |||
) |
Execute subsystem_enable Command.
def clib.syssup_commands.SysSupCommands.subsystem_init | ( | self, | |
subsystem | |||
) |
Execute subsystem_init Command.
def clib.syssup_commands.SysSupCommands.subsystem_names | ( | self | ) |
Execute get_subsystem_names Command.
def clib.syssup_commands.SysSupCommands.subsystem_reset | ( | self, | |
subsystem | |||
) |
Execute subsystem_reset Command.
def clib.syssup_commands.SysSupCommands.subsystem_status | ( | self, | |
subsystem | |||
) |
Execute get_subsystem_status Command.