Package gda.device.hidenrga
Interface HidenRGA
- All Superinterfaces:
Findable,gda.observable.IObservable
- All Known Implementing Classes:
HidenRGAScannable
-
Method Summary
Modifier and TypeMethodDescriptiondoubleintintbooleanisBusy()voidsetCollectionRate(double rate) Set the time in seconds between writing data to file in recording mode.voidsetMasses(int[] masses) voidStart recording RGA data to an ASCII file with a unique name in the current visit data directory.voidMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Method Details
-
startRecording
Start recording RGA data to an ASCII file with a unique name in the current visit data directory.The rate at which data is recording is determined by the collection rate attribute.
- Throws:
IOException
-
stopRecording
void stopRecording() -
isBusy
- Throws:
DeviceException
-
getMasses
-
setMasses
void setMasses(int[] masses) -
setCollectionRate
void setCollectionRate(double rate) Set the time in seconds between writing data to file in recording mode.If invalid input: '<'= 0 then data will be recorded as fast as the RGA collects it, if >=1 then GDA will wait a minimum of that value in seconds before recording the next line of data.
- Parameters:
collectionRate-
-
getCollectionRate
double getCollectionRate() -
getBarChartPressures
- Throws:
IOException
-
getNumBarChartPressures
int getNumBarChartPressures() -
getNumberOfMassChannels
int getNumberOfMassChannels()
-