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:
447 bytes
|
Line | |
---|
1 | function timeout = tango_getbpmtimeout |
---|
2 | % tango_setbpmtimeout - set timeout (10s) for bpm |
---|
3 | % |
---|
4 | % |
---|
5 | % |
---|
6 | |
---|
7 | % |
---|
8 | % Written by Laurent S. Nadolski |
---|
9 | |
---|
10 | |
---|
11 | devList = family2tangodev('BPMx'); |
---|
12 | timeout = zeros(1,size(devList,1)); |
---|
13 | for k=1:length(devList), |
---|
14 | timeout(k) = tango_get_timeout(devList{k}); |
---|
15 | if tango_error == 1 |
---|
16 | tango_print_error_stack; |
---|
17 | end |
---|
18 | end |
---|
19 | |
---|
20 | if mean(timeout) ~= timeout(1) |
---|
21 | fprintf('A least one BPM is not configured as others\n'); |
---|
22 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.