aboutsummaryrefslogtreecommitdiff
path: root/ue9qol.py
diff options
context:
space:
mode:
Diffstat (limited to 'ue9qol.py')
-rw-r--r--ue9qol.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/ue9qol.py b/ue9qol.py
index 2250f2b..0ce21b8 100644
--- a/ue9qol.py
+++ b/ue9qol.py
@@ -2,6 +2,7 @@ import sys
import traceback
import time # For sleep, clock, time and perf_counter
from datetime import datetime
+import random
import u3
import u6
@@ -35,3 +36,20 @@ class UE9qol:
def close(self):
self.daq.close()
+class UE9qolDummy:
+ # to be used for graphics debugging
+ def __init__(self, debug = False, autoOpen = True, **kargs):
+ # do nothing
+ return
+
+ def getInputCh(self, chNum):
+ return random.normalvariate(chNum, 0.25)
+
+ def setOutputCh(self, chNum=None, volts=None):
+ # do nothing
+ return
+
+ def close(self):
+ # do nothing
+ return
+