source: MML/trunk/mml/maxsp.m @ 4

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: 784 bytes
Line 
1function [Data, ErrorFlag] = maxsp(varargin)
2%MAXSP - Maximum value of the setpoint
3%
4%  FamilyName/DeviceList Method
5%  SPmax = maxsp(Family, DeviceList)
6%  SPmax = maxsp(DataStructure)
7%
8%  ChannelName Method
9%  SPmax = maxsp(ChannelNames)
10%
11%  CommonName Method
12%  SPmax = maxsp(Family, CommonName)
13%
14%  INPUTS
15%  1. Family - Family Name
16%              Data Structure
17%              Accelerator Object
18%  2. DeviceList - [Sector Device #] or [element #] list {default or empty list: whole family}
19%
20%  OUTPUTS
21%  1. SPmax - Maximum setpoint of the device
22%
23%  NOTES
24%  1. If Family is a cell array, then DeviceList and Field can also be a cell arrays
25%
26%  Also see minsp, getfamilydata(Family, Field, 'Range')
27%
28%  Written by Greg Portmann
29
30[Data, ErrorFlag] = maxpv(varargin{:});
Note: See TracBrowser for help on using the repository browser.