aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/scope/sds800xhd.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-10-13 15:04:21 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-10-13 15:04:21 -0400
commit3a51417b34eee4cead0d7076598edd61469d8a21 (patch)
treeb41b32d65faf231dd6d8b310288a20baf8750a19 /qolab/hardware/scope/sds800xhd.py
parent145fb89359d0b89145cdc9dd579b981a12b4d71c (diff)
downloadqolab-3a51417b34eee4cead0d7076598edd61469d8a21.tar.gz
qolab-3a51417b34eee4cead0d7076598edd61469d8a21.zip
added logger
Diffstat (limited to 'qolab/hardware/scope/sds800xhd.py')
-rw-r--r--qolab/hardware/scope/sds800xhd.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/qolab/hardware/scope/sds800xhd.py b/qolab/hardware/scope/sds800xhd.py
index f1e0d98..9fd67df 100644
--- a/qolab/hardware/scope/sds800xhd.py
+++ b/qolab/hardware/scope/sds800xhd.py
@@ -11,6 +11,15 @@ import numpy as np
import scipy.signal
from pyvisa.constants import InterfaceType
+import logging
+
+logging.basicConfig(
+ format="%(asctime)s %(levelname)8s %(name)s: %(message)s",
+ datefmt="%m/%d/%Y %H:%M:%S",
+)
+logger = logging.getLogger(__name__)
+logger.setLevel(logging.INFO)
+
class SDS800XHD(SDS1104X):
"""Siglent SDS800XHD scope"""