pytec: revert changes to example.py and plot.py, save changes for other PR
This commit is contained in:
parent
9f872c0113
commit
14a027c0f0
|
@ -1,5 +1,3 @@
|
|||
if __name__ == "__main__":
|
||||
|
||||
from pytec.client import Client
|
||||
|
||||
tec = Client() #(host="localhost", port=6667)
|
||||
|
|
|
@ -4,8 +4,6 @@ import matplotlib.animation as animation
|
|||
from threading import Thread, Lock
|
||||
from pytec.client import Client
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
TIME_WINDOW = 300.0
|
||||
|
||||
tec = Client()
|
||||
|
@ -32,7 +30,7 @@ if __name__ == "__main__":
|
|||
series = {
|
||||
'adc': Series(),
|
||||
'sens': Series(lambda x: x * 0.0001),
|
||||
'temperature': Series(),
|
||||
'temperature': Series(lambda t: t - target_temperature),
|
||||
'i_set': Series(),
|
||||
'pid_output': Series(),
|
||||
'vref': Series(),
|
||||
|
|
Loading…
Reference in New Issue