diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/lock_eit.py | 7 |
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) |