diff --git a/db/channels.db b/db/channels.db index 76ed4c6..197d407 100644 --- a/db/channels.db +++ b/db/channels.db @@ -69,7 +69,8 @@ record(ai, "$(INSTR)$(NAME):R$(CHANNEL)") field(EGU, "cts/sec") field(DTYP, "asynFloat64") field(INP, "@asyn($(PORT),0,$(TIMEOUT=1)) RATE$(CHANNEL)") - field(SCAN, ".2 second") + field(SCAN, ".5 second") + field(PREC, 2) # field(SCAN, "I/O Intr") field(PINI, "YES") } diff --git a/scripts/udp_gen.py b/scripts/udp_gen.py index 9a07c08..b447c9a 100644 --- a/scripts/udp_gen.py +++ b/scripts/udp_gen.py @@ -47,7 +47,7 @@ while True: header[17] = t_high >> 8 num_events = random.randint(0, 243) - num_events = 243 + # num_events = 243 # num_events = 1 # update buffer length @@ -61,7 +61,7 @@ while True: # reduce also the number of checks on the parsing side of things... is_monitor = random.randint(0, 9) - is_monitor = 4 + # is_monitor = 4 header[11] = 0 if is_monitor > 3 else random.randint(1,9) @@ -79,7 +79,7 @@ while True: d = list(data) monitor = random.randint(0,3) - monitor = 0 + # monitor = 0 d[5] = (1 << 7) | monitor