DataFitter
Device Commands Description
DataFitter Class
Revision: - Author: stephpsoleil
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::ALARM
- Tango::FAULT
- Tango::STANDBY
 
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::ALARM
- Tango::FAULT
- Tango::STANDBY
 
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::ALARM
- Tango::FAULT
- Tango::STANDBY
 
4 - StartFit
- Description: Method to start fit with entry values :
- experimentalDataX
- experimentalDataY
- experimentalDataSigma
If the fitting succeed the output result are in :
- fittedDataX
- fittedDataY
- fittedFunctionParameters
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ALARM
- Tango::STANDBY
 
5 - WriteExperimentalData
- Description: This command can be used to save in the argin string file path, the experimental data in
an ASCII file of the form
X1 Y1
X2 Y2
 
- Argin:
DEV_STRING
: The file path
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ALARM
- Tango::STANDBY
 
6 - WriteFittedData
- Description: This command can be used to save in the argin string file path, the fitted data in
an ASCII file of the form
X1 Y1
X2 Y2
 
- Argin:
DEV_STRING
: The path of the file to save
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ALARM
- Tango::STANDBY
 
ESRF - Software Engineering Group