again at the point that I can do preset based counts, but now with the priority queue built in so that the events are sorted
This commit is contained in:
@@ -9,7 +9,7 @@ epicsEnvSet("INSTR", "SQ:TEST:")
|
||||
epicsEnvSet("NAME", "SG")
|
||||
|
||||
drvAsynIPPortConfigure("ASYN_IP_PORT", "127.0.0.1:9071:54321 UDP", 0, 0, 1)
|
||||
asynStreamGenerator("ASYN_SG", "ASYN_IP_PORT", 4, 10000, 1000, 8192)
|
||||
asynStreamGenerator("ASYN_SG", "ASYN_IP_PORT", 4, 10000, 0, 1000, 8192)
|
||||
|
||||
dbLoadRecords("$(StreamGenerator_DB)daq_common.db", "INSTR=$(INSTR), NAME=$(NAME), PORT=ASYN_SG, CHANNELS=5")
|
||||
|
||||
|
||||
@@ -106,4 +106,4 @@ while True:
|
||||
sock.sendto(bytes(tosend), ('127.0.0.1', 54321))
|
||||
mv = memoryview(bytes(header)).cast('H')
|
||||
print(f'Sent packet {mv[3]} with {num_events} events {base_timestamp}')
|
||||
# time.sleep(0.5)
|
||||
# time.sleep(1)
|
||||
|
||||
Reference in New Issue
Block a user