Package xal.smf.impl
Class WireScanner.DataRaw
java.lang.Object
xal.smf.impl.profile.SignalSet
xal.smf.impl.WireScanner.DataRaw
- All Implemented Interfaces:
DataListener
- Enclosing class:
- WireScanner
@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
Data structure containing the profile data available after data
acquisition (i.e., once the scan is complete).
- Since:
- Nov 13, 2009
- Author:
- Christopher K. Allen
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDataRaw()Create a new, emptyDataRawobject.DataRaw(WireScanner ws) Create a newDataRawobject and initialize with values fetched from the given device.DataRaw(DataAdaptor daptSrc) Create a newDataRawobject initialized from the given data source. -
Method Summary
Modifier and TypeMethodDescriptionstatic WireScanner.DataRawacquire(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
-
DataRaw
Create a new, emptyDataRawobject.- Throws:
ScadaAnnotationException- this class is not annotated withASignal.ASet, or the annotation is corrupt- Since:
- Feb 26, 2010
-
DataRaw
Create a newDataRawobject initialized from the given data source.- Parameters:
daptSrc- persistent data store containing data structure field values- Throws:
MissingResourceException- a data field was missing from the data sourceBadStructException- data structure fields are ill-defined/incompatible- Since:
- Mar 17, 2010
-
DataRaw
public DataRaw(WireScanner ws) throws ConnectionException, GetException, ScadaAnnotationException, BadStructException Create a newDataRawobject and initialize with values fetched from the given device.- Parameters:
ws- data acquisition device- Throws:
ScadaAnnotationException- theASignal.ASetannotations 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.DataRaw 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.ASetannotations 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
-