Implemented speed for the PMAC controller

This commit is contained in:
2023-02-22 11:54:54 +01:00
parent acf1751081
commit b8896b7a85
2 changed files with 8 additions and 0 deletions

View File

@ -62,6 +62,9 @@ def fix_line(par_list, index_list):
highlim = transact('Q%d13' % motNo)
highidx = index_list.index('DHLM')
par_list[highidx] = highlim.strip()
speed = transact('Q%d03' % motNo)
speedidx = index_list['VELO']
par_list[speedidx] = speed.trim()
return par_list
def scan_substitution_file(filename):