source: MML/trunk/machine/SOLEIL/StorageRing/getall.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 11 years ago

Initial import--MML version from SOLEIL@2013

File size: 886 bytes
Line 
1function 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
13liste = cellstr(getfamilylist);
14
15%% BPM
16figure
17subplot(2,1,1)
18plot(getam(liste{1}));
19title('BPM')
20subplot(2,1,2)
21plot(getam(liste{2}));
22
23pause(0.2)
24%% CORRECTOR
25figure
26subplot(2,1,1)
27bar(getam(liste{3}));
28title('Correctors')
29subplot(2,1,2)
30bar(getam(liste{4}));
31pause(0.2)
32
33%% FAST CORRECTOR
34figure
35subplot(2,1,1)
36bar(getam(liste{5}));
37title('Fast correctors')
38subplot(2,1,2)
39bar(getam(liste{6}));
40pause(0.2)
41
42
43figure
44for k = 9:18
45    subplot(5,2,k-8)
46    bar(getam(liste{k}))
47end
48suptitle('QUAD')
49pause(0.2)
50
51figure
52for k = 19:28
53    subplot(5,2,k-18)
54    bar(getam(liste{k}))
55end
56suptitle('SEXTU')
57pause(0.2)
Note: See TracBrowser for help on using the repository browser.