aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/hardware/basic.py')
-rw-r--r--qolab/hardware/basic.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qolab/hardware/basic.py b/qolab/hardware/basic.py
index 147e8dc..d42dea2 100644
--- a/qolab/hardware/basic.py
+++ b/qolab/hardware/basic.py
@@ -3,10 +3,11 @@ from qolab.file_utils import get_next_data_file
from qolab.tsdb import tsdb_append_metric_for_class_setter_or_getter
class BasicInstrument:
- def __init__(self, tsdb_ingester=None):
+ def __init__(self, device_nickname=None, tsdb_ingester=None):
self.config={}
self.config['Device type'] = 'Basic Instrument'
self.config['Device model'] = 'Model is unset'
+ self.config['DeviceNickname'] = device_nickname; # to separate similar instruments
self.config['FnamePrefix'] = 'basicInstrument'
self.config['SavePath'] = './data'
self.tsdb_ingester = tsdb_ingester