diff options
-rw-r--r-- | ue9qol.py | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 + |