From 3369e67421884d7e376cdfeed3752c1a6f722614 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Mon, 4 Apr 2022 13:29:21 -0400 Subject: proper labjack initialization --- qolab/hardware/daq/labjack_ue9.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/qolab/hardware/daq/labjack_ue9.py b/qolab/hardware/daq/labjack_ue9.py index a467746..c232501 100644 --- a/qolab/hardware/daq/labjack_ue9.py +++ b/qolab/hardware/daq/labjack_ue9.py @@ -7,10 +7,10 @@ class LabJackUE9(DAQ): This custom modification of the stock LabJack UE9 class provided by LabJack as ue9 """ - def __init__(self, *args, debug = False, autoOpen = True, ethernet=False, ipAddress="192.168.1.209", **kargs): + def __init__(self, *args, debug = False, autoOpen = True, ethernet=False, ipAddress=None, **kargs): """ LabJack UE9 can be contacted via TCP, use - QOL_UE9(ethernet=True, ipAddress="192.168.1.209") + LabJackUE9(ethernet=True, ipAddress="192.168.1.209") """ super().__init__(*args, **kargs) self.config['Device model'] = 'LabJack UE9' @@ -18,7 +18,6 @@ class LabJackUE9(DAQ): self.AnalogOutputsNum=2 self.daq = ue9.UE9(debug=debug, autoOpen=autoOpen, ethernet=ethernet, ipAddress=ipAddress) - # self.daq = ue9.UE9(debug=debug, autoOpen=autoOpen) # For applying the proper calibration to readings. c=self.daq.getCalibrationData() -- cgit v1.2.3