TANGO Device Server for testing generic clients
Device Commands Description
TangoTest Class
Revision: - Author: taurel
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::FAULT
Tango::RUNNING
 
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::FAULT
Tango::RUNNING
 
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::FAULT
Tango::RUNNING
 
4 - 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
 
5 - 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
 
6 - 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
 
7 - DevLong
Description: A DevLong command example  
Argin: DEV_LONG
: Any DevLong value  
Argout: DEV_LONG
: Echo of the argin value  
Command allowed for:
Tango::FAULT
Tango::RUNNING
 
8 - DevLong64
Description: A DevLong command example  
Argin: DEV_LONG64
: Any DevLong64 value  
Argout: DEV_LONG64
: Echo of the argin value  
Command allowed for:
Tango::FAULT
Tango::RUNNING
 
9 - 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
 
10 - DevString
Description: none  
Argin: DEV_STRING
: -  
Argout: DEV_STRING
: -  
Command allowed for:
Tango::RUNNING
 
11 - DevULong
Description: A DevULong command example  
Argin: DEV_ULONG
: Any DevULong  
Argout: DEV_ULONG
: Echo of the argin value  
Command allowed for:
Tango::RUNNING
 
12 - DevULong64
Description: A DevULong64 command example  
Argin: DEV_ULONG64
: Any DevULong64 value  
Argout: DEV_ULONG64
: Echo of the argin value  
Command allowed for:
Tango::FAULT
Tango::RUNNING
 
13 - 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
 
14 - DevVarCharArray
Description: none  
Argin: DEVVAR_CHARARRAY
: -  
Argout: DEVVAR_CHARARRAY
: -  
Command allowed for:
Tango::RUNNING
 
15 - DevVarDoubleArray
Description: none  
Argin: DEVVAR_DOUBLEARRAY
: -  
Argout: DEVVAR_DOUBLEARRAY
: -  
Command allowed for:
Tango::RUNNING
 
16 - DevVarDoubleStringArray
Description: none  
Argin: DEVVAR_DOUBLESTRINGARRAY
: -  
Argout: DEVVAR_DOUBLESTRINGARRAY
: -  
Command allowed for:
Tango::RUNNING
 
17 - DevVarFloatArray
Description: none  
Argin: DEVVAR_FLOATARRAY
: -  
Argout: DEVVAR_FLOATARRAY
: -  
Command allowed for:
Tango::RUNNING
 
18 - DevVarLong64Array
Description:  
Argin: DEVVAR_LONG64ARRAY
:  
Argout: DEVVAR_LONG64ARRAY
:  
Command allowed for:
Tango::RUNNING
 
19 - DevVarLongArray
Description: none  
Argin: DEVVAR_LONGARRAY
: -  
Argout: DEVVAR_LONGARRAY
: -  
Command allowed for:
Tango::RUNNING
 
20 - DevVarLongStringArray
Description: none  
Argin: DEVVAR_LONGSTRINGARRAY
: -  
Argout: DEVVAR_LONGSTRINGARRAY
: -  
Command allowed for:
Tango::RUNNING
 
21 - DevVarShortArray
Description: none  
Argin: DEVVAR_SHORTARRAY
: -  
Argout: DEVVAR_SHORTARRAY
: -  
Command allowed for:
Tango::RUNNING
 
22 - DevVarStringArray
Description: none  
Argin: DEVVAR_STRINGARRAY
: -  
Argout: DEVVAR_STRINGARRAY
: -  
Command allowed for:
Tango::RUNNING
 
23 - DevVarULong64Array
Description:  
Argin: DEVVAR_ULONG64ARRAY
:  
Argout: DEVVAR_ULONG64ARRAY
:  
Command allowed for:
Tango::RUNNING
 
24 - DevVarULongArray
Description: none  
Argin: DEVVAR_ULONGARRAY
: -  
Argout: DEVVAR_ULONGARRAY
: -  
Command allowed for:
Tango::RUNNING
 
25 - DevVarUShortArray
Description: none  
Argin: DEVVAR_USHORTARRAY
: -  
Argout: DEVVAR_USHORTARRAY
: -  
Command allowed for:
Tango::RUNNING
 
26 - DevVoid
Description: A DevVoid comand example  
Argin: DEV_VOID
: N/A  
Argout: DEV_VOID
: N/A  
Command allowed for:
Tango::RUNNING
 
27 - SwitchStates
Description: This command changes the device state from RUNNING to FAULT or from FAULT to RUNNING