Package uk.ac.gda.bimorph.epics
Class CaenelsBimorph
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
uk.ac.gda.bimorph.epics.CaenelsBimorph
- All Implemented Interfaces:
Device,Configurable,Findable,gda.observable.IObservable,BimorphMirrorController
Bimorph Mirror Controller for control via Epics of Caenels Bimorph PSUs
-
Field Summary
Fields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.doubledoubledoubleintGet the number of channels controlled by this power supplydoublegetVoltage(int channel) Get the current voltage of a single channeldouble[]Get voltages of all channelsbooleanisBusy()voidvoidsetApplyTargetPvName(String applyTargetPvName) voidvoidsetChannelPrefix(String channelPrefix) voidsetGroupSuffix(String groupSuffix) voidsetMaxDelta(double maxDelta) voidsetMaxVoltage(double maxVoltage) voidsetMinVoltage(double minVoltage) voidsetOffset(int off) voidsetPutTimeout(int putTimeout) voidsetVoltage(int channel, double voltage) Set the voltage of a single voltage - channels indexed according to offsetvoidsetVoltages(double... voltages) Set the voltages of all voltagesMethods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getAttribute, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Constructor Details
-
CaenelsBimorph
public CaenelsBimorph()
-
-
Method Details
-
configure
Description copied from class:ConfigurableBaseDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classConfigurableBase- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
setBasePV
-
setOffset
public void setOffset(int off) -
getVoltage
Get the current voltage of a single channel- Specified by:
getVoltagein interfaceBimorphMirrorController- Throws:
DeviceException
-
getVoltages
Get voltages of all channels- Specified by:
getVoltagesin interfaceBimorphMirrorController- Throws:
DeviceException
-
setVoltage
Set the voltage of a single voltage - channels indexed according to offset- Specified by:
setVoltagein interfaceBimorphMirrorController- Throws:
DeviceException
-
setVoltages
Set the voltages of all voltages- Specified by:
setVoltagesin interfaceBimorphMirrorController- Throws:
DeviceException
-
getNumberOfChannels
Get the number of channels controlled by this power supply- Specified by:
getNumberOfChannelsin interfaceBimorphMirrorController- Throws:
DeviceException
-
isBusy
public boolean isBusy()- Specified by:
isBusyin interfaceBimorphMirrorController
-
refreshState
public void refreshState() -
setMaxDelta
public void setMaxDelta(double maxDelta) -
getMaxDelta
public double getMaxDelta()- Specified by:
getMaxDeltain interfaceBimorphMirrorController
-
setMaxVoltage
public void setMaxVoltage(double maxVoltage) -
getMaxVoltage
public double getMaxVoltage()- Specified by:
getMaxVoltagein interfaceBimorphMirrorController
-
setMinVoltage
public void setMinVoltage(double minVoltage) -
getMinVoltage
public double getMinVoltage()- Specified by:
getMinVoltagein interfaceBimorphMirrorController
-
setPutTimeout
public void setPutTimeout(int putTimeout) -
getGroupSuffix
-
setGroupSuffix
-
getChannelPrefix
-
setChannelPrefix
-
getApplyTargetPvName
-
setApplyTargetPvName
-