Package xal.smf.impl
Class WireScanner.DataLiveArr
java.lang.Object
xal.smf.impl.profile.SignalSet
xal.smf.impl.WireScanner.DataLiveArr
- All Implemented Interfaces:
DataListener
- Enclosing class:
- WireScanner
@ASet(sigHor=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatHorLiveArrPositions",hndValRb="DatHorLiveArrSignal",hndNseAvgRb="DatHorNoiseAvg",hndNseVarRb="DatHorNoiseStd"),
sigVer=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatVerLiveArrPositions",hndValRb="DatVerLiveArrSignal",hndNseAvgRb="DatVerNoiseAvg",hndNseVarRb="DatVerNoiseStd"),
sigDia=@ASignal(hndCntRb="ScanCfgStepCntRb",hndPosRb="DatDiaLiveArrPositions",hndValRb="DatDiaLiveArrSignal",hndNseAvgRb="DatDiaNoiseAvg",hndNseVarRb="DatDiaNoiseStd"))
public static class WireScanner.DataLiveArr
extends SignalSet
Data structure contain the profile data available during data acquisition in a point-by-point fashion (i.e., as the scan progress).
This appears to be then entire profile available after every measurement sample. This is different than the addition point value after each sample. The connected Process Variables are different, so it is likely that this should work.
However, it is never used as of yet.
- Since:
- Nov 13, 2009
- Author:
- Christopher K. Allen
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new emptyDataLiveArr
object.Create a newDataLiveArr
object initialize with values fetched from the given device.DataLiveArr
(DataAdaptor daptSrc) Create a newDataLiveArr
object initialized from the given data source. -
Method Summary
Modifier and TypeMethodDescriptionstatic WireScanner.DataLiveArr
acquire
(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
-
DataLiveArr
Create a new emptyDataLiveArr
object.- Throws:
ScadaAnnotationException
- the channel handle annotations are not setup correctly- Since:
- Feb 16, 2010
-
DataLiveArr
Create a newDataLiveArr
object initialized from the given data source.- Parameters:
daptSrc
- persistent data store containing data structure field values- Throws:
ScadaAnnotationException
- the Data AcQ annotations are not setup correctlyMissingResourceException
- a data field was missing from the data sourceBadStructException
- data structure fields are ill-defined/incompatible- Since:
- Mar 17, 2010
-
DataLiveArr
public DataLiveArr(WireScanner ws) throws ConnectionException, GetException, ScadaAnnotationException, BadStructException Create a newDataLiveArr
object initialize with values fetched from the given device.- Parameters:
ws
- data acquisition device- Throws:
ScadaAnnotationException
- theASignal.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- Since:
- Nov 14, 2009
-
-
Method Details
-
acquire
public static WireScanner.DataLiveArr 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.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- Since:
- Nov 14, 2009
-