@ASignal.ASet(sigHor=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatHorRawPositions",hndValRb="DatHorRawSignal",hndNseAvgRb="DatHorNoiseAvg",hndNseVarRb="DatHorNoiseStd"), sigVer=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatVerRawPositions",hndValRb="DatVerRawSignal",hndNseAvgRb="DatVerNoiseAvg",hndNseVarRb="DatVerNoiseStd"), sigDia=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatDiaRawPositions",hndValRb="DatDiaRawSignal",hndNseAvgRb="DatDiaNoiseAvg",hndNseVarRb="DatDiaNoiseStd")) public static class WireScanner.DataRaw extends SignalSet
Constructor and Description |
---|
DataRaw()
Create a new, empty
DataRaw object. |
DataRaw(DataAdaptor daptSrc)
Create a new
DataRaw object initialized
from the given data source. |
DataRaw(WireScanner ws)
Create a new
DataRaw object and initialize
with values fetched from the given device. |
Modifier and Type | Method and Description |
---|---|
static WireScanner.DataRaw |
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 DataRaw() throws ScadaAnnotationException
DataRaw
object.ScadaAnnotationException
- this class is not annotated with ASignal.ASet
,
or the annotation is corruptpublic DataRaw(DataAdaptor daptSrc) throws java.util.MissingResourceException, BadStructException
DataRaw
object initialized
from the given data source.daptSrc
- persistent data store containing
data structure field valuesjava.util.MissingResourceException
- a data field was missing from the data sourceBadStructException
- data structure fields are ill-defined/incompatiblepublic DataRaw(WireScanner ws) throws ConnectionException, GetException, ScadaAnnotationException, BadStructException
DataRaw
object and 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.DataRaw 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