@ASignal.ASet(sigHor=@ASignal(hndPosRb="DatHorFitPositions",hndValRb="DatHorFitSignal"), sigVer=@ASignal(hndPosRb="DatVerFitPositions",hndValRb="DatVerFitSignal"), sigDia=@ASignal(hndPosRb="DatDiaFitPositions",hndValRb="DatDiaFitSignal")) public static class WireHarp.DataFit extends SignalSet
Structure for maintaining a WireHarp
profile data
fits. The instances of this data structure contains the fits to the
current profile data as computed by the harp device controller. The fit
data is acquired in the same manner as the actual measurement data, specifically
through the SCADA mechanism of
.
ScadaRecord
The data structure is derived from the SignalSet
base class which does all the work.
The fit data for each plane is available through the attributes of type
in the Signal
WireHarp.SignalSet
base class.
The PV channels for the fit data are identified with
the annotation
which tells the base class how to
connect the ASignalSet
attributes.
Signal
Constructor and Description |
---|
DataFit()
Creates a new, empty instance of
DataFit . |
DataFit(DataAdaptor daSrc)
Creates a new instance of
DataFit initialized with the data provided by the
given data source. |
DataFit(WireHarp smfHarp)
Creates a new instance of
DataFit and initializes the signal values
by acquiring data from the given device. |
Modifier and Type | Method and Description |
---|---|
static WireHarp.DataFit |
aquire(WireHarp smfHarp)
Convenience method for retrieving a new, initialized measurement set
acquired from the given device.
|
average, dataLabel, getFieldDescriptorList, getFieldDescriptors, getSignal, loadHardwareValues, setSignal, toString, update, write
public DataFit() throws ScadaAnnotationException
DataFit
.ScadaAnnotationException
- this class is not annotated with ASignal.ASet
,
or the annotation is corruptpublic DataFit(DataAdaptor daSrc) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException
DataFit
initialized with the data provided by the
given data source.daSrc
- measurement data source presenting DataAdaptor
interfacejava.lang.IllegalAccessException
- if an underlying Signal
field is inaccessible.ScadaAnnotationException
- the ADaqProfile
annotations are incompletejava.lang.IllegalArgumentException
- general field incompatibility exceptionpublic DataFit(WireHarp smfHarp) throws ScadaAnnotationException, ConnectionException, GetException, BadStructException
DataFit
and initializes the signal values
by acquiring data from the given device.smfHarp
- data acquisition deviceBadStructException
- the DAQ data structure and DAQ channels are incompatible, bad definitionScadaAnnotationException
- the ADaqProfile
annotations are incompleteConnectionException
- unable to connect to a parameter read back channelGetException
- general CA GET exception while fetch field valuepublic static WireHarp.DataFit aquire(WireHarp smfHarp) throws ConnectionException, GetException, ScadaAnnotationException, BadStructException
smfHarp
- measurement deviceConnectionException
- unable to connect data read back channelGetException
- general CA GET exception while fetch field valueScadaAnnotationException
- the ADaqProfile
annotations are incompleteBadStructException
- the DAQ data structure and DAQ channels are incompatible, bad definition