ska_tmc_sdpmasterleafnode package

Submodules

ska_tmc_sdpmasterleafnode._sdp_master_leaf_node module

SDP Master Leaf node acts as a SDP contact point for Master Node and also to monitor and issue commands to the SDP Master.

class ska_tmc_sdpmasterleafnode.sdp_master_leaf_node.SdpMasterLeafNode(*args: Any, **kwargs: Any)

Bases: ska_tango_base.ska_tango_base.SKABaseDevice._name

SDP Master Leaf node acts as a SDP contact point for Master Node and also to monitor and issue commands to the SDP Master.

class InitCommand(*args: Any, **kwargs: Any)

Bases: ska_tango_base.SKABaseDevice.ska_tango_base.SKABaseDevice.InitCommand._name

A class for the TMC SdpMasterLeafNode’s init_device() method.

do()

Initializes the attributes and properties of the SdpMasterLeafNode.

Returns

A tuple containing a return code and a string message indicating status. The message is for information purpose only.

rtype:

(ResultCode, str)

Off()

This command invokes Off() command on Sdp Master.

always_executed_hook()
create_component_manager()
delete_device()
init_command_objects()

Initialises the command handlers for commands supported by this device.

is_Disable_allowed()

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

Returns

True if this command is allowed to be run in current device state.

Return type

boolean

is_Off_allowed()

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

Returns

True if this command is allowed to be run in current device state.

Return type

boolean

is_On_allowed()

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

Returns

True if this command is allowed to be run in current device state.

Return type

boolean

is_Standby_allowed()

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

Returns

True if this command is allowed to be run in current device state.

Return type

boolean

read_commandExecuted()

Return the commandExecuted attribute.

read_sdpMasterDevName()

Return the sdpmasterdevname attribute.

write_sdpMasterDevName(value)

Set the sdpmasterdevname attribute.

ska_tmc_sdpmasterleafnode.sdp_master_leaf_node.main(args=None, **kwargs)

Runs the SdpMasterLeafNodeMid. :param args: Arguments internal to TANGO

Parameters

kwargs – Arguments internal to TANGO

Returns

SdpMasterLeafNodeMid TANGO object.

ska_tmc_sdpmasterleafnode.release module

Release information for Python Package

Module contents

Note: Simulator for SDP Master device is available. It enables SDP Master Leaf Node to be deployed to execute in standalone mode. To run SDP Master Leaf Node in standalone mode, set STANDALONE_MODE environment variable to “TRUE”. The SDP Master simulator device executes inside the SDP Master Leaf Node device server. As of now the device has to be manually added in tango database.