Interface NcdTetrammController
- All Known Implementing Classes:
DummyNcdTetrammController,NcdEpicsTetramm
public interface NcdTetrammController
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the total averaging time for each frameGet latest file pathintGet the number of samples that were averaged to provide the last readingintReturn the number of values to read out per triggerintGet the number of samples that are averaged for each readingdoubleGet the sample time for each valueGet the trigger state of the detectorintGet the number of values that are averaged to provide each readingvoidSet all the non scan settings to where they need to be before a scanbooleanGet the acquire state of the detectorbooleanGet state of file writervoidreset()Reset options to how they were before the scan startedvoidsetAcquire(boolean state) Start or stop the detector acquiringvoidsetAveragingTime(double time) Set the time to average values over for each framevoidsetDimensions(int framesPerPoint, int[] scanDims) Set the scan dimensions including the per point frame countvoidsetFilePath(String directory, String name) Set the directory and file name for the filewritervoidsetNumberOfChannels(int channels) Set the number of channels to recordvoidsetRecording(boolean state) Start or stop the file writer collectingvoidSet the trigger statevoidsetValuesPerReading(int values) Set the values that are averaged to generate each reading
-
Method Details
-
getValuesPerReading
Get the number of values that are averaged to provide each reading- Throws:
DeviceException
-
setValuesPerReading
Set the values that are averaged to generate each reading- Throws:
DeviceException
-
getAveragingTime
Get the total averaging time for each frame- Throws:
DeviceException
-
setAveragingTime
Set the time to average values over for each frame- Throws:
DeviceException
-
getSampleTime
Get the sample time for each value- Throws:
DeviceException
-
getSamplesToAverage
Get the number of samples that are averaged for each reading- Throws:
DeviceException
-
getNumberOfAveragedSamples
Get the number of samples that were averaged to provide the last reading- Throws:
DeviceException
-
setAcquire
Start or stop the detector acquiring- Throws:
DeviceException
-
isAcquiring
Get the acquire state of the detector- Throws:
DeviceException
-
setNumberOfChannels
Set the number of channels to record- Throws:
DeviceException
-
getNumberOfChannels
Return the number of values to read out per trigger- Throws:
DeviceException
-
setTriggerState
Set the trigger state- Throws:
DeviceException
-
getTriggerState
Get the trigger state of the detector- Throws:
DeviceException
-
setFilePath
Set the directory and file name for the filewriter- Throws:
DeviceException
-
getLastFilePath
Get latest file path- Throws:
DeviceException
-
setDimensions
Set the scan dimensions including the per point frame count- Throws:
DeviceException
-
setRecording
Start or stop the file writer collecting- Throws:
DeviceException
-
isRecording
Get state of file writer- Throws:
DeviceException
-
initialise
Set all the non scan settings to where they need to be before a scan- Throws:
DeviceException
-
reset
Reset options to how they were before the scan started- Throws:
DeviceException
-