aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 bbc369e..0f67cf9 100644
--- a/qolab/hardware/basic.py
+++ b/qolab/hardware/basic.py
@@ -2,12 +2,13 @@ import yaml
from qolab.file_utils import get_next_data_file
class BasicInstrument:
- def __init__(self):
+ def __init__(self, tsdb_ingester=None):
self.config={}
self.config['Device type'] = 'Basic Instrument'
self.config['Device model'] = 'Model is unset'
self.config['FnamePrefix'] = 'basicInstrument'
self.config['SavePath'] = './data'
+ self.tsdb_ingester = tsdb_ingester
# deviceProperties must have 'get' and preferably 'set' methods available,
# i.e. 'SampleRate' needs getSampleRate() and love to have setSampleRate(value)
# they will be used to obtain config and set device according to it