aboutsummaryrefslogtreecommitdiff
path: root/examples/lock_eit.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-20 14:02:24 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-20 14:02:24 -0500
commitf30fbb440fc965812886afb1ae1ed3ae504f11ba (patch)
treebb3c6d1041d1ebe168e4ccf86966b5630574f919 /examples/lock_eit.py
parentbdcc32454c326f29ea36ce4e74d6eb21f2921fff (diff)
downloadpyExpControl-f30fbb440fc965812886afb1ae1ed3ae504f11ba.tar.gz
pyExpControl-f30fbb440fc965812886afb1ae1ed3ae504f11ba.zip
explicitely mark traces as timestamped
Diffstat (limited to 'examples/lock_eit.py')
-rw-r--r--examples/lock_eit.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py
index 4965177..f1cba3c 100644
--- a/examples/lock_eit.py
+++ b/examples/lock_eit.py
@@ -29,18 +29,21 @@ def initLog():
timeTrace = Trace("time")
timeTrace.config['unit']='S'
errorLog = TraceXY("error")
+ errorLog.config['type'] = 'timestamp'
errorLog.x = timeTrace
errorLog.y = errorTrace
freqTrace = Trace("frequency")
freqTrace.config['unit']='Hz'
freqLog = TraceXY("frequency")
+ freqLog.config['type'] = 'timestamp'
freqLog.x = timeTrace
freqLog.y = freqTrace
feedbackTrace = Trace("feedback")
feedbackTrace.config['unit']='Hz'
feedbackLog = TraceXY("feedback")
+ feedbackLog.config['type'] = 'timestamp'
feedbackLog.x = timeTrace
feedbackLog.y = feedbackTrace