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:
 
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:
 
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 descrition  
Command allowed for:
 
4 - GetInfo
Description: Returns misc informations about the database and a set of parameters characterizing the connection.  
Argin: DEV_VOID
:  
Argout: DEV_STRING
: The informations that characterize the database  
Command allowed for:
 
5 - GetHost
Description: Returns the connected database host identifier.  
Argin: DEV_VOID
:  
Argout: DEV_STRING
: The connected database host identifier  
Command allowed for:
 
6 - GetUser
Description: Gets the current user's name used for the connection  
Argin: DEV_VOID
:  
Argout: DEV_STRING
: The current user's name used for the connection  
Command allowed for:
 
7 - GetConnectionState
Description: Cheks if the connection to HDB is alive  
Argin: DEV_VOID
:  
Argout: DEV_BOOLEAN
: The connection state  
Command allowed for:
 
8 - Reset
Description:  
Argin: DEV_VOID
:  
Argout: DEV_STRING
: The user name for the connection  
Command allowed for:
 
9 - GetAttDefinitionData
Description: Returns an array containing the differents definition informations for the given attribute.  
Argin: DEV_STRING
: The attribute's name  
Argout: DEVVAR_STRINGARRAY
: Differents definition informations for the given attribute  
Command allowed for:
 
10 - GetAttId
Description: Gets for a specified attribute its ID as defined in HDB  
Argin: DEV_STRING
: The attribute's name  
Argout: DEV_SHORT
: The HDB's ID that characterize the given attribute  
Command allowed for:
 
11 - GetAttNameAll
Description: Gets whole list of the attributes registered in HDB  
Argin: DEV_VOID
:  
Argout: DEVVAR_STRINGARRAY
: The whole list of the attributes registered in HDB  
Command allowed for:
 
12 - GetAttNameFacility
Description: Gets whole list of the attributes registered in HDB and that belong to the current facility.  
Argin: DEV_VOID
:  
Argout: DEVVAR_STRINGARRAY
: The whole list of the attributes registered in HDB ,resp TDB), and that belong to the current facility.  
Command allowed for:
 
13 - GetAttNameFilterFormat
Description: Gets the list of HDB registered attributes for the given format  
Argin: DEV_SHORT
: A format [0 -> scalar - 1 -> spectrum - 2 -> image]  
Argout: DEVVAR_STRINGARRAY
: The filtered list of attributes registered in HDB. The filtering is made according to the given format [0 -> scalar - 1 -> spectrum - 2 -> image]  
Command allowed for:
 
14 - GetAttNameFilterType
Description: Gets the list of HDB registered attributes for the given type  
Argin: DEV_SHORT
: A type [2 -> Tango::DevShort | 3 -> Tango::DevLong | 5 -> Tango::DevDouble and 8 -> Tango::DevString]  
Argout: DEVVAR_STRINGARRAY
: The filtered list of attributes registered in HDB. The filtering is made according to the given type [2 -> Tango::DevShort | 3 -> Tango::DevLong | 5 -> Tango::DevDouble and 8 -> Tango::DevString]  
Command allowed for:
 
15 - GetAttCountAll
Description: Gets the total number of attributes defined in HDB.  
Argin: DEV_VOID
:  
Argout: DEV_SHORT
: The total number of attributes defined in HDB  
Command allowed for:
 
16 - GetAttCountFilterFormat
Description: Gets the total number of attributes defined in HDB with the given format.  
Argin: DEV_SHORT
: A format [0 -> scalar - 1 -> spectrum - 2 -> image]  
Argout: DEV_SHORT
: The total number of attributes defined in HDB with the given format [0 -> scalar - 1 -> spectrum - 2 -> image]  
Command allowed for:
 
17 - GetAttCountFilterType
Description: Gets the total number of attributes defined in HDB with the given type.  
Argin: DEV_SHORT
: A type [2 -> Tango::DevShort | 3 -> Tango::DevLong | 5 -> Tango::DevDouble and 8 -> Tango::DevString]  
Argout: DEV_SHORT
: The total number of attributes defined in HDB with the given type [2 -> Tango::DevShort | 3 -> Tango::DevLong | 5 -> Tango::DevDouble and 8 -> Tango::DevString]  
Command allowed for:
 
18 - GetDomains
Description: Gets all the registered domains.  
Argin: DEV_VOID
:  
Argout: DEVVAR_STRINGARRAY
: The registered domains  
Command allowed for:
 
19 - GetFamilies
Description: Gets all the registered families  
Argin: DEV_VOID
:  
Argout: DEVVAR_STRINGARRAY
: The registered families  
Command allowed for:
 
20 - GetFamiliesByDomain
Description:  
Argin: DEVVAR_STRINGARRAY
: The given domain  
Argout: DEVVAR_STRINGARRAY
: The registered families for the given domain  
Command allowed for:
 
21 - GetMembers
Description: Gets all the registered members  
Argin: DEV_VOID
:  
Argout: DEVVAR_STRINGARRAY
: The registered members  
Command allowed for:
 
22 - GetMembersByDomainFamily
Description: Gets all the registered members for the given domain and family  
Argin: DEVVAR_STRINGARRAY
: The given domain and family  
Argout: DEVVAR_STRINGARRAY
: The registered members for the given domain and family  
Command allowed for:
 
23 - GetAttPropertiesData
Description: Gets the differents properties informations for the given attribute  
Argin: DEV_STRING
: The attribute's name  
Argout: DEVVAR_STRINGARRAY
: An array containing the differents properties for the given attribute  
Command allowed for:
 
24 - GetCurrentArchivedAtt
Description: Gets the list of attributes that are being archived in HDB  
Argin: DEV_VOID
:  
Argout: DEVVAR_STRINGARRAY
: The list of attributes that are being archived  
Command allowed for:
 
25 - IsArchived
Description: Returns "true" if the attribute of given name is currently archived, "false" otherwise.  
Argin: DEV_STRING
: The attribute's name  
Argout: DEV_BOOLEAN
: true if the given attribute is being archived  
Command allowed for:
 
26 - GetArchivingMode
Description: Gets the archiving mode used for the specified attribute.  
Argin: DEV_STRING
: The attribute's name  
Argout: DEVVAR_STRINGARRAY
: The archiving mode used for the specified attribute  
Command allowed for:
 
27 - GetAttScalarData
Description: Gets all the data archieved for an attribute.  
Argin: DEV_STRING
: The attribute's name  
Argout: DEVVAR_DOUBLESTRINGARRAY
: All the wished data  
Command allowed for:
 
28 - GetAttScalarDataBeetweenDates
Description: Retrieves data beetwen two dates, for a given scalar attribute.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS)  
Argout: DEVVAR_DOUBLESTRINGARRAY
: All the wished data  
Command allowed for:
 
29 - GetAttScalarDataSupThanBeetweenDates
Description: Retrieves data beetwen two dates (date_1 & date_2) - Data are higher than the given value x.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the lower limit, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS)  
Argout: DEVVAR_DOUBLESTRINGARRAY
: All the wished data  
Command allowed for:
 
30 - GetAttScalarDataSupAndInfThanBeetweenDates
Description: Retrieves data beetwen two dates (date_1 & date_2) - Data are higher than the given value x AND lower than the given value y.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the lower limit, the upper limit, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS)  
Argout: DEVVAR_DOUBLESTRINGARRAY
: All the wished data  
Command allowed for:
 
31 - GetAttScalarDataInfOrSupThanBeetweenDates
Description: Retrieves data beetwen two dates (date_1 & date_2) - Data are lower than the given value x OR higher than the given value y.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the lower limit, the upper limit, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS)  
Argout: DEVVAR_DOUBLESTRINGARRAY
: All the wished data  
Command allowed for:
 
32 - GetAttScalarDataInfThanBeetweenDates
Description: Retrieves data beetwen two dates (date_1 & date_2) - Data are lower than the given value x.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the upper limit, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS)  
Argout: DEVVAR_DOUBLESTRINGARRAY
: All the wished data  
Command allowed for:
 
33 - GetAttScalarDataLastN
Description: Retrieves the last n archived data, for a given scalar attribute.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name and the number of wished data  
Argout: DEVVAR_DOUBLESTRINGARRAY
: All the wished data  
Command allowed for:
 
34 - GetAttScalarDataInfThan
Description: Retrieves all the data that are lower than the given value x.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the upper limit  
Argout: DEVVAR_DOUBLESTRINGARRAY
: All the wished data  
Command allowed for:
 
35 - GetAttScalarDataSupThan
Description: Retrieves all the data that are higher than the given value x.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name and the lower limit  
Argout: DEVVAR_DOUBLESTRINGARRAY
: All the wished data  
Command allowed for:
 
36 - GetAttScalarDataInfOrSupThan
Description: Retrieves all data that are lower than the given value x OR higher than the given value y.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the lower limit and the upper limit  
Argout: DEVVAR_DOUBLESTRINGARRAY
: All the wished data  
Command allowed for:
 
37 - GetAttScalarDataSupAndInfThan
Description: Retrieves all data that are higher than the given value x AND lower than the given value y.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the lower limit and the upper limit  
Argout: DEVVAR_DOUBLESTRINGARRAY
: All the wished data  
Command allowed for:
 
38 - GetAttScalarDataMax
Description: Returns the biggest value generated by the attribute.  
Argin: DEV_STRING
: The attribute's name  
Argout: DEV_DOUBLE
: The biggest value generated by the attribute  
Command allowed for:
 
39 - GetAttScalarDataAvg
Description: Returns the average value generated by the given attribute.  
Argin: DEV_STRING
: The attribute's name  
Argout: DEV_DOUBLE
: The average of the values generated by the attribute  
Command allowed for:
 
40 - GetAttScalarDataMin
Description: Returns the smallest scalar value generated by the attribute.  
Argin: DEV_STRING
: The attribute's name  
Argout: DEV_DOUBLE
: The smallest value generated by the attribute  
Command allowed for:
 
41 - GetAttScalarDataMaxBetweenDates
Description: Returns the biggest value generated between the two given dates.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS)  
Argout: DEV_DOUBLE
: The beginning date and the ending date  
Command allowed for:
 
42 - GetAttScalarDataAvgBetweenDates
Description: Returns the average value generated by the given attribute and between the two given dates.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS)  
Argout: DEV_DOUBLE
: The beginning date and the ending date  
Command allowed for:
 
43 - GetAttScalarDataMinBetweenDates
Description: Returns the smallest scalar value generated by the given attribute and between two given dates  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS)  
Argout: DEV_DOUBLE
: The beginning date and the ending date  
Command allowed for:
 
44 - GetDomainsCount
Description: Returns the number of distinct registered domains.  
Argin: DEV_VOID
:  
Argout: DEV_SHORT
: The number of distinct registered domains.  
Command allowed for:
 
45 - GetFamiliesCount
Description: Returns the number of distinct registered families.  
Argin: DEV_VOID
:  
Argout: DEV_SHORT
: The number of distinct registered families.  
Command allowed for:
 
46 - GetFamiliesByDomainCount
Description: Returns the number of distinct registered families for a given domain.  
Argin: DEV_STRING
: A domain name  
Argout: DEV_SHORT
: The number of distinct registered families for a given domain.  
Command allowed for:
 
47 - GetMembersCount
Description: Returns the number of distinct members.  
Argin: DEV_VOID
:  
Argout: DEV_SHORT
: The number of distinct members.  
Command allowed for:
 
48 - GetMembersByDomainFamilyCount
Description: Returns the number of distinct registered members for the given domain and family.  
Argin: DEVVAR_STRINGARRAY
: A domain name, a family name  
Argout: DEV_SHORT
: The number of distinct registered members for the given domain and family.  
Command allowed for:
 
49 - GetAttributesByDomainFamilyMembersCount
Description: Returns the number of registered the attributes for a given domain, family, member.  
Argin: DEVVAR_STRINGARRAY
: A domain name, a family name, a member name.  
Argout: DEV_SHORT
: The number of registered the attributes for a given domain, family, member.  
Command allowed for:
 
50 - GetAttScalarDataCount
Description: Returns the number of the data archieved for an attribute.  
Argin: DEV_STRING
: An attribute name.  
Argout: DEV_SHORT
: The number of the data archieved for an attribute.  
Command allowed for:
 
51 - GetAttScalarDataBetweenDatesCount
Description: Returns the number of data beetwen two dates and, for a given scalar attribute.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the beginning ,DD-MM-YYYY HH24:MI:SS) date and the ending date ,DD-MM-YYYY HH24:MI:SS).  
Argout: DEV_SHORT
: The number of data beetwen two dates and, for a given scalar attribute.  
Description: Returns the number of data beetwen two dates (date_1 & date_2).
Data are lower than the given value x OR higher than the given value y.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the lower limit, the upper limit, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS).  
Argout: DEV_SHORT
: The number of scalar data lower than the given value x OR higher than the given value y, beetwen two dates and for the specified attribute.  
Command allowed for:
 
53 - GetAttScalarDataSupThanBetweenDatesCount
Description: Returns the number of data higher than the given value y, and beetwen two dates (date_1 & date_2).  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the lower limit, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS).  
Argout: DEV_SHORT
: The number of data higher than the given value y, and beetwen two dates ,date_1 & date_2).  
Description: Returns the number of data higher than the given value x, (AND) lower than the given value y, and beetwen two dates (date_1 & date_2).  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the lower limit, the upper limit, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS).  
Argout: DEV_SHORT
: The number of data higher than the given value x, ,AND) lower than the given value y, and beetwen two dates ,date_1 & date_2).  
Command allowed for:
 
55 - GetAttScalarDataInfThanBetweenDatesCount
Description: Returns the number data lower than the given value x, and beetwen two dates (date_1 & date_2).  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the lower limit, the upper limit, the beginning date ,DD-MM-YYYY HH24:MI:SS) and the ending date ,DD-MM-YYYY HH24:MI:SS).  
Argout: DEV_SHORT
: The number data lower than the given value x, and beetwen two dates ,date_1 & date_2).  
Command allowed for:
 
56 - GetAttScalarDataInfThanCount
Description: Returns the number of data lower than the given value.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name and the upper limit.  
Argout: DEV_SHORT
: The number of scalar data lower than the given value and for the specified attribute.  
Command allowed for:
 
57 - GetAttScalarDataSupThanCount
Description: Returns the number of data higher than the given value.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name and the lower limit.  
Argout: DEV_SHORT
: The number of data higher than the given value.  
Command allowed for:
 
58 - GetAttScalarDataInfOrSupThanCount
Description: Returns the number of data lower than the given value x OR higher than the given value y.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the lower limit and the upper limit  
Argout: DEV_SHORT
: The number of scalar data lower than the given value x OR higher than the given value y.  
Command allowed for:
 
59 - GetAttScalarDataSupAndInfThanCount
Description: Returns data that are highter than the given value x AND lower than the given value y.  
Argin: DEVVAR_STRINGARRAY
: The attribute's name, the lower limit and the upper limit  
Argout: DEV_SHORT
: The data that are highter than the given value x AND lower than the given value y.