Commit e02f5135 authored by Romain Baptiste Dominique Albert's avatar Romain Baptiste Dominique Albert
Browse files

Modify the interface of the digital attenuator to match the one use for others...

Modify the interface of the digital attenuator to match the one use for others instruments (add the cryostat parameter).
parent 1fadfe53
......@@ -47,7 +47,7 @@ class DA(object):
errors you can try to set it to False
"""
def __init__(self, id_string, channel=0, driver=None, database=True):
def __init__(self, id_string, cryostat, channel=0, driver=None, database=True):
# Device parameters ####################################################
try:
......@@ -59,6 +59,7 @@ class DA(object):
self.ip = id_string
else:
raise Exception('DA not in IPList. Please specify driver')
self.CryoID = cryostat
self.ch = channel
self.id = id_string
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment