forward the ID correctly

This commit is contained in:
2022-09-17 10:15:39 +02:00
parent ba71e6e4d2
commit 629ef11b92

View File

@ -6,7 +6,7 @@ class Magnet(PVAdjustable):
def __init__(self, ID, accuracy=0.01):
pvn_set = ID + ":I-SET"
pvn_read = ID + ":I-READ"
super().__init__(pvn_set, pvn_read, accuracy=accuracy)
super().__init__(pvn_set, pvn_read, accuracy=accuracy, ID=ID)
# pvn_comp = ID + ":I_COMP"
# super().__init__(pvn_set, pvn_read, pvname_moving=pvn_comp) # COMP updates only once per second, so we cannot use it as moving status