chore: test writing to pv
This commit is contained in:
+3
-1
@@ -83,7 +83,9 @@ class Service(BaseService[PVs]):
|
||||
# update some pvs/vals
|
||||
my_pv1_random_val = str(time.clock_gettime_ns(0))[-1]
|
||||
print(f"Putting: {my_pv1_random_val}") # TODO: remove
|
||||
self.pvs.my_pv1.put(my_pv1_random_val)
|
||||
status = self.pvs.my_pv1.put(my_pv1_random_val)
|
||||
print(f"Status: {status}")
|
||||
|
||||
# self.pvs.my_pv2.put("MY_PV2 value")
|
||||
|
||||
# get some pvs/vals
|
||||
|
||||
Reference in New Issue
Block a user