18 b2.set_log_level(b2.LogLevel.ERROR)
29 print(
"MQname = " + argvs[3])
45 databasefile =
"/dev/shm/LocalDB/database.txt"
46 b2.prepend_testing_payloads(databasefile)
57 geom = b2.register_module(
"Geometry")
60 main = b2.create_path()
73 rbuf2ds = b2.register_module(
"Rbuf2Ds")
75 rbuf2ds.param(
"RingBufferName", argvs[1])
76 main.add_module(rbuf2ds)
86 roisender = b2.register_module(
'ROISender')
87 roisender.param(
"MessageQueueName", argvs[3])
88 roisender.param(
"MessageQueueDepth", 20)
89 roisender.param(
"MessageSize", 16384)
90 roisender.param(
"ROIpayloadName",
"ROIpayload")
91 main.add_module(roisender)
94 progress = b2.register_module(
"Progress")
95 progress.param(
'maxN', 4)
96 main.add_module(progress)
99 etime = b2.register_module(
"ElapsedTime")
100 etime.param(
"EventInterval", 20000)
101 main.add_module(etime)
104 ds2raw = b2.register_module(
"Ds2Raw")
105 ds2raw.param(
"RingBufferName", argvs[2])
106 main.add_module(ds2raw)