GETDCCT - returns the beam current [RMN, tout, DataTime, ErrorFlag] = getdcct(t, InputFlags) OUTPUTS 1. RMN = storage ring electron beam current INPUTS 1. 'Struct' will return a data structure 'Numeric' will return numeric outputs {Defaul} 2. 'Physics' - Use physics units (optional override of units) 'Hardware' - Use hardware units (optional override of units) 3. 'Online' - Get data online (optional override of the mode) 'Model' - Get data from the model (optional override of the mode) 'Manual' - Get data manually (optional override of the mode) NOTE 1. This function is just an alias for getam('RMN', ...)
0001 function [RMN, tout, DataTime, ErrorFlag] = getrmn(varargin) 0002 %GETDCCT - returns the beam current 0003 % [RMN, tout, DataTime, ErrorFlag] = getdcct(t, InputFlags) 0004 % 0005 % OUTPUTS 0006 % 1. RMN = storage ring electron beam current 0007 % 0008 % INPUTS 0009 % 1. 'Struct' will return a data structure 0010 % 'Numeric' will return numeric outputs {Defaul} 0011 % 2. 'Physics' - Use physics units (optional override of units) 0012 % 'Hardware' - Use hardware units (optional override of units) 0013 % 3. 'Online' - Get data online (optional override of the mode) 0014 % 'Model' - Get data from the model (optional override of the mode) 0015 % 'Manual' - Get data manually (optional override of the mode) 0016 % 0017 % NOTE 0018 % 1. This function is just an alias for getam('RMN', ...) 0019 0020 % 0021 % Written by Laurent S. Nadolski 0022 0023 0024 if nargout > 2 0025 [RMN, tout, DataTime, ErrorFlag] = getpv('RMN', 'Monitor', [], varargin{:}); 0026 else 0027 [RMN, tout] = getpv('RMN', 'Monitor', [], varargin{:}); 0028 end 0029