source: MML/trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idGetDServerForUndSOLEIL.m @ 17

Last change on this file since 17 was 17, checked in by zhangj, 10 years ago

To have a stable version on the server.

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1function [DServName, StandByStr] = idGetDServerForUndSOLEIL(idName)
2
3DServName = '';
4StandByStr = ''; %String to search in the return of "Status" command of DServer
5
6if strcmp(idName, 'HU80_TEMPO')
7    DServName = 'ANS-C08/EI/M-HU80.2'; %Name of Level 2 DServer
8    StandByStr = 'ANS-C08/EI/M-HU80.2_MotorsControl : STANDBY';
9elseif strcmp(idName, 'HU80_PLEIADES')
10    %DServName = 'ANS-C04/EI/M-HU80.2'; %Name of Level 2 DServer
11    %StandByStr = 'ANS-C04/EI/M-HU80.2_MotorsControl : STANDBY';
12    DServName = 'ANS-C04/EI/M-HU80.1'; %Name of Level 2 DServer
13    StandByStr = 'ANS-C04/EI/M-HU80.1_MotorsControl : STANDBY';
14elseif strcmp(idName, 'HU80_CASSIOPEE')
15    DServName = 'ANS-C15/EI/M-HU80.1'; %Name of Level 2 DServer
16    StandByStr = 'ANS-C15/EI/M-HU80.1_MotorsControl : STANDBY';
17elseif strcmp(idName, 'U20_PROXIMA1')
18    DServName = 'ANS-C10/EI/C-U20'; %Name of Level 2 DServer
19    StandByStr = 'ANS-C10/EI/C-U20_MOTORSCONTROL:       STANDBY';
20elseif strcmp(idName, 'U20_SWING')
21    DServName = 'ANS-C11/EI/C-U20'; %Name of Level 2 DServer
22    StandByStr = 'ANS-C11/EI/C-U20_MOTORSCONTROL:       STANDBY';
23elseif strcmp(idName, 'U20_CRISTAL')
24    DServName = 'ANS-C06/EI/C-U20'; %Name of Level 2 DServer
25    StandByStr = 'ANS-C06/EI/C-U20_MOTORSCONTROL:       STANDBY';
26elseif strcmp(idName, 'HU640_DESIRS')
27    DServName = 'ANS-C05/EI/L-HU640'; %Name of Level 2 DServer
28    %StandByStr = '- ANS-C05/EI/L-HU640_PS1:    ON\n- ANS-C05/EI/L-HU640_PS2:   ON\n- ANS-C05/EI/L-HU640_PS3:   ON';
29    StandByStr = '- ANS-C05/EI/L-HU640_PS1:     ON'; %to correct later!!!
30end
31
Note: See TracBrowser for help on using the repository browser.