Safe snap fix for enumerated pvs, model daq shmem buffer size fix
2 unresolved threads
Merge request reports
Activity
added 1 commit
- 1ffc0dca - Cleaning up code a bit, and adding ADC search to userspace app
added 1 commit
- e2e7dcb0 - Allowing userspace app to be signaled to exit when IOP cycle can't be synced with
mentioned in issue #477 (closed)
assigned to @erik.vonreis
- src/epics/util/epics_db.py 0 → 100644
27 self.mbmio_val_to_num = {'ZRST':0, 'ONST':1, 'TWST':2, 'THST':3, 'FRST':4, 'FVST':5, 'SXST':6, 28 'SVST':7, 'EIST':8, 'NIST':9, 'TEST':10, 'ELST':11, 'TVST':12, 'TTST':13, 29 'FTST':14, 'FFST':15} 30 31 with open(db_file_path) as file: 32 lines = file.readlines() 33 lines = [line.strip() for line in lines] 34 35 last_chan_name = "" 36 in_bracket = False 37 line_num = 0 38 39 for line in lines: 40 line_num += 1 41 if line.startswith("grecord("): 42 type = line.split(',')[0][8:] changed this line in version 4 of the diff
- src/epics/util/epics_db.py 0 → 100644
108 new_snap_file_lines += line 109 continue 110 111 if inBurtHeader == True: 112 new_snap_file_lines += line 113 continue 114 115 split_line = line.split() 116 chan_name = split_line[0] 117 value = split_line[2] 118 if db.is_enum(chan_name): 119 #print(f"Found enum : {split_line[0]}, value : '{split_line[2]}', ", end='') 120 121 if db.check_enum_value(chan_name, value) == False: 122 #print(f"Enum check Failed! possible {db.get_all_enum_values(chan_name)}", end="") 123 if float(value) >= 0 and float(value) < len(db.get_all_enum_values(chan_name)): changed this line in version 4 of the diff
mentioned in commit 5985ec4f
Please register or sign in to reply