Package uk.ac.diamond.daq.gasrig.api
Interface IGasRig
- All Superinterfaces:
Findable,gda.observable.IObservable
- All Known Implementing Classes:
GasRig
-
Method Summary
Modifier and TypeMethodDescriptionvoidadmitGasToLine(int gasId, int lineNumber) Admits the specified gas to the specified linevoidadmitGasToLine(String gasName, int lineNumber) Admits the specified gas to the specified linevoidAsks EPICS to admit both lines to endstationvoidAsks EPICS to admit both lines to exhaustvoidadmitLineToEndStation(int lineNumber) Admits the specified line to the endstationvoidconfigureGasMixForLine(IGasMix gasMix, int lineNumber) Configure a mix of gases for the specified linevoidAsks EPICS to pump out the endstationvoidevacuateLine(int lineNumber) Asks EPICS to evacute the specified linevoidGets all the cabinets that have been configuredgetGasMix(int lineNumber) Gets the gas mix object for a specific lineGets a Map where the keys are the line numbers, and the values are the gasmixes for those line numbersGets all the gases the aren't assigned to a cabinetvoidAsks EPICS to run the initialisation procedurebooleanvoidExecutes the dummy sequence on the PLCvoidsetAllGasFlowsToZero(int value) voidsetButterflyValvePosition(double value) Set position on butterfly valvevoidsetButterflyValvePressure(double value) Set pressure on butterfly valvevoidsettleUnusedGases(IGasMix gasMix1, IGasMix gasMix2) voidMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Method Details
-
getNonCabinetGases
Gets all the gases the aren't assigned to a cabinet- Returns:
- The Gases
-
getCabinets
Gets all the cabinets that have been configured- Returns:
- The cabinets
-
getGasMix
Gets the gas mix object for a specific line- Parameters:
lineNumber-- Returns:
- The gas mix for the specified line
- Throws:
GasRigException- If that line number does not exist
-
getGasMixes
Gets a Map where the keys are the line numbers, and the values are the gasmixes for those line numbers- Returns:
- The map of gas mixes
-
runDummySequence
Executes the dummy sequence on the PLC- Throws:
GasRigException
-
evacuateEndStation
Asks EPICS to pump out the endstation- Throws:
GasRigException
-
evacuateLine
Asks EPICS to evacute the specified line- Parameters:
lineNumber-- Throws:
GasRigException
-
admitLineToEndStation
Admits the specified line to the endstation- Parameters:
lineNumber-- Throws:
GasRigException
-
admitGasToLine
Admits the specified gas to the specified line- Parameters:
gasId- The gas ID (which matches the MFC number)lineNumber- The line to admit it to- Throws:
GasRigExceptionDeviceException
-
admitGasToLine
Admits the specified gas to the specified line- Parameters:
gasName- The gas name (which matches the gas name in EPICS)lineNumber- The line to admit it to- Throws:
GasRigExceptionDeviceException
-
configureGasMixForLine
Configure a mix of gases for the specified line- Parameters:
gasMix- The GasMix objectlineNumber- The line number to configure the mix for- Throws:
GasRigExceptionDeviceException
-
initialise
Asks EPICS to run the initialisation procedure- Throws:
DeviceException
-
admitLinesToEndstation
Asks EPICS to admit both lines to endstation- Throws:
GasRigException
-
admitLinesToExhaust
Asks EPICS to admit both lines to exhaust- Throws:
GasRigException
-
setButterflyValvePressure
Set pressure on butterfly valve- Parameters:
value-- Throws:
DeviceException
-
setButterflyValvePosition
Set position on butterfly valve- Parameters:
value-- Throws:
DeviceException
-
stopCurrentSequence
- Throws:
DeviceException
-
isRemoveLiveControls
boolean isRemoveLiveControls() -
settleUnusedGases
- Throws:
GasRigExceptionDeviceException
-
setAllGasFlowsToZero
- Throws:
DeviceException
-
evacuateLines
- Throws:
DeviceExceptionGasRigException
-