12 lines
417 B
Plaintext
12 lines
417 B
Plaintext
source /opt/gfa/python 3.7
|
|
export PYTHONPATH=/opt/gfa/cafe/python/pycafe/cafe-1.13.0-sls2-gcc-7.3.0/lib/${EPICS_HOST_ARCH}
|
|
|
|
|
|
using PyCall
|
|
@pyimport PyCafe
|
|
cafe=PyCafe.CyCafe()
|
|
cyca=PyCafe.CyCa() #To examine error codes
|
|
pvdata=cafe.getPV("SATCL01-MQUA120:I-SET")
|
|
pvdata.show()
|
|
pvdata.value[1] #Note the indexing in julia starts at 1, as I daresay you will already know
|
|
pvdata.status # should equal cyca.ICAFE_NORMAL |