18 b2.set_log_level(b2.LogLevel.ERROR)
29 print(
"MQname = " + argvs[3])
53 geom = b2.register_module(
"Geometry")
56 main = b2.create_path()
69 rbuf2ds = b2.register_module(
"Rbuf2Ds")
71 rbuf2ds.param(
"RingBufferName", argvs[1])
72 main.add_module(rbuf2ds)
82 roisender = b2.register_module(
'ROISender')
83 roisender.param(
"MessageQueueName", argvs[3])
84 roisender.param(
"MessageQueueDepth", 20)
85 roisender.param(
"MessageSize", 16384)
86 roisender.param(
"ROIpayloadName",
"ROIpayload")
87 main.add_module(roisender)
90 progress = b2.register_module(
"Progress")
91 progress.param(
'maxN', 4)
92 main.add_module(progress)
95 etime = b2.register_module(
"ElapsedTime")
96 etime.param(
"EventInterval", 20000)
97 main.add_module(etime)
100 ds2raw = b2.register_module(
"Ds2Raw")
101 ds2raw.param(
"RingBufferName", argvs[2])
102 main.add_module(ds2raw)