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