From 638cf4995e917b6807a377ab41d69cd834f0b996 Mon Sep 17 00:00:00 2001 From: wendtalexander Date: Mon, 16 Sep 2024 16:30:11 +0200 Subject: [PATCH] adding print statement connected --- pyrelacs/input.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyrelacs/input.py b/pyrelacs/input.py index 0d8a6df..dc20992 100644 --- a/pyrelacs/input.py +++ b/pyrelacs/input.py @@ -9,6 +9,7 @@ def connect(): daq_device = uldaq.DaqDevice(devices[0]) daq_device.connect() print(f"Connected to daq_device {devices[0].product_name}") + print(f"Connected to daq_device {daq_device.is_connected()}") except uldaq.ULException as e: print('\n', e)