TANGO Device Server for testing generic clients
Device Commands Description
TangoTest Class
Revision: - Author: nleclercq
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::RUNNING
- Tango::FAULT
 
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::RUNNING
- Tango::FAULT
 
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::RUNNING
- Tango::FAULT
 
4 - DevVoid
- Description: A DevVoid comand example
 
- Argin:
DEV_VOID
: N/A
 
- Argout:
DEV_VOID
: N/A
 
- Command allowed for:
 
5 - DevBoolean
- Description: A DevBoolean comand example
 
- Argin:
DEV_BOOLEAN
: Any boolean value
 
- Argout:
DEV_BOOLEAN
: Echo of the argin value
 
- Command allowed for:
- Tango::RUNNING
- Tango::FAULT
 
6 - DevShort
- Description: A DevShort command example
 
- Argin:
DEV_SHORT
: Any DevShort value
 
- Argout:
DEV_SHORT
: Echo of the argin value
 
- Command allowed for:
- Tango::RUNNING
- Tango::FAULT
 
7 - DevUShort
- Description: A DevUShort command example
 
- Argin:
DEV_USHORT
: Any DevUShort value
 
- Argout:
DEV_USHORT
: Echo of the argin value
 
- Command allowed for:
- Tango::RUNNING
- Tango::FAULT
 
8 - DevLong
- Description: A DevLong command example
 
- Argin:
DEV_LONG
: Any DevLong value
 
- Argout:
DEV_LONG
: Echo of the argin value
 
- Command allowed for:
- Tango::RUNNING
- Tango::FAULT
 
9 - DevULong
- Description: A DevULong command example
 
- Argin:
DEV_ULONG
: Any DevULong
 
- Argout:
DEV_ULONG
: Echo of the argin value
 
- Command allowed for:
- Tango::RUNNING
- Tango::FAULT
 
10 - DevFloat
- Description: A DevFloat command example
 
- Argin:
DEV_FLOAT
: Any DevFloat value
 
- Argout:
DEV_FLOAT
: Echo of the argin value
 
- Command allowed for:
- Tango::RUNNING
- Tango::FAULT
 
11 - DevDouble
- Description: A DevDouble command example
 
- Argin:
DEV_DOUBLE
: Any DevDouble value
 
- Argout:
DEV_DOUBLE
: Echo of the argin value
 
- Command allowed for:
- Tango::RUNNING
- Tango::FAULT
 
12 - DevString
- Description: none
 
- Argin:
DEV_STRING
: -
 
- Argout:
DEV_STRING
: -
 
- Command allowed for:
 
13 - DevVarCharArray
- Description: none
 
- Argin:
DEVVAR_CHARARRAY
: -
 
- Argout:
DEVVAR_CHARARRAY
: -
 
- Command allowed for:
 
14 - DevVarShortArray
- Description: none
 
- Argin:
DEVVAR_SHORTARRAY
: -
 
- Argout:
DEVVAR_SHORTARRAY
: -
 
- Command allowed for:
 
15 - DevVarUShortArray
- Description: none
 
- Argin:
DEVVAR_USHORTARRAY
: -
 
- Argout:
DEVVAR_USHORTARRAY
: -
 
- Command allowed for:
 
16 - DevVarLongArray
- Description: none
 
- Argin:
DEVVAR_LONGARRAY
: -
 
- Argout:
DEVVAR_LONGARRAY
: -
 
- Command allowed for:
 
17 - DevVarULongArray
- Description: none
 
- Argin:
DEVVAR_ULONGARRAY
: -
 
- Argout:
DEVVAR_ULONGARRAY
: -
 
- Command allowed for:
 
18 - DevVarFloatArray
- Description: none
 
- Argin:
DEVVAR_FLOATARRAY
: -
 
- Argout:
DEVVAR_FLOATARRAY
: -
 
- Command allowed for:
 
19 - DevVarDoubleArray
- Description: none
 
- Argin:
DEVVAR_DOUBLEARRAY
: -
 
- Argout:
DEVVAR_DOUBLEARRAY
: -
 
- Command allowed for:
 
20 - DevVarStringArray
- Description: none
 
- Argin:
DEVVAR_STRINGARRAY
: -
 
- Argout:
DEVVAR_STRINGARRAY
: -
 
- Command allowed for:
 
21 - DevVarLongStringArray
- Description: none
 
- Argin:
DEVVAR_LONGSTRINGARRAY
: -
 
- Argout:
DEVVAR_LONGSTRINGARRAY
: -
 
- Command allowed for:
 
22 - DevVarDoubleStringArray
- Description: none
 
- Argin:
DEVVAR_DOUBLESTRINGARRAY
: -
 
- Argout:
DEVVAR_DOUBLESTRINGARRAY
: -
 
- Command allowed for:
 
23 - SwitchStates
- Description: This command changes the device state from RUNNING to FAULT or from FAULT to RUNNING
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::RUNNING
- Tango::FAULT
 
ESRF - Software Engineering Group