use of org.eclipse.scanning.api.annotation.scan.ScanStart in project gda-core by openGDA.
the class AreaDetectorRunnableDevice method scanStart.
/**
* add call to {@link ADDetector#atScanStart()} so decorators in collection strategy work to save detector state.
*/
@Override
@ScanStart
public void scanStart(ScanInformation info) throws ScanningException {
super.scanStart(info);
try {
adDetector.atScanStart();
firstPointInScan = true;
} catch (DeviceException e) {
throw new ScanningException("Error calling atScanStart", e);
}
}
Aggregations