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::ON
Tango::ALARM
Tango::FAULT
Tango::DISABLE
 
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::ON
Tango::ALARM
Tango::FAULT
Tango::DISABLE
 
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::ON
Tango::ALARM
Tango::FAULT
Tango::DISABLE
 
4 - RangeUP
Description: Up the range of the electrometer.
Throw :
- electrometer::ElectrometerException if the range limit is reached
- Tango::DevFailed if the command cannot be performed  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
5 - RangeDOWN
Description: Down the range of the electrometer.
Throw :
- electrometer::ElectrometerException if the range is negative
- Tango::DevFailed if the command cannot be performed  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
6 - SetZeroVFFunction (for expert only)
Description: Enable the Zero V/F MCCE2 mode.  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
7 - SetOffsetZeroV1Function (for expert only)
Description: Enable the Offset or Zero V1 MCCE2 mode.  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
8 - SetLeakageZeroV2Function (for expert only)
Description: Enable the Leakage or Zero V2 MCCE2 mode.  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
9 - SetTestFunction (for expert only)
Description: Enable theTest MCCE2 mode.  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
10 - SetMeasureFunction (for expert only)
Description: Enable the Measure MCCE2 mode.  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
11 - MCCE2_ON (for expert only)
Description: Enables the function set. Parameters cannot be set (read only mode).  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
12 - MCCE2_OFF (for expert only)
Description: Disables the function set. Parameters can be changed.  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
13 - Local (for expert only)
Description: Enable local keyboard and Key  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
Tango::FAULT
 
14 - Remote (for expert only)
Description: Disable \"MODIFY\" and the \"ON-OFF\" keys  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
Tango::FAULT
 
15 - Reset
Description: Restart the MCCE-2  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
Tango::FAULT
 
16 - ClearRegisters
Description: Clear error(s)  
Argin: DEV_VOID
: no argin  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
Tango::FAULT
 
17 - GetRange
Description: Returns the electrometer range.  
Argin: DEV_VOID
: no argin  
Argout: DEV_STRING
: The actual electrometer range  
Command allowed for:
Tango::ON
Tango::ALARM
 
18 - SetRange
Description: Apply the specified argin range, on the electrometer, if well formatted.
Else an exception is thrown.  
Argin: DEV_STRING
: The range to apply on the electrometer  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
19 - GetMode (for expert only)
Description: Returns the electrometer mode which can be one of the following values :
MEASURE, V/F Zero, OFFSET, LEAKAGE or TEST.  
Argin: DEV_VOID
: no argin  
Argout: DEV_STRING
: The electrometer mode (MEASURE, LEAKAGE ...)  
Command allowed for:
Tango::ON
Tango::ALARM
 
20 - GetPolarity (for expert only)
Description: Returns the electrometer polarity, which can be POSITIVE or NEGATIVE.  
Argin: DEV_VOID
: no argin  
Argout: DEV_STRING
: The electrometer polarity  
Command allowed for:
Tango::ON
Tango::ALARM
 
21 - SetPolarity
Description: Sets the new electrometer polarity.
NOTE :
Value must be set in UPPER case !!!  
Argin: DEV_STRING
: POSITIVE or NEGATIVE  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
22 - GetHzFilter (for expert only)
Description: Returns the Cut-off frequency in Hz  
Argin: DEV_VOID
: no argin  
Argout: DEV_SHORT
: The MCCE2 cut-off frequency in Hz  
Command allowed for:
Tango::ON
Tango::ALARM
 
23 - SetHzFilter (for expert only)
Description: The Cut-off frequency in Hz  
Argin: DEV_SHORT
: The MCCE2 cut-off frequency in Hz  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
24 - GetGain (for expert only)
Description: Returns the MCCE-2 gain  
Argin: DEV_VOID
: no argin  
Argout: DEV_SHORT
: The MCCE2 gain  
Command allowed for:
Tango::ON
Tango::ALARM
 
25 - SetGain (for expert only)
Description: Sets the new MCCE-2 gain value.  
Argin: DEV_USHORT
: The new MCCE-2 gain  
Argout: DEV_VOID
: no argout  
Command allowed for:
Tango::ON
Tango::ALARM
 
26 - GetElectrometerTypeStr
Description: This command returns the connected electrometer type as string for the specified channel.  
Argin: DEV_USHORT
: channel number  
Argout: DEV_STRING
: the electrometer type as string