added merge_args

This commit is contained in:
Erik Frojdh
2020-09-25 11:00:14 +02:00
parent f950e32893
commit ec2d6c597f
3 changed files with 60 additions and 2 deletions

View File

@ -2929,7 +2929,10 @@ class Detector(CppDetectorApi):
@v_limit.setter
def v_limit(self, value):
self.setDAC(dacIndex.V_LIMIT, value, True)
value = ut.merge_args(dacIndex.V_LIMIT, value, True)
print(f'{value=}')
ut.set_using_dict(self.setDAC, *value)
# self.setDAC(dacIndex.V_LIMIT, value, True)
@property
@element