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:
886 bytes
|
Line | |
---|
1 | function getall |
---|
2 | %GETALL - Creates proxy for all magnet (typically used once at initialization) |
---|
3 | % |
---|
4 | |
---|
5 | % |
---|
6 | % Written by Laurent S. Nadolski, April 2004 |
---|
7 | % |
---|
8 | % TODO |
---|
9 | % Where are stored the Proxies ? see with handles (location for storing w/ EPICS) |
---|
10 | |
---|
11 | %getam(cellstr(liste(1:end-4,:))) |
---|
12 | |
---|
13 | liste = cellstr(getfamilylist); |
---|
14 | |
---|
15 | %% BPM |
---|
16 | figure |
---|
17 | subplot(2,1,1) |
---|
18 | plot(getam(liste{1})); |
---|
19 | title('BPM') |
---|
20 | subplot(2,1,2) |
---|
21 | plot(getam(liste{2})); |
---|
22 | |
---|
23 | pause(0.2) |
---|
24 | %% CORRECTOR |
---|
25 | figure |
---|
26 | subplot(2,1,1) |
---|
27 | bar(getam(liste{3})); |
---|
28 | title('Correctors') |
---|
29 | subplot(2,1,2) |
---|
30 | bar(getam(liste{4})); |
---|
31 | pause(0.2) |
---|
32 | |
---|
33 | %% FAST CORRECTOR |
---|
34 | figure |
---|
35 | subplot(2,1,1) |
---|
36 | bar(getam(liste{5})); |
---|
37 | title('Fast correctors') |
---|
38 | subplot(2,1,2) |
---|
39 | bar(getam(liste{6})); |
---|
40 | pause(0.2) |
---|
41 | |
---|
42 | |
---|
43 | figure |
---|
44 | for k = 9:18 |
---|
45 | subplot(5,2,k-8) |
---|
46 | bar(getam(liste{k})) |
---|
47 | end |
---|
48 | suptitle('QUAD') |
---|
49 | pause(0.2) |
---|
50 | |
---|
51 | figure |
---|
52 | for k = 19:28 |
---|
53 | subplot(5,2,k-18) |
---|
54 | bar(getam(liste{k})) |
---|
55 | end |
---|
56 | suptitle('SEXTU') |
---|
57 | pause(0.2) |
---|
Note: See
TracBrowser
for help on using the repository browser.