public static class WireScanner.PrcgConfig extends ParameterSet
ScadaRecord.IFieldDescriptor
Modifier and Type | Field and Description |
---|---|
double |
avgBgn
Time position to start signal averaging
|
double |
avgLng
The size (in time) of the time averaging window
|
static ScadaFieldMap |
FLD_MAP
Map of field names to SCADA field Descriptors
|
int |
sigInv
Inversion of acquired profile signal {-1,+1}
|
Constructor and Description |
---|
PrcgConfig()
Create a new, uninitialized
DaqConfig object. |
PrcgConfig(DataAdaptor daptSrc)
Create a new
PrcgConfig object initialized
from the given data source. |
PrcgConfig(ProfileDevice ws)
Create a new
DaqConfig object initialize
with values fetched from the given device. |
Modifier and Type | Method and Description |
---|---|
static WireScanner.PrcgConfig |
acquire(ProfileDevice ws)
Convenience method for retrieving a new initialized data structure
populated from the given device state.
|
dataLabel
clone, getFieldDescriptor, getFieldDescriptorMap, getFieldDescriptors, loadHardwareValues, setFieldFromPV, setHardwareValues, setPvFromField, toString, update, write
public static final ScadaFieldMap FLD_MAP
@AScada.Field(type=int.class, ctrl=true, hndRb="PrcgCfgInvertRb", hndSet="PrcgCfgInvertSet") public int sigInv
@AScada.Field(type=double.class, ctrl=true, hndRb="PrcgCfgAvgBeginRb", hndSet="PrcgCfgAvgBeginSet") public double avgBgn
@AScada.Field(type=double.class, ctrl=true, hndRb="PrcgCfgAvgLengthRb", hndSet="PrcgCfgAvgLengthSet") public double avgLng
public PrcgConfig()
DaqConfig
object.public PrcgConfig(DataAdaptor daptSrc)
PrcgConfig
object initialized
from the given data source.daptSrc
- persistent data store containing
data structure field valuespublic PrcgConfig(ProfileDevice ws) throws ConnectionException, GetException
DaqConfig
object initialize
with values fetched from the given device.ws
- data acquisition deviceConnectionException
- unable to connect to a parameter read back channelGetException
- general field initialization exceptionpublic static WireScanner.PrcgConfig acquire(ProfileDevice ws) throws ConnectionException, GetException
ws
- data acquisition deviceConnectionException
- unable to connect parameter read back channelGetException
- general field initialization exception