@ASignal.ASet(sigHor=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatHorTracePositions",hndValRb="DatHorTraceSignal"), sigVer=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatVerTracePositions",hndValRb="DatVerTraceSignal"), sigDia=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatDiaTracePositions",hndValRb="DatDiaTraceSignal")) public static class WireScanner.Trace extends SignalSet
Constructor and Description |
---|
Trace()
Creates a new
DataTrace object. |
Trace(DataAdaptor daptSrc)
Create a new
DataTrace object initialized
from the given data source. |
Modifier and Type | Method and Description |
---|---|
static WireScanner.Trace |
acquire(WireScanner ws)
Convenience method for retrieving a new initialized data structure
populated from the given device state.
|
void |
update(DataAdaptor adaptor)
Load the data structure fields from the given
data source.
|
void |
write(DataAdaptor adaptor)
Save the data structure field values to the given
data sink.
|
average, dataLabel, getFieldDescriptorList, getFieldDescriptors, getSignal, loadHardwareValues, setSignal, toString
public Trace() throws ScadaAnnotationException
DataTrace
object.ScadaAnnotationException
- the ASignal.ASet
annotations are incompletepublic Trace(DataAdaptor daptSrc) throws ScadaAnnotationException
DataTrace
object initialized
from the given data source.daptSrc
- persistent data store containing
data structure field valuesScadaAnnotationException
- the ASignal.ASet
annotations are incompletepublic static WireScanner.Trace 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 definitionpublic void update(DataAdaptor adaptor)
update
in interface DataListener
update
in class SignalSet
adaptor
- data sourcexal.smf.impl.WireScanner2.Data#update(xal.tools.data.DataAdaptor)
public void write(DataAdaptor adaptor)
write
in interface DataListener
write
in class SignalSet
adaptor
- data store exposing DataListener
interfacexal.smf.impl.WireScanner2.Data#write(xal.tools.data.DataAdaptor)