Interface INewportVMCController
- All Superinterfaces:
Configurable,Findable,Stoppable
- All Known Implementing Classes:
DummyNewportVMCController,NewportVMCController
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheckAnyCommandSafe(String command) Clear command bufferPause after current command finishesResume executing command bufferStop immediately and clear command buffervoidintintgetHost()intvoidgetMode()intintgetPosition(int axisIndex) intintvoidbooleanisBusy()booleanbooleanisReady()voidvoidvoidmoveAxisRelative(int axisIndex, Object position) voidscanContinuous(int axisIndex, Double start, Double width, Double time) voidsetCommandPort(int port) voidsetCommandSocketConnection(SocketConnection socketConnection) voidsetDetDistanceIndex(int detDistanceIndex) voidvoidsetKappaIndex(int kappaIndex) voidvoidvoidvoidsetOmegaIndex(int omegaIndex) voidsetPhiIndex(int phiIndex) voidsetStatusPort(int statusPort) voidsetStatusSocketConnection(SocketConnection statusSocketConnection) voidsetTwoThetaIndex(int twoThetaIndex) Methods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigure
-
Method Details
-
checkAnyCommandSafe
- Throws:
DeviceException
-
executeSafeRoute
- Throws:
DeviceException
-
getCommandPort
int getCommandPort() -
getCommandSocketConnection
SocketConnection getCommandSocketConnection() -
getDetDistanceIndex
int getDetDistanceIndex() -
getHost
String getHost() -
getKappaIndex
int getKappaIndex() -
getLastError
String getLastError() -
getLastExecutedCommand
String getLastExecutedCommand() -
getMechanicalPositions
- Throws:
DeviceException
-
getMode
NewportVmcControllerMode getMode() -
getOmegaIndex
int getOmegaIndex() -
getPhiIndex
int getPhiIndex() -
getBufferCount
String getBufferCount()- Returns:
- number of commands remaining be executed in buffer
-
getBufferNext
String getBufferNext()- Returns:
- next command to be executed in buffer
-
getBufferList
String getBufferList()- Returns:
- semi-colon separated list of unexecuted commands remaining in buffer
-
getPosition
-
getPositionAll
String getPositionAll() -
getSafeRouteFile
- Throws:
DeviceException
-
getStatus
- Throws:
DeviceException
-
getStatusPort
int getStatusPort() -
getStatusSocketConnection
SocketConnection getStatusSocketConnection() -
getTwoThetaIndex
int getTwoThetaIndex() -
initialise
- Throws:
DeviceException
-
isBusy
- Throws:
DeviceException
-
isCommandBufferEmpty
- Throws:
DeviceException
-
isReady
- Throws:
DeviceException
-
moveAll
- Throws:
DeviceException
-
moveAxis
- Throws:
DeviceException
-
moveAxisRelative
- Throws:
DeviceException
-
scanContinuous
- Throws:
DeviceException
-
setCommandPort
void setCommandPort(int port) -
setCommandSocketConnection
-
setDetDistanceIndex
void setDetDistanceIndex(int detDistanceIndex) -
setHost
-
setKappaIndex
void setKappaIndex(int kappaIndex) -
setMode
- Throws:
DeviceException
-
setModeCheckMove
- Throws:
DeviceException
-
setModeCheckOnly
- Throws:
DeviceException
-
setOmegaIndex
void setOmegaIndex(int omegaIndex) -
setPhiIndex
void setPhiIndex(int phiIndex) -
setStatusPort
void setStatusPort(int statusPort) -
setStatusSocketConnection
-
setTwoThetaIndex
void setTwoThetaIndex(int twoThetaIndex) -
cmdClearBuffer
Clear command buffer- Returns:
- status
- Throws:
DeviceException
-
cmdPauseOnNext
Pause after current command finishes- Returns:
- status
- Throws:
DeviceException
-
cmdResume
Resume executing command buffer- Returns:
- status
- Throws:
DeviceException
-
cmdStopAll
Stop immediately and clear command buffer- Returns:
- status
- Throws:
DeviceException
-