Package gda.scan

Class RepeatScan

java.lang.Object
gda.scan.RepeatScan

public class RepeatScan extends Object
RepeatScan contains the static command repscan originally written to allow a detector to be exposed multiple times and results written to a scan file by a command of the form: repscan 10 det 0.1 hence removing the need for a dummy variable and use a command of the form: scan dummy 1 10 1 det 0.1 repscan also handles detectors that can have their own internal frame advance mechanism by sending the repeat number to all scannables/detectors that support the interface gda.device.detector.DetectorFrameController to allow detectors/scannables to be configured correctly to generate the required number of frames. Note that detectors that support gda.device.detector.DetectorFrameController would normally support gda.device.scannable.PositionCallableProvider as well as frame advance would not normally be controlled by the scan command. repscan can be used to repeated call pos on any scannable and get the results written to a scan file repscan CANNOT be used to repeat an inner scan e.g. repscan 1000 pos1 1 10 1 - WILL THROW EXCEPTION