Package gda.device
Interface Mar345
- All Superinterfaces:
Configurable,Detector,Device,Findable,gda.observable.IObservable,Scannable
Interface to control MAR 345.
-
Field Summary
Fields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Method Summary
Modifier and TypeMethodDescriptionvoidappendToKeywordList(String keywords) Append keyowrds to the current keyword buffervoidClear current keyword buffervoiderase()Erases.Gets the current data directory.Gets the current formatintgetMode()Gets the current mode.Gets the current root name.voidscan()Scans.voidSend the keyword list to the mar controller - ee mar documentationvoidsendKeywords(String keywords) Send a string to the mar controllervoidsetDirectory(String directory) Set the directory into which the mar files will be storedvoidSet the format for the mar files - see the mar documentationvoidsetMode(int mode) Set the scan mode, values from 0 - 7 see the mar documentationvoidsetRootName(String rootName) Set the root name of the mar filesMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Detector
collectData, createsOwnFiles, endCollection, getCollectionTime, getDataDimensions, getDescription, getDetectorID, getDetectorType, getFileStructure, getStatus, prepareForCollection, readout, setCollectionTime, waitWhileBusyMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObserversMethods inherited from interface gda.device.Scannable
asynchronousMoveTo, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, getExtraNames, getInputNames, getLevel, getOutputFormat, getPosition, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, isAt, isBusy, moveTo, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, stop, toFormattedString
-
Method Details
-
appendToKeywordList
Append keyowrds to the current keyword buffer- Parameters:
keywords- the keywords to append
-
clearKeywordList
void clearKeywordList()Clear current keyword buffer -
sendKeywordList
void sendKeywordList()Send the keyword list to the mar controller - ee mar documentation -
sendKeywords
Send a string to the mar controller- Parameters:
keywords- the string to send
-
setFormat
Set the format for the mar files - see the mar documentation- Parameters:
format- the format
-
setMode
void setMode(int mode) Set the scan mode, values from 0 - 7 see the mar documentation- Parameters:
mode- the mode to set
-
setDirectory
Set the directory into which the mar files will be stored- Parameters:
directory- the directory name
-
setRootName
Set the root name of the mar files- Parameters:
rootName- the root name
-
getFormat
String getFormat()Gets the current format- Returns:
- the format
-
getMode
int getMode()Gets the current mode.- Returns:
- the mode
-
getDirectory
String getDirectory()Gets the current data directory.- Returns:
- the directory name
-
getRootName
String getRootName()Gets the current root name.- Returns:
- the root name
-
erase
void erase()Erases. -
scan
void scan()Scans.
-