ska_tmc_centralnode.central_node_mid module

Central Node is a coordinator of the complete M&C system. Central Node implements the standard set of state and mode attributes defined by the SKA Control Model.

class ska_tmc_centralnode.central_node_mid.MidTmcCentralNode(*args, **kwargs)

Bases: AbstractCentralNode

Central Node is a coordinator of the complete Telescope system

InitCommand = None
create_component_manager()

Creates and configures the Component Manager for this device. :return: The configured Component Manager instance. :rtype: CNComponentManagerMid

dishvcccommandstatus_cb(dish_vcc_command_status)

Update dish_vcc_command_status callbacks

Parameters:

dish_vcc_command_status (DishConfigStatus) – Dish VCC command status

Return type:

None

dishvccvalidation_callback(dishvccvalidationstatus)

Update DishVccValidationStatus callbacks

Parameters:

dishvccvalidationstatus – Dish VCC Validation status

Return type:

None

invoke_load_dish_cfg_command_callback()

This callback is called when dishVccValidationResult is Unknown and Central Node needs to load dish cfg on csp

invoke_set_gpm_command_callback()

This callback is called when dishVccValidationResult is Unknown and Central Node needs to load dish cfg on csp

is_LoadDishCfg_allowed(request_type=ska_tango_base.long_running_commands.LRCReqType.ENQUEUE_REQ)

Checks whether LoadDishCfg command is allowed to be run in current device state.

Return type:

boolean

is_SetGlobalPointingModel_allowed(request_type=ska_tango_base.long_running_commands.LRCReqType.ENQUEUE_REQ)

Checks whether setGlobalPointingModel command is allowed to be run in current device state.

Return type:

boolean

is_SetStowMode_allowed(request_type=ska_tango_base.long_running_commands.LRCReqType.ENQUEUE_REQ)

Checks whether setStowMode command is allowed to be run in current device state.

Return type:

boolean

read_DishVccCommandStatus()

Return the DishVccCommandStatus attribute.

read_DishVccValidationStatus()

Return the DishVccValidationStatus

read_GlobalPointingModelStatus()

Return the GlobalPointingModelStatus attribute.

read_imaging()

Read Attribute for imaging

read_isDishVccConfigSet()

Return the isDishVccConfigSet attribute.

read_pss()

Read attribute for pss

read_pst()

Read attribute value of pst

read_vlbi()

Read attribute value of vlbi

update_dishvccconfig_callback(isdishvccconfigset)

Update isDishVccConfigSet callbacks

update_imaging_callback(imaging)

Callback for Update imaging

ska_tmc_centralnode.central_node_mid.main(args=None, **kwargs)

Runs the CentralNode. :type args: :param args: Arguments internal to TANGO

Parameters:

kwargs – Arguments internal to TANGO

Returns:

CentralNode TANGO object.