2024-11-04 15:47:56 +08:00
|
|
|
import time
|
2020-09-29 08:52:46 +08:00
|
|
|
from pytec.client import Client
|
|
|
|
|
|
|
|
tec = Client() #(host="localhost", port=6667)
|
2023-08-25 17:34:07 +08:00
|
|
|
tec.set_param("b-p", 1, "t0", 20)
|
2024-08-15 17:38:03 +08:00
|
|
|
print(tec.get_output())
|
2020-10-01 06:21:43 +08:00
|
|
|
print(tec.get_pid())
|
2024-08-15 17:38:03 +08:00
|
|
|
print(tec.get_output())
|
2020-12-17 05:14:21 +08:00
|
|
|
print(tec.get_postfilter())
|
2023-08-25 17:34:07 +08:00
|
|
|
print(tec.get_b_parameter())
|
2024-11-04 15:47:56 +08:00
|
|
|
while True:
|
|
|
|
print(tec.get_report())
|
|
|
|
time.sleep(0.05)
|