Package gda.device.epicsdevice
Interface IFindableEpicsDevice
- All Superinterfaces:
Configurable,IEpicsDevice
- All Known Implementing Classes:
DummyXmapEpicsDevice,FindableEpicsDevice
Extend IEpicsDevice to add the additional functions in FindableEpicsDevice
-
Field Summary
Fields inherited from interface gda.device.epicsdevice.IEpicsDevice
defPutTimeOutInSec -
Method Summary
Modifier and TypeMethodDescriptiongetRecordPV(String mcaName) Get the PV associated with a given elementgetValue(ReturnType returnType, String record, String field) Get the value of an Epics record, specifying the return type requiredgetValueAsString(String record, String field) Get the value of an Epics record as a stringvoidSet the value of an Epics record, specifying the typevoidSet the value of an Epics record, using a default timeout.voidsetValueNoWait(String record, String field, Object val) Set the value of an Epics record, without waiting for the put to completeMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.epicsdevice.IEpicsDevice
closeUnUsedChannels, createEpicsChannel, createEpicsChannel, dispose
-
Method Details
-
setValue
void setValue(Object type, String record, String field, Object val, double putTimeout) throws DeviceException Set the value of an Epics record, specifying the type- Parameters:
type- Type of the value: note that null may be the only valid value in some implementationsrecord- Epics record to setfield- Field within the record (can be empty string)val- Value to setputTimeout- Timeout on the call in seconds- Throws:
DeviceException
-
setValue
Set the value of an Epics record, using a default timeout.- Parameters:
record- Epics record to setfield- Field within the record (can be empty string)val- Value to set- Throws:
DeviceException
-
setValueNoWait
Set the value of an Epics record, without waiting for the put to complete- Parameters:
record- Epics record to setfield- Field within the record (can be empty string)val- Value to set- Throws:
DeviceException
-
getValue
Get the value of an Epics record, specifying the return type required- Parameters:
returnType- One of the permitted values of ReturnTyperecord- Epics record to getfield- Field within the record (can be empty string)- Returns:
- Value of the Epics record
- Throws:
DeviceException
-
getValueAsString
Get the value of an Epics record as a string- Parameters:
record- Epics record to getfield- Field within the record (can be empty string)- Returns:
- Value of the Epics record as a string
- Throws:
DeviceException
-
getRecordPV
Get the PV associated with a given element- Parameters:
mcaName- Name of the element- Returns:
- Corresponding PV
-