function [DServName, StandByStr, CorCurAttr] = idGetUndDServer(idName)

DServName = '';
StandByStr = ''; %String to search in the return of "Status" command of DServer
CorCurAttr = {};

if strcmp(idName, 'HU80_TEMPO')
    DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C08/EI/M-HU80.2_MotorsControl : STANDBY';
    CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'HU80_PLEIADES')
    %DServName = 'ANS-C04/EI/M-HU80.2';
    %StandByStr = 'ANS-C04/EI/M-HU80.2_MotorsControl : STANDBY'; 
    DServName = 'ANS-C04/EI/M-HU80.1'; %Name of Level 2 DServer
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C04/EI/M-HU80.1_MotorsControl : STANDBY'; 
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'HU80_SEXTANTS')  % elseif strcmp(idName, 'HU80_MICROFOC')
    DServName = 'ANS-C14/EI/M-HU80.2';
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C15/EI/M-HU60.1_MotorsControl : STANDBY'; 
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'HU60_CASSIOPEE')
    DServName = 'ANS-C15/EI/M-HU60.1';
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C15/EI/M-HU60.1_MotorsControl : STANDBY'; 
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'U20_PROXIMA1')
    DServName = 'ANS-C10/EI/C-U20';
    StandByStr = 'ANS-C10/EI/C-U20_MOTORSCONTROL: 	STANDBY';
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check
elseif strcmp(idName, 'U20_SWING')
    DServName = 'ANS-C11/EI/C-U20';
    StandByStr = 'ANS-C11/EI/C-U20_MOTORSCONTROL: 	STANDBY';
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check
elseif strcmp(idName, 'U20_CRISTAL')
    DServName = 'ANS-C06/EI/C-U20';
    StandByStr = 'ANS-C06/EI/C-U20_MOTORSCONTROL: 	STANDBY';
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check    
elseif strcmp(idName, 'U20_SIXS')
    DServName = 'ANS-C14/EI/C-U20';
    StandByStr = 'ANS-C14/EI/C-U20_MOTORSCONTROL: 	STANDBY';
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check
elseif strcmp(idName, 'U20_GALAXIES')
    DServName = 'ANS-C07/EI/C-U20';
    StandByStr = 'ANS-C07/EI/C-U20_MOTORSCONTROL: 	STANDBY';
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check 
elseif strcmp(idName, 'U24_PXIIA')
    DServName = 'ANS-C11/EI/M-U24';
    StandByStr = 'ANS-C11/EI/M-U24_MOTORSCONTROL: 	STANDBY';
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check 
elseif strcmp(idName, 'WSV50_PSICHE')
    DServName = 'ANS-C03/EI/C-WSV50';
    StandByStr = 'ANS-C03/EI/C-WSV50_MOTORSCONTROL: 	STANDBY';
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check 
elseif strcmp(idName, 'HU640_DESIRS')
    DServName = 'ANS-C05/EI/L-HU640';
    %StandByStr = '- ANS-C05/EI/L-HU640_PS1: 	ON\n- ANS-C05/EI/L-HU640_PS2: 	ON\n- ANS-C05/EI/L-HU640_PS3: 	ON'; 
    StandByStr = '- ANS-C05/EI/L-HU640_PS1: 	ON'; %to correct later!!!
elseif strcmp(idName, 'HU52_DEIMOS')
    %DServName = 'ANS-C07/EI/M-HU80.1_MotorsControl'; %TEMPORARY!!!!! Name of Level 1 DServer
    DServName = 'ANS-C07/EI/M-HU52.1';
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C07/EI/M-HU52.1_MotorsControl : STANDBY'; 
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'HU44_TEMPO')
    DServName = 'ANS-C08/EI/M-HU44.1';
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C08/EI/M-HU44.1_MotorsControl : STANDBY'; 
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'HU52_LUCIA')
    DServName = 'ANS-C16/EI/M-HU52.1';
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C16/EI/M-HU52.1_MotorsControl : STANDBY'; 
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'HU44_SEXTANTS')  %elseif strcmp(idName, 'HU44_MICROFOC')
    DServName = 'ANS-C14/EI/M-HU44.1';
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C14/EI/M-HU44.1_MotorsControl : STANDBY'; 
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'HU60_ANTARES')
    DServName = 'ANS-C12/EI/M-HU60.1';
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C12/EI/M-HU60.1_MotorsControl : STANDBY'; 
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'HU36_SIRIUS')
    DServName = 'ANS-C15/EI/C-HU36';
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C15/EI/C-HU36 : STANDBY'; 
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'HU42_HERMES')
    DServName = 'ANS-C10/EI/M-HU42.1';
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';%'ANS-C10/EI/M-HU42.1 : STANDBY'; 
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'HU64_HERMES')
    DServName = 'ANS-C10/EI/M-HU64.2';
    StandByStr = 'current device state is: ON [power section enabled - ready for cmds]';
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'};
elseif strcmp(idName, 'HU256_PLEIADES')
    DServName = 'ANS-C04/EI/M-HU256.2';
elseif strcmp(idName, 'HU256_ANTARES')
    DServName = 'ANS-C12/EI/M-HU256.2';
elseif strcmp(idName, 'HU256_CASSIOPEE')
    DServName = 'ANS-C12/EI/M-HU256.2';
elseif strcmp(idName, 'U18_TOMO')
    DServName = 'ANS-C13/EI/L-U18.1';
    StandByStr = 'ANS-C13/EI/L-U18.1_MOTORSCONTROL: 	STANDBY';
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check
elseif strcmp(idName, 'U20_NANO')
    DServName = 'ANS-C13/EI/L-U20.2';
    StandByStr = 'ANS-C13/EI/L-U20.2_MOTORSCONTROL: 	STANDBY';
	CorCurAttr = {'currentCHE', 'currentCHS', 'currentCVE', 'currentCVS'}; %to check       
end

