Package gda.px.camera
Interface MXCameraInterface
- All Superinterfaces:
Camera,Configurable,Device,Findable,gda.observable.IObservable
- All Known Implementing Classes:
MXCamera,VmxmMXCamera
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoubledoubledoubledoubledoubledoubledoubledoubleInteger[]doubledoubleGet rotation axis state.doubledoubledoublevoidsetDefaultAccelerationTime(double defaultAccelCurve) voidsetDefaultSpeed(double defaultSpeed) voidSets the detector support motor used by this camera.voidsetDetectorSupportZName(String detectorSupportZName) Sets the name of the dof of the detector support z-axisvoidsetExtraCloseTime(double close) Sets the angular delay when stopping omega after the shutter has been closedvoidsetExtraOpenTime(double open) Sets the angular space factor to start the omega movement before the exposure start positionvoidsetGonioRotationAxisRecord(String gonioRotationAxisRecord) Sets the record name for the goniometer rotation axis (e.g.voidsetOmegaDOFName(String omegaDOFName) Sets the name of the omega dofvoidSets the omega motor used by this camera.voidsetSafeDistance(double safeDistance) sets a safe distance for the detector to move to when users enter the hutchvoidsetShutter(Shutter shutter) voidsetShutterCloseTime(double delayClose) Sets the time to delay sending the shutter close signal before the omega rotation completesvoidsetShutterOpenTime(double delayOpen) Sets the time to delay sending the shutter open signal before the omega gets to the start of the exposurevoidSets the shutter and movement parameters for the next exposure based on the values given by setImageStart/Angle/TimeMethods inherited from interface gda.px.camera.Camera
checkDetectorDistance, expose, getAcceleration, getDetectorDistance, getDetectorMotionTolerance, getMaxDistance, getMinDistance, getOmegaPosition, isShutterOpen, isSpeedAchievable, makeDetectorSafe, moveDetectorTo, moveOmegaBy, moveOmegaTo, open, prepareForExposure, setAcceleration, setDefaultSpeeds, setImageAngularSize, setImageStartAngle, setImageTime, setNumberPasses, stopOmega, waitWhileExposing, waitWhileMovingMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Method Details
-
setShutter
-
setDetectorSupportMotor
Sets the detector support motor used by this camera.- Parameters:
motor- the detector support motor
-
setOmegaMotor
Sets the omega motor used by this camera.- Parameters:
motor- the omega motor
-
setGonioRotationAxisRecord
Sets the record name for the goniometer rotation axis (e.g. "BL04J-MO-MD2-01:GONIO:OMEGA").- Parameters:
gonioRotationAxisRecord- the rotation axis record name
-
getCloseAngle
double getCloseAngle()- Returns:
- double - the angle to send the close signal to the shutter
-
getDefaultAccelerationTime
double getDefaultAccelerationTime()- Returns:
- double - the accel curve to reset to after exposure
-
getDefaultMoveTime
double getDefaultMoveTime()- Returns:
- double - the time to return the goniometer after an exposure to its start position
-
getDefaultSpeed
double getDefaultSpeed()- Returns:
- double - the speed to set the motor to after exposure
-
getDesiredAccelerationTime
double getDesiredAccelerationTime()- Returns:
- double - the accel curve to use during the exposure
-
getDesiredAngularVelocity
double getDesiredAngularVelocity()- Returns:
- double - the angular velocity of the exposure
-
getDetectorSupportZName
String getDetectorSupportZName()- Returns:
- the name of the dof of the detector support z-axis
-
getExtraCloseTime
double getExtraCloseTime()- Returns:
- the angular delay when stopping omega after the shutter has been closed
-
getExtraOpenTime
double getExtraOpenTime()- Returns:
- the angular space factor to start the omega movement before the exposure start position
-
getMinExposeTime
double getMinExposeTime()- Returns:
- double - minimum predicted time which the omega movement of the exposure will take
-
getOpenAngle
double getOpenAngle()- Returns:
- double - the angle to send the open signal to the shutter
-
getOmegaDOFName
String getOmegaDOFName()- Returns:
- the name of the omega dof
-
getOmegaEndPosition
double getOmegaEndPosition()- Returns:
- double - the omega angle to move to during the exposure
-
getOmegaStartPosition
double getOmegaStartPosition()- Returns:
- double - the omega angle to start the exposure
-
getRAState
Get rotation axis state.- Returns:
- the state
- Throws:
DeviceException- if a device exception occurs
-
getSafeDistance
double getSafeDistance()- Returns:
- a safe distance for the detector to move to when users enter the hutch
-
getShutterCloseTime
double getShutterCloseTime()- Returns:
- the time to delay sending the shutter close signal before the omega rotation completes
-
getShutterOpenTime
double getShutterOpenTime()- Returns:
- the time to delay sending the shutter open signal before the omega gets to the start of the exposure
-
setDefaultAccelerationTime
void setDefaultAccelerationTime(double defaultAccelCurve) - Parameters:
defaultAccelCurve-
-
setDefaultSpeed
void setDefaultSpeed(double defaultSpeed) - Parameters:
defaultSpeed-
-
setDetectorSupportZName
Sets the name of the dof of the detector support z-axis- Parameters:
detectorSupportZName-
-
setExtraCloseTime
void setExtraCloseTime(double close) Sets the angular delay when stopping omega after the shutter has been closed- Parameters:
close-
-
setExtraOpenTime
void setExtraOpenTime(double open) Sets the angular space factor to start the omega movement before the exposure start position- Parameters:
open-
-
setOmegaDOFName
Sets the name of the omega dof- Parameters:
omegaDOFName-
-
setSafeDistance
void setSafeDistance(double safeDistance) sets a safe distance for the detector to move to when users enter the hutch- Parameters:
safeDistance-
-
setShutterCloseTime
void setShutterCloseTime(double delayClose) Sets the time to delay sending the shutter close signal before the omega rotation completes- Parameters:
delayClose-
-
setShutterOpenTime
void setShutterOpenTime(double delayOpen) Sets the time to delay sending the shutter open signal before the omega gets to the start of the exposure- Parameters:
delayOpen-
-
setupOmegaForMove
Sets the shutter and movement parameters for the next exposure based on the values given by setImageStart/Angle/Time- Throws:
gov.aps.jca.TimeoutExceptionDeviceExceptionInterruptedException
-
getOmegaReadbackPositions
Integer[] getOmegaReadbackPositions() throws DeviceException, gov.aps.jca.TimeoutException, InterruptedException- Returns:
- Integer[] of the omegaStartReadBack PV and omegaStopReadBack PV
- Throws:
DeviceExceptionInterruptedExceptiongov.aps.jca.TimeoutException
-