function [AM, tout, DataTime, ErrorFlag] = getabcd(varargin) %getabcd - Returns the horizontal orbit % [AM, tout, DataTime] = getabcd(DeviceList, t, FreshDataFlag, TimeOutPeriod) % or % [AM, tout, DataTime] = getabcd(DataStructure, t, FreshDataFlag, TimeOutPeriod) % % INPUTS % 1. DeviceList or DataStructure (see help getpv) % 2. t (see help getpv) % 3. FreshDataFlag (see help getpv) % 4. TimeOutPeriod (see help getpv) % 5. 'Struct' will return a data structure % 'Numeric' will return a vector output {default} % 6. 'Archive' will save a BPM data structure to \\BPM\ % with filename BPMy