Package gda.device.scannable
Class GasInjectionScannable
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.scannable.ScannableBase
gda.device.scannable.GasInjectionScannable
- All Implemented Interfaces:
Device,Scannable,Configurable,Findable,gda.observable.IObservable
-
Field Summary
Fields inherited from class gda.device.scannable.ScannableBase
__doc__, DEFAULT_INPUT_NAME, DEFAULT_OUTPUT_FORMAT, extraNames, inputNames, level, outputFormatFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, VALUE_UNAVAILABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancheckVoltageInRange(int min, int max) voidDefault 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.voidconfigurePurgeAndFill(List<String> parameters) voidflush()booleanisBusy()Check if the Scannable is moving/operating.voidvoidperformFill(int totalFillPeriod) voidrawAsynchronousMoveTo(Object position) [Consider abstract] Trigger a move/operation to an internal/hardware position and return immediately.[Consider abstract] Read the position in its internal (user) representation.voidsetBase_pressure(Scannable basePressure) voidsetControl_select(Scannable controlSelect) voidsetGas_fill_start(Scannable gasFillStart) voidsetGas_fill1_period(Scannable gasFill1Period) voidsetGas_fill1_pressure(Scannable gasFill1Pressure) voidsetGas_fill1_timeout(Scannable gasFill1Timeout) voidsetGas_fill2_period(Scannable gasFill2Period) voidsetGas_fill2_pressure(Scannable gasFill2Pressure) voidsetGas_fill2_timeout(Scannable gasFill2Timeout) voidsetGas_injection_status(Scannable gasInjectionStatus) voidsetGas_select(Scannable gasSelect) voidsetHvStatusScannable(Scannable hvStatusScannable) voidsetIon_chamber(String ionChamber) voidsetIon_chamber_select(Scannable ionChamberSelect) voidsetPower_supply(Scannable powerSupply) voidsetPurge_period(Scannable purgePeriod) voidsetPurge_pressure(Scannable purgePressure) voidsetPurge_timeout(Scannable purgeTimeout) voidsetVoltage(int voltage) voidstop()Stop the current move/operation.voidwaitUntilIdle(int timeout) Methods inherited from class gda.device.scannable.ScannableBase
__call__, __call__, __doc__, __getitem__, __len__, __repr__, __str__, asynchronousMoveTo, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, externalToInternal, getExtraNames, getInputNames, getLevel, getOutputFormat, getPosition, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, internalToExternal, isAt, moveTo, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, throwExceptionIfInvalidTarget, toFormattedString, toString, validateScannable, valueUnavailableString, waitWhileBusy, waitWhileBusyMethods 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, 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
-
GasInjectionScannable
public GasInjectionScannable()
-
-
Method Details
-
isBusy
public boolean isBusy()Description copied from interface:ScannableCheck if the Scannable is moving/operating.- Returns:
- true - if operation carried out by moveTo has not completed yet
-
log
-
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
-
rawAsynchronousMoveTo
Description copied from class:ScannableBase[Consider abstract] Trigger a move/operation to an internal/hardware position and return immediately.- Overrides:
rawAsynchronousMoveToin classScannableBase- Parameters:
position- Position in its internal/hardware representation. e.g. with units and offsets removed- Throws:
DeviceException- See Also:
-
configurePurgeAndFill
public void configurePurgeAndFill(List<String> parameters) throws NumberFormatException, DeviceException - Throws:
NumberFormatExceptionDeviceException
-
stop
Description copied from class:ScannableBaseStop the current move/operation. Default behaviour is to do nothing. Inheriting classes have the option to implement this if their specific behaviour requires it.- Specified by:
stopin interfaceScannable- Overrides:
stopin classScannableBase- Throws:
DeviceException- See Also:
-
flush
public void flush() -
performFill
public void performFill(int totalFillPeriod) -
checkForAbort
- Throws:
Exception
-
waitUntilIdle
public void waitUntilIdle(int timeout) -
getFillStatus
-
setVoltage
public void setVoltage(int voltage) -
checkVoltageInRange
public boolean checkVoltageInRange(int min, int max) -
rawGetPosition
Description copied from class:ScannableBase[Consider abstract] Read the position in its internal (user) representation.- Overrides:
rawGetPositionin classScannableBase- Returns:
- the value represented by this Scannable
- See Also:
-
getPurge_pressure
-
setPurge_pressure
-
getPurge_period
-
setPurge_period
-
getPurge_timeout
-
setPurge_timeout
-
getGas_fill1_pressure
-
setGas_fill1_pressure
-
getGas_fill1_period
-
setGas_fill1_period
-
getGas_fill1_timeout
-
setGas_fill1_timeout
-
getGas_fill2_pressure
-
setGas_fill2_pressure
-
getGas_fill2_period
-
setGas_fill2_period
-
getGas_fill2_timeout
-
setGas_fill2_timeout
-
getGas_fill_start
-
setGas_fill_start
-
getGas_select
-
setGas_select
-
getControl_select
-
setControl_select
-
getIon_chamber_select
-
setIon_chamber_select
-
getGas_injection_status
-
setGas_injection_status
-
getPower_supply
-
setPower_supply
-
getIon_chamber
-
setIon_chamber
-
getBase_pressure
-
setBase_pressure
-
getHvStatusScannable
-
setHvStatusScannable
-