Trait Point Plan Generic Device
Device Commands Description
TraitPointPlan Class
Revision: - Author: vince_soleil
1 - Init
Description: This commands re-initialise a device keeping the same network connection.
After an Init command executed on a device, it is not necessary for client to re-connect to the device.
This command first calls the device delete_device() method and then execute its init_device() method.
For C++ device server, all the memory allocated in the nit_device() method must be freed in the delete_device() method.
The language device desctructor automatically calls the delete_device() method.  
Argin: DEV_VOID
: none.  
Argout: DEV_VOID
: none.  
Command allowed for:
Tango::MOVING
Tango::STANDBY
Tango::ALARM
Tango::FAULT
Tango::EXTRACT
Tango::INIT
 
2 - State
Description: This command gets the device state (stored in its device_state data member) and returns it to the caller.  
Argin: DEV_VOID
: none.  
Argout: DEV_STATE
: State Code  
Command allowed for:
Tango::MOVING
Tango::STANDBY
Tango::ALARM
Tango::FAULT
Tango::EXTRACT
Tango::INIT
 
3 - Status
Description: This command gets the device status (stored in its device_status data member) and returns it to the caller.  
Argin: DEV_VOID
: none.  
Argout: CONST_DEV_STRING
: Status description  
Command allowed for:
Tango::MOVING
Tango::STANDBY
Tango::ALARM
Tango::FAULT
Tango::EXTRACT
Tango::INIT
 
4 - SaveAsNominal
Description: Save the current values as the nominal ones (can be restored by the GoToNominal command).
The current Zc, Xc, Sc, Roll, Pitch, Yaw values are stored like nominal values.  
Argin: DEV_VOID
:  
Argout: DEV_VOID
:  
Command allowed for:
Tango::STANDBY
Tango::ALARM
Tango::EXTRACT
 
5 - GoToNominal
Description: Go to the nominal saved values (by the SaveAsNominal command).
The nominal values are stored in NominalZc, nominal Xc, nominalSc,
nominal Pitch, nominalYaw, nominal Roll.  
Argin: DEV_VOID
:  
Argout: DEV_VOID
:  
Command allowed for:
Tango::STANDBY
Tango::ALARM
Tango::EXTRACT
 
6 - Stop
Description: Stop all the mouvments. Useful when an invalid value to avoid to go to this position.  
Argin: DEV_VOID
:  
Argout: DEV_VOID
:  
Command allowed for:
Tango::MOVING
Tango::STANDBY
Tango::ALARM
Tango::EXTRACT
 
7 - Undo
Description: Undo the last mouvement.  
Argin: DEV_VOID
:  
Argout: DEV_VOID
:  
Command allowed for:
Tango::STANDBY
Tango::ALARM
Tango::EXTRACT
 
8 - MotorsToZero
Description: This command is used to make all the motors to the Zero position  
Argin: DEV_VOID
:  
Argout: DEV_VOID
:  
Command allowed for:
Tango::STANDBY
Tango::ALARM
Tango::EXTRACT
 
9 - InitializeReferencePosition
Description: sends all motors to initial position  
Argin: DEV_VOID
:  
Argout: DEV_VOID
:  
Command allowed for:
Tango::STANDBY
Tango::ALARM
Tango::EXTRACT
 
10 - InitializeTraitPointPlan
Description: Method to allow the initialization of the traitpointplan to a reference state.