Package gda.px.camera
Class MXTrigger
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.px.camera.MXTrigger
- All Implemented Interfaces:
Device,InitializationListener,Configurable,Findable,gda.observable.IObservable,Trigger
Class to control the trigger system. There are the start/stop PVs, as well as four other PVs that
show the status within EPICS and the position compare system.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EpicsChannelManagerEPICS Channel Managerprotected EpicsControllerEPICS controllerprotected gov.aps.jca.Channelprotected gov.aps.jca.Channelprotected gov.aps.jca.Channelprotected gov.aps.jca.Channelprotected gov.aps.jca.Channelprotected gov.aps.jca.ChannelFields 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.doubledoubleInteger[]voidCalled when all critical channels are connected.voidsetClosePosition(double closePosition) voidsetConvStartPv(String convStartPv) voidsetConvStopPv(String convStopPv) voidsetOpenPosition(double openPosition) voidsetShutterBasePvName(String shutterBasePvName) voidsetStartPv(String startPv) voidsetStartRbvPv(String startRbvPv) voidvoidsetStopRbvPv(String stopRbvPv) voidMethods 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
isConfigured, reconfigure
-
Field Details
-
controller
EPICS controller -
channelManager
EPICS Channel Manager -
omegaStart
protected gov.aps.jca.Channel omegaStart -
omegaStop
protected gov.aps.jca.Channel omegaStop -
omegaStartReadBack
protected gov.aps.jca.Channel omegaStartReadBack -
omegaStopReadBack
protected gov.aps.jca.Channel omegaStopReadBack -
omegaConvPosLow
protected gov.aps.jca.Channel omegaConvPosLow -
omegaConvPosHigh
protected gov.aps.jca.Channel omegaConvPosHigh
-
-
Constructor Details
-
MXTrigger
public MXTrigger()
-
-
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
-
getTriggerReadbackPositions
- Specified by:
getTriggerReadbackPositionsin interfaceTrigger- Returns:
- Integer[] of the omegaStartReadBack PV and omegaStopReadBack PV
- Throws:
DeviceException
-
setupTriggerPointsForMove
- Specified by:
setupTriggerPointsForMovein interfaceTrigger- Throws:
DeviceException
-
getShutterBasePvName
-
setShutterBasePvName
-
getStartRbvPv
-
setStartRbvPv
-
getStopRbvPv
-
setStopRbvPv
-
getConvStartPv
-
setConvStartPv
-
getConvStopPv
-
setConvStopPv
-
getStartPv
-
setStartPv
-
getStopPv
-
setStopPv
-
getOpenPosition
public double getOpenPosition()- Specified by:
getOpenPositionin interfaceTrigger
-
setOpenPosition
public void setOpenPosition(double openPosition) - Specified by:
setOpenPositionin interfaceTrigger
-
getClosePosition
public double getClosePosition()- Specified by:
getClosePositionin interfaceTrigger
-
setClosePosition
public void setClosePosition(double closePosition) - Specified by:
setClosePositionin interfaceTrigger
-
initializationCompleted
public void initializationCompleted()Description copied from interface:InitializationListenerCalled when all critical channels are connected.- Specified by:
initializationCompletedin interfaceInitializationListener
-