9 from ByteStreamEmonSvc.EmonByteStreamConfig
import EmonByteStreamCfg
12 bytestreamInput = acc.getService(
"ByteStreamInputSvc")
13 bytestreamInput.Partition = flags.OnlineEventDisplays.PartitionName
14 bytestreamInput.GroupName =
"EventDisplaysOnline"
15 bytestreamInput.PublishName =
"EventDisplays"
16 bytestreamInput.Key =
"dcm"
17 bytestreamInput.KeyCount = 1
18 bytestreamInput.Timeout = 600000
19 bytestreamInput.UpdatePeriod = 200
20 bytestreamInput.BufferSize = 10
21 bytestreamInput.ISServer =
''
22 bytestreamInput.StreamNames = flags.OnlineEventDisplays.TriggerStreams
23 bytestreamInput.ProcessCorruptedEvents =
True
25 bytestreamInput.StreamLogic =
"Or"
27 if flags.OnlineEventDisplays.BeamSplashMode:
28 bytestreamInput.KeyCount = 64
29 bytestreamInput.BufferSize = 192
30 bytestreamInput.Timeout = 144000000
31 bytestreamInput.StreamType =
"physics"
33 if flags.OnlineEventDisplays.PartitionName !=
'ATLAS':
34 bytestreamInput.KeyValue = [
'Test_emon_push' ]
35 bytestreamInput.KeyCount = 1