Package gda.device
Class BaseEpicsDeviceController
java.lang.Object
gda.factory.ConfigurableBase
gda.device.BaseEpicsDeviceController
- All Implemented Interfaces:
Configurable
- Direct Known Subclasses:
BaseGasRigController,DummyKeithley6487Controller,Keithley6487Controller,MbsAnalyserController,Psu722931EpicsController
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected gov.aps.jca.ChannelgetChannel(String pvSuffix) protected double[]getDoubleArray(String channelName, int numberOfElements, String fieldNameForErrorMessage) protected double[]getDoubleArray(String channelName, String fieldNameForErrorMessage) protected doublegetDoubleValue(String channelName, String fieldNameForErrorMessage) protected EpicsControllerprotected intgetIntegerValue(String channelName, String fieldNameForErrorMessage) protected StringgetStringValue(String channelName, String fieldNameForErrorMessage) protected voidinitialiseEnumChannel(String channel, List<String> list) voidsetBasePvName(String basePvName) protected voidsetDoubleValue(String channelName, double value, String fieldNameForErrorMessage) protected voidsetDoubleValueAsynchronously(String channelName, double value, String fieldNameForErrorMessage) protected voidsetIntegerValue(String channelName, int value, String fieldNameForErrorMessage) protected gov.aps.jca.MonitorsetMonitor(String channelName, gov.aps.jca.dbr.DBRType type, int mask, gov.aps.jca.event.MonitorListener listener) protected gov.aps.jca.MonitorsetMonitor(String channelName, gov.aps.jca.event.MonitorListener listener) protected voidsetStringValue(String channelName, String value, double timeout, String fieldNameForErrorMessage) protected voidsetStringValue(String channelName, String value, String fieldNameForErrorMessage) protected voidsetStringValueAsynchronously(String channelName, String value, gov.aps.jca.event.PutListener pl, String fieldNameForErrorMessage) protected voidsetStringValueAsynchronously(String channelName, String value, String fieldNameForErrorMessage) Methods inherited from class gda.factory.ConfigurableBase
configure, isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Field Details
-
logger
protected final org.slf4j.Logger logger
-
-
Constructor Details
-
BaseEpicsDeviceController
public BaseEpicsDeviceController()
-
-
Method Details
-
getBasePvName
-
setBasePvName
-
getChannel
protected gov.aps.jca.Channel getChannel(String pvSuffix) throws gov.aps.jca.TimeoutException, gov.aps.jca.CAException - Throws:
gov.aps.jca.TimeoutExceptiongov.aps.jca.CAException
-
getEpicsController
-
initialiseEnumChannel
- Throws:
Exception
-
getIntegerValue
protected int getIntegerValue(String channelName, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
setIntegerValue
protected void setIntegerValue(String channelName, int value, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
getDoubleValue
protected double getDoubleValue(String channelName, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
setDoubleValue
protected void setDoubleValue(String channelName, double value, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
setDoubleValueAsynchronously
protected void setDoubleValueAsynchronously(String channelName, double value, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
getStringValue
protected String getStringValue(String channelName, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
setStringValue
protected void setStringValue(String channelName, String value, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
setStringValue
protected void setStringValue(String channelName, String value, double timeout, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
setStringValueAsynchronously
protected void setStringValueAsynchronously(String channelName, String value, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
setStringValueAsynchronously
protected void setStringValueAsynchronously(String channelName, String value, gov.aps.jca.event.PutListener pl, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
getDoubleArray
protected double[] getDoubleArray(String channelName, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
getDoubleArray
protected double[] getDoubleArray(String channelName, int numberOfElements, String fieldNameForErrorMessage) throws DeviceException - Throws:
DeviceException
-
setMonitor
protected gov.aps.jca.Monitor setMonitor(String channelName, gov.aps.jca.event.MonitorListener listener) throws DeviceException - Throws:
DeviceException
-
setMonitor
protected gov.aps.jca.Monitor setMonitor(String channelName, gov.aps.jca.dbr.DBRType type, int mask, gov.aps.jca.event.MonitorListener listener) throws DeviceException - Throws:
DeviceException
-