Last change
on this file since 4 was
4,
checked in by zhangj, 10 years ago
|
Initial import--MML version from SOLEIL@2013
|
File size:
640 bytes
|
Line | |
---|
1 | function Mode = family2mode(varargin) |
---|
2 | %FAMILY2MODE - Returns the present family mode ('Online', 'Simulator', 'Manual', 'Special', etc) |
---|
3 | % Mode = family2mode(Family, Field) |
---|
4 | % |
---|
5 | % INPUTS |
---|
6 | % 1. Family - Family Name |
---|
7 | % Data Structure |
---|
8 | % Accelerator Object |
---|
9 | % (or a cell array of the above types) |
---|
10 | % 2. Field - Accelerator Object field name ('Monitor', 'Setpoint', etc) {Default: 'Monitor'} |
---|
11 | % |
---|
12 | % OUTPUTS |
---|
13 | % 1. Mode - Mode string corresponding to the Family and Field |
---|
14 | % |
---|
15 | % NOTES |
---|
16 | % 1. If the inputs are cell arrays, then the outputs are cell arrays |
---|
17 | % |
---|
18 | % Written by Greg Portmann |
---|
19 | |
---|
20 | |
---|
21 | Mode = getmode(varargin{:}); |
---|
Note: See
TracBrowser
for help on using the repository browser.