SPFRX Component Manager

Specialization for SPFRx functionality.

class MonitorPing(logger, interval, stop_event, device_fqdn)[source]

A thread that executes SPFRx’s MonitorPing command at a specified interval.

__init__(logger, interval, stop_event, device_fqdn)[source]

Initialize the MonitorPing thread.

Parameters:
  • logger (Logger) – Logger to use for logging.

  • interval (float) – Time interval in seconds between function calls.

  • stop_event (Event) – Event to signal when the thread should stop.

  • device_fqdn (str) – FQDN of the SPFRx device.

run()[source]

Execute the function at regular intervals until the stop event is set.

Return type:

None

class SPFRxComponentManager(tango_device_fqdn, logger, state_update_lock, *args, communication_state_callback=None, component_state_callback=None, **kwargs)[source]

Specialization for SPFRx functionality.

__init__(tango_device_fqdn, logger, state_update_lock, *args, communication_state_callback=None, component_state_callback=None, **kwargs)[source]
start_communicating()[source]

Start communication and initiate the periodic ping.

Return type:

None

stop_communicating()[source]

Stop communication and stop the periodic ping.

Return type:

None