added third PCO; changed some printing

This commit is contained in:
2021-09-15 18:13:14 +02:00
parent ec4dbcc09c
commit 4b558e4fca

View File

@@ -26,7 +26,8 @@ false = Fore.RED + " ✗" + Style.RESET_ALL
cam_names = [
# "DOES-NOT-EXIST",
"SATES21-CAMS154-M1",
"SATES24-CAMS161-M1"
"SATES24-CAMS161-M1",
"SATES21-PATT-M1"
]
cam_names += [f"SATES21-CAMS154-GIGE{i+1}" for i in range(8)]
@@ -73,7 +74,8 @@ def get_state(f):
d = ib_data[f]
except KeyError:
return False
assert len(d) == 1
if len(d) != 1:
print(d)
return not all(d.isna())
ib_states = [get_state(f) for f in fpics]
@@ -94,6 +96,7 @@ for cam, pv_state, bs_state, ib_state in zip(cam_names, pv_states, bs_states, ib
res.append(new)
print()
for name, pv, bs, ib in res:
name = name.ljust(width)
# pv = pv.ljust(bool_width)