chore: test writing to pv
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Using `caget` to check the values of PVs
|
||||
|
||||
```
|
||||
ssh sls-lc
|
||||
```
|
||||
|
||||
On sls-lc:
|
||||
```
|
||||
ca office network
|
||||
export EPICS_CA_ADDR_LIST="129.129.130.255 129.129.131.255 129.129.137.255 129.129.158.255 129.129.217.255 129.129.150.255 129.129.152.255 sls-cagw.psi.ch:5062"
|
||||
caget AGEBD-PLAYGROUND-DEV:AO
|
||||
```
|
||||
+1
@@ -82,6 +82,7 @@ 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)
|
||||
# self.pvs.my_pv2.put("MY_PV2 value")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user