Interface IMalcolmDetectorModel
- All Superinterfaces:
IDetectorModel,INameable,IReflectedModel,ITimeoutable
- All Known Implementing Classes:
DummyMalcolmDetectorModel,MalcolmDetectorModel
A model used to configure a detector controlled by a malcolm devices.
-
Field Summary
Fields inherited from interface org.eclipse.scanning.api.device.models.IReflectedModel
EXCLUDED_FIELD_NAMES -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of frames (exposures) of this detector per step, i.e.booleanReturns whether this detectors is enabled, i.e.voidsetEnabled(boolean enabled) voidsetFramesPerStep(int framesPerStep) Methods inherited from interface org.eclipse.scanning.api.device.models.IDetectorModel
getExposureTime, setExposureTimeMethods inherited from interface org.eclipse.scanning.api.device.models.IReflectedModel
getCommandStringMethods inherited from interface org.eclipse.scanning.api.ITimeoutable
getTimeout, setTimeout
-
Method Details
-
getFramesPerStep
int getFramesPerStep()Returns the number of frames (exposures) of this detector per step, i.e. scan point.- Returns:
- frames per step
-
setFramesPerStep
void setFramesPerStep(int framesPerStep) -
isEnabled
boolean isEnabled()Returns whether this detectors is enabled, i.e. is to be used in a scan.- Returns:
trueif the detector is enabled,falseotherwise
-
setEnabled
void setEnabled(boolean enabled)
-