Libera BPM Device Server
Device Commands Description
Libera 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::UNKNOWN
Tango::FAULT
Tango::ON
 
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::UNKNOWN
Tango::FAULT
Tango::ON
 
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::UNKNOWN
Tango::FAULT
Tango::ON
 
4 - DisableADC
Description: Disables the so called ADC data source  
Argin: DEV_VOID
:  
Argout: DEV_VOID
:  
Command allowed for:
Tango::ON
 
5 - DisableDD
Description: Disables the so called "data on demand" (i.e. first turns) data source  
Argin: DEV_VOID
: n/a  
Argout: DEV_VOID
: n/a  
Command allowed for:
Tango::ON
 
6 - DisableDDBufferFreezing
Description: Disables the DD buffer freezing mechanism  
Argin: DEV_VOID
: n/a  
Argout: DEV_VOID
: n/a  
Command allowed for:
Tango::ON
 
7 - DisableSA
Description: Disables the so called "slow acquisition" data source  
Argin: DEV_VOID
: n/a  
Argout: DEV_VOID
: n/a  
Command allowed for:
Tango::ON
 
8 - EnableADC
Description: Enables the so called ADC data source  
Argin: DEV_VOID
:  
Argout: DEV_VOID
:  
Command allowed for:
Tango::ON
 
9 - EnableDD
Description: Enables the so called "data on demand" (i.e. first turns) data source  
Argin: DEV_VOID
:  
Argout: DEV_VOID
:  
Command allowed for:
Tango::ON
 
10 - EnableDDBufferFreezing
Description: Enables the DD buffer freezing mechanism  
Argin: DEV_VOID
: n/a  
Argout: DEV_VOID
: n/a  
Command allowed for:
Tango::ON
 
11 - EnableSA
Description: Enables the so called "slow acquisition" data source  
Argin: DEV_VOID
:  
Argout: DEV_VOID
:  
Command allowed for:
Tango::ON
 
12 - GetParameters
Description: Retruns the current gains and offsets (i.e. the parameters used for position computation)  
Argin: DEV_VOID
: N/A  
Argout: DEVVAR_DOUBLESTRINGARRAY
: The BPM gain and offsets  
Command allowed for:
Tango::ON
 
13 - ReadFAData
Description: Statring from[offest] in FA data block, reads [size of elems] * [num of elems] bytes.  
Argin: DEVVAR_LONGARRAY
: The reading parameters: [0]:offset in FA data block, [1]:size of elems, [2]:num of elems  
Argout: DEVVAR_LONGARRAY
: The data [as an array of bytes]  
Command allowed for:
Tango::ON
 
14 - ReloadSystemProperties
Description:  
Argin: DEV_VOID
: n/a  
Argout: DEV_VOID
: n/a  
Command allowed for:
Tango::ON
 
15 - ResetInterlockNotification
Description: Resets the interlock notification flags to false  
Argin: DEV_VOID
: n/a  
Argout: DEV_VOID
: n/a  
Command allowed for:
Tango::ON
 
16 - ResetPMNotification
Description:  
Argin: DEV_VOID
: n/a  
Argout: DEV_VOID
: n/a  
Command allowed for:
Tango::ON
 
17 - SetInterlockConfiguration
Description: Change interlock configuration using the InterlockConfiguration class (or device) property.
Only modify the interlock configuration, the remaining env. parameters remain unchanged.  
Argin: DEV_VOID
: n/a  
Argout: DEV_VOID
: n/a  
Command allowed for:
Tango::ON
 
18 - SetTimeOnNextTrigger
Description: Applies both machine et system time values on next trigger  
Argin: DEV_VOID
:  
Argout: DEV_VOID
:  
Command allowed for:
Tango::ON
 
19 - UnfreezeDDBuffer
Description: Unfreezes the DD buffer  
Argin: DEV_VOID
: n/a  
Argout: DEV_VOID
: n/a  
Command allowed for:
Tango::ON
 
20 - WriteFAData
Description: Starting from [offset] in Fa data block, writes [size of elems * num of elems].
The actual data to be written starts at index [4] in the input array.  
Argin: DEVVAR_LONGARRAY
: The writting parameters: [0]:offset in FA data block, bytes[1]:size of elems, [2]:num of elems, [3, ...]: actual to data to be written