@ASignal.ASet(sigHor=@ASignal(hndPosRb="DatHorRawPositions",hndValRb="DatHorRawSignal"), sigVer=@ASignal(hndPosRb="DatVerRawPositions",hndValRb="DatVerRawSignal"), sigDia=@ASignal(hndPosRb="DatDiaRawPositions",hndValRb="DatDiaRawSignal")) public static class WireHarp.DataRaw extends SignalSet
Structure for maintaining a WireHarp profile data
measurement. Each instance of
this data structure contains a snapshot of the beam profile provided by the
wire harp and acquired through the SCADA mechanism of .
ScadaRecord
The data structure is derived from the SignalSet
base class which does all the work.
The data from each plane is available through the attributes of type
in the WireHarp.SignalWireHarp.SignalSet base class.
The data acquisition channels are identified with
the annotation which tells the base class how to
connect the ASignalSet attributes.
WireHarp.Signal
SignalSet,
ScadaRecord| Constructor and Description |
|---|
DataRaw()
Creates a new, empty instance of
Measurement. |
DataRaw(DataAdaptor daSrc)
Creates a new instance of
DataRaw initialized with the data provided by the
given data source. |
DataRaw(WireHarp smfHarp)
Creates a new instance of
DataRaw and initializes the signal values
by acquiring data from the given device. |
| Modifier and Type | Method and Description |
|---|---|
static WireHarp.DataRaw |
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, writepublic DataRaw()
throws ScadaAnnotationException
Measurement.ScadaAnnotationException - this class is not annotated with ASignal.ASet,
or the annotation is corruptpublic DataRaw(DataAdaptor daSrc) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException
DataRaw 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 DataRaw(WireHarp smfHarp) throws ConnectionException, GetException, ScadaAnnotationException, BadStructException
DataRaw 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.DataRaw 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