rtCommon.scannerDataService

A command-line service to be run where the scanner data is generated (i.e. the control room). This service instantiates a DataInterface and BidsInterface object for serving the data back to the client running in the cloud. It connects to the remote projectServer. Once a connection is established it waits for requets and invokes the DataInterface or BidsInterface functions to handle them.

Module Contents

Classes

ScannerDataService

Attributes

currPath

rootPath

defaultAllowedDirs

defaultAllowedTypes

connectionArgs

rtCommon.scannerDataService.currPath
rtCommon.scannerDataService.rootPath
rtCommon.scannerDataService.defaultAllowedDirs = ['/tmp', '/data']
rtCommon.scannerDataService.defaultAllowedTypes = ['.dcm', '.mat', '.txt']
class rtCommon.scannerDataService.ScannerDataService(args, webSocketChannelName='wsData')
rtCommon.scannerDataService.connectionArgs