The command StartScan is implemented for making automatically scans of the number of counts as a function of the discriminator threshold. For these scans de device run with SCA as count source. The scans can be run in INT or WIN mode, selected by the attribute ScanMode. In both cases the scan is done as a function of the discriminator level, but in WIN mode a window is used with a width given by the attribute ScanWin.
For perfoming it with the Tango Device you have to follow these steps:
When the command StartScan is executed the device will go to state
MOVING, this state remains until the scan is finished, returning to
ON state. At this point the spectrum obtained in the scan can be
seen in the attribute ScanSpectrum. The value of the threshold (and the
window in case of WIN mode) before starting the scan will be restored
once it is finished.