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
|
from pytec.client import Client
|
||||||
|
|
||||||
tec = Client() #(host="localhost", port=6667)
|
tec = Client() #(host="localhost", port=6667)
|
||||||
|
@ -4,8 +4,6 @@ import matplotlib.animation as animation
|
|||||||
from threading import Thread, Lock
|
from threading import Thread, Lock
|
||||||
from pytec.client import Client
|
from pytec.client import Client
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
|
|
||||||
TIME_WINDOW = 300.0
|
TIME_WINDOW = 300.0
|
||||||
|
|
||||||
tec = Client()
|
tec = Client()
|
||||||
@ -32,7 +30,7 @@ if __name__ == "__main__":
|
|||||||
series = {
|
series = {
|
||||||
'adc': Series(),
|
'adc': Series(),
|
||||||
'sens': Series(lambda x: x * 0.0001),
|
'sens': Series(lambda x: x * 0.0001),
|
||||||
'temperature': Series(),
|
'temperature': Series(lambda t: t - target_temperature),
|
||||||
'i_set': Series(),
|
'i_set': Series(),
|
||||||
'pid_output': Series(),
|
'pid_output': Series(),
|
||||||
'vref': Series(),
|
'vref': Series(),
|
||||||
|
Loading…
Reference in New Issue
Block a user