Package xal.smf.impl
Class WireScanner.DataFit
java.lang.Object
xal.smf.impl.profile.SignalSet
xal.smf.impl.WireScanner.DataFit
- All Implemented Interfaces:
DataListener
- Enclosing class:
- WireScanner
@ASet(sigHor=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatHorFitPositions",hndValRb="DatHorFitSignal"),
sigVer=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatVerFitPositions",hndValRb="DatVerFitSignal"),
sigDia=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatDiaFitPositions",hndValRb="DatDiaFitSignal"))
public static class WireScanner.DataFit
extends SignalSet
Data structure containing the fitted profile data available after data
acquisition (i.e., the profile fit as computed by the acquisition
software).
- Since:
- Nov 13, 2009
- Author:
- Christopher K. Allen
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDataFit()
Creates a new, emptyDataFit
object.DataFit
(WireScanner ws) Create a newDataFit
object initialize with values fetched from the given device.DataFit
(DataAdaptor daptSrc) Create a newDataFit
object initialized from the given data source. -
Method Summary
Modifier and TypeMethodDescriptionstatic WireScanner.DataFit
acquire
(WireScanner ws) Convenience method for retrieving a new initialized data structure populated from the given device state.Methods inherited from class xal.smf.impl.profile.SignalSet
average, dataLabel, getDia, getFieldDescriptorList, getFieldDescriptors, getHor, getSignal, getVer, loadHardwareValues, setSignal, toString, update, write
-
Constructor Details
-
DataFit
Creates a new, emptyDataFit
object.- Throws:
ScadaAnnotationException
- this class is not annotated withASignal.ASet
, or the annotation is corrupt- Since:
- Feb 26, 2010
-
DataFit
Create a newDataFit
object initialized from the given data source.- Parameters:
daptSrc
- persistent data store containing data structure field values- Throws:
ScadaAnnotationException
- this class is not annotated withASignal.ASet
, or the annotation is corrupt- Since:
- Mar 17, 2010
-
DataFit
public DataFit(WireScanner ws) throws ConnectionException, GetException, ScadaAnnotationException, BadStructException Create a newDataFit
object initialize with values fetched from the given device.- Parameters:
ws
- data acquisition device- Throws:
ScadaAnnotationException
- theASignal.ASet
annotations are incompleteConnectionException
- unable to connect to a parameter read back channelGetException
- general CA GET exception while fetch field valueBadStructException
- the DAQ data structure and DAQ channels are incompatible, bad definition- Since:
- Nov 14, 2009
-
-
Method Details
-
acquire
public static WireScanner.DataFit acquire(WireScanner ws) throws ConnectionException, GetException, ScadaAnnotationException, BadStructException Convenience method for retrieving a new initialized data structure populated from the given device state.- Parameters:
ws
- data acquisition device- Returns:
- New data populated structure
- Throws:
ScadaAnnotationException
- theASignal.ASet
annotations are incompleteConnectionException
- unable to connect to a parameter read back channelGetException
- general CA GET exception while fetch field valueBadStructException
- the DAQ data structure and DAQ channels are incompatible, bad definition- Since:
- Nov 14, 2009
-