@ASignal.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
Constructor and Description |
---|
DataFit()
Creates a new, empty
DataFit object. |
DataFit(DataAdaptor daptSrc)
Create a new
DataFit object initialized
from the given data source. |
DataFit(WireScanner ws)
Create a new
DataFit object initialize
with values fetched from the given device. |
Modifier and Type | Method and Description |
---|---|
static WireScanner.DataFit |
acquire(WireScanner ws)
Convenience method for retrieving a new initialized data structure
populated from the given device state.
|
average, dataLabel, getFieldDescriptorList, getFieldDescriptors, getSignal, loadHardwareValues, setSignal, toString, update, write
public DataFit() throws ScadaAnnotationException
DataFit
object.ScadaAnnotationException
- this class is not annotated with ASignal.ASet
,
or the annotation is corruptpublic DataFit(DataAdaptor daptSrc) throws ScadaAnnotationException
DataFit
object initialized
from the given data source.daptSrc
- persistent data store containing
data structure field valuesScadaAnnotationException
- this class is not annotated with ASignal.ASet
,
or the annotation is corruptpublic DataFit(WireScanner ws) throws ConnectionException, GetException, ScadaAnnotationException, BadStructException
DataFit
object initialize
with values fetched from the given device.ws
- data acquisition deviceScadaAnnotationException
- the ASignal.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 definitionpublic static WireScanner.DataFit acquire(WireScanner ws) throws ConnectionException, GetException, ScadaAnnotationException, BadStructException
ws
- data acquisition deviceScadaAnnotationException
- the ASignal.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