##// END OF EJS Templates
Rewrite controller, remove MPDecorator to units (keep for plots an writers) use of queues for interproc comm instead of zmq, self operations are no longer supported
Rewrite controller, remove MPDecorator to units (keep for plots an writers) use of queues for interproc comm instead of zmq, self operations are no longer supported

File last commit:

r1167:1f521b07c958
r1287:af11e4aac00c
Show More
MyServer.py
32 lines | 879 B | text/x-python | PythonLexer
Miguel Valdez
Merge with branch schain_julia_drifts from rev. 803 to 995....
r568 '''
Created on Jul 11, 2014
@author: roj-idl71
'''
# import sys
import datetime
import zerorpc
from schainpy.model.io.jrodataIO import USRPReaderAPI
# from schainpy.serializer.DataTranslate import serial2Obj
if __name__ == '__main__':
replayerObj = USRPReaderAPI(serializer='msgpack')
replayerObj.setup(path='/Volumes/DATA/haystack/passive_radar/',
startDate=datetime.date(2000,1,1),
endDate=datetime.date(2015,1,1),
startTime=datetime.time(0,0,0),
endTime=datetime.time(23,59,59),
online=1,
nSamples=500,
channelList = [0,1,2,3,4,5,6,7])
replayerObj.start()
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("Initializing 'zerorpc' server")
Miguel Valdez
Merge with branch schain_julia_drifts from rev. 803 to 995....
r568 s = zerorpc.Server(replayerObj)
s.bind("tcp://0.0.0.0:4242")
s.run()
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("End")