Dish Leaf Node¶
-
class
tmcprototype.dishleafnode.src.dishleafnode.dish_leaf_node.
DishLeafNode
(*args, **kwargs)¶ A Leaf control node for DishMaster.
Device Properties
DishMasterFQDN: FQDN of Dish Master Device Attributes
ActivityMessage: String providing information about the current activity in DishLeaf Node. DishHealthState: Forwarded attribute to provide Dishleafnode Health State DishPointingState: Forwarded attribute to provide Dishleafnode Pointing State
-
class
tmcprototype.dishleafnode.src.dishleafnode.setoperatemode_command.
SetOperateMode
(*args, **kwargs)¶ A class for DishLeafNode’s SetOperateMode() command.
Invokes SetOperateMode command on DishMaster.
-
do
()¶ Method to invoke SetOperateMode command on DishMaster.
Parameters: argin – None Returns: None Raises: DevFailed If error occurs while invoking SetOperateMode command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.setstandbyfpmode_command.
SetStandbyFPMode
(*args, **kwargs)¶ A class for DishLeafNode’s SetStandbyFPMode() command.
Invokes SetStandbyFPMode command on DishMaster (Standby-Full power) mode.
-
do
()¶ Method to Invoke SetStandbyFPMode on DishMaster.
Parameters: argin – None Returns: None Raises: DevFailed If error occurs while invoking SetStandbyFPMode command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.setstandbylpmode_command.
SetStandbyLPMode
(*args, **kwargs)¶ A class for DishLeafNode’s SetStandbyLPMode() command.
Invokes SetStandbyLPMode (i.e. Low Power State) command on DishMaster.
-
do
()¶ Method to invoke SetStandbyLPMode command on DishMaster.
Parameters: argin – None :return:None
Raises: DevFailed If error occurs while invoking SetStandbyLPMode command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.setstowmode_command.
SetStowMode
(*args, **kwargs)¶ A class for DishLeafNode’s SetStowMode() command.
-
do
()¶ Invokes SetStowMode command on DishMaster.
Parameters: argin – None Returns: None Raises: DevFailed If error occurs while invoking SetStowMode command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.configure_command.
Configure
(*args, **kwargs)¶ A class for DishLeafNode’s Configure() command.
Configures the Dish by setting pointing coordinates for a given scan. This function accepts the input json and calculate pointing parameters of Dish- Azimuth and Elevation Angle. Calculated parameters are again converted to json and fed to the dish master.
-
do
(argin)¶ Method to invoke Configure command on dish.
Parameters: argin – A String in a JSON format that includes pointing parameters of Dish- Azimuth and Elevation Angle.
Example: {“pointing”:{“target”:{“system”:”ICRS”,”name”:”Polaris Australis”,”RA”:”21:08:47.92”,”dec”:”-88:57:22.9”}}, “dish”:{“receiverBand”:”1”}}Raises: DevFailed If error occurs while invoking ConfigureBand<> command on DishMaster or if the json string contains invalid data.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.scan_command.
Scan
(*args, **kwargs)¶ A class for DishLeafNode’s Scan() command.
-
do
(argin)¶ Invokes Scan command on DishMaster.
Parameters: argin – timestamp Raises: DevFailed If error occurs while invoking Scan command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.endscan_command.
EndScan
(*args, **kwargs)¶ A class for DishLeafNode’s EndScan() command.
-
do
(argin)¶ Invokes Endscan command on DishMaster.
Parameters: argin – timestamp Raises: DevFailed If error occurs while invoking StopCapture command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.slew_command.
Slew
(*args, **kwargs)¶ A class for DishLeafNode’s SlewCommand() command.
Invokes Slew command on DishMaster to slew the dish towards the set pointing coordinates.
-
do
(argin)¶ Method to invoke Slew command on Dish Master.
Parameters: argin – list [0] = Azimuth, in degrees [1] = Elevation, in degrees Raises: DevFailed If error occurs while invoking Slew command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.startcapture_command.
StartCapture
(*args, **kwargs)¶ A class for DishLeafNode’s StartCapture() command.
-
do
(argin)¶ Invokes StartCapture command on DishMaster on the set configured band.
Parameters: argin – timestamp Raises: DevFailed If error occurs while invoking StartCapture command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.stopcapture_command.
StopCapture
(*args, **kwargs)¶ A class for DishLeafNode’s StopCapture() command.
-
do
(argin)¶ Invokes StopCapture command on DishMaster on the set configured band.
Parameters: argin – timestamp Raises: DevFailed If error occurs while invoking StopCapture command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.stoptrack_command.
StopTrack
(*args, **kwargs)¶ A class for DishLeafNode’s StopTrack() command.
-
do
()¶ Invokes StopTrack command on the DishMaster.
Parameters: argin – None Returns: None Raises: DevFailed If error occurs while invoking TrackStop command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.track_command.
Track
(*args, **kwargs)¶ A class for DishLeafNode’s Track() command.
-
do
(argin)¶ Invokes Track command on the DishMaster.
Parameters: argin – DevString The elevation limit thread allows Dish to track a source till the observation capacity i.e. elevation limit of dish.
The tracking time thread allows dish to track a source for the prespecified Track Duration (provided elevation limit is not reached).
For Track command, argin to be provided is the Ra and Dec values in the following JSON format:
{“pointing”:{“target”:{“system”:”ICRS”,”name”:”Polaris Australis”,”RA”:”21:08:47.92”,”dec”:”-88:57:22.9”}}, “dish”:{“receiverBand”:”1”}}
Raises: DevFailed If error occurs while invoking Track command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.abort_command.
Abort
(*args, **kwargs)¶ A class for DishLeafNode’s Abort command.
-
do
()¶ Invokes Abort command on the DishMaster.
Parameters: argin – None Returns: None Raises: DevFailed If error occurs while invoking TrackStop command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.restart_command.
Restart
(*args, **kwargs)¶ A class for DishLeafNode’s Restart command.
Invokes Restart command on the DishMaster.
-
do
()¶ Method to invoke Restart command on the DishMaster.
Parameters: argin – None Returns: None Raises: DevFailed If error occurs while invoking StopCapture command on DishMaster.
-
-
class
tmcprototype.dishleafnode.src.dishleafnode.obsreset_command.
ObsReset
(*args, **kwargs)¶ A class for DishLeafNode’s ObsReset command.
-
do
()¶ Invokes ObsReset command on the DishMaster.
Parameters: argin – None Returns: None Raises: DevFailed If error occurs while invoking StopCapture command on DishMaster.
-