aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-21 22:04:06 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-21 22:04:06 -0500
commit3c2fd299675191fa4b19628ec60eacf23351fab8 (patch)
tree1a25fd37788e59bb79cb3b658dc352b5860472d9 /examples
parent9f50b020ad607265d4e77516a648c197f9486aee (diff)
downloadqolab-3c2fd299675191fa4b19628ec60eacf23351fab8.tar.gz
qolab-3c2fd299675191fa4b19628ec60eacf23351fab8.zip
simplified timestamping
Diffstat (limited to 'examples')
-rw-r--r--examples/lock_eit.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py
index eeb6d95..3d77e68 100644
--- a/examples/lock_eit.py
+++ b/examples/lock_eit.py
@@ -36,42 +36,37 @@ def initLog():
errorTrace.config['unit']='V'
timeTrace = Trace("time")
timeTrace.config['unit']='S'
+ timeTrace.config['type'] = 'timestamp'
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
eitTrace = Trace("eit")
eitTrace.config['unit']='V'
eitLog = TraceXY("eit")
- eitLog.config['type'] = 'timestamp'
eitLog.x = timeTrace
eitLog.y = eitTrace
rfPoutTrace = Trace("rfPout")
rfPoutTrace.config['unit']='dBm'
rfPoutLog = TraceXY("rfPout")
- rfPoutLog.config['type'] = 'timestamp'
rfPoutLog.x = timeTrace
rfPoutLog.y = rfPoutTrace
log = TraceSetSameX("timelog")
- log.config['type'] = 'timestamp'
log.addTrace(errorLog)
log.addTrace(freqLog)
log.addTrace(feedbackLog)