diff --git a/miniDAS/test_io.py b/miniDAS/test_io.py new file mode 100644 index 0000000..d92d261 --- /dev/null +++ b/miniDAS/test_io.py @@ -0,0 +1,16 @@ +import os +import epics +from epics import PV + + +# Set the EPICS_CA_ADDR_LIST environment variable +os.environ['EPICS_CA_ADDR_LIST'] = 'bl4b-dassrv1:5066' + +name='S1' +X=PV('BL4B:Mot:s1:X:Gap.RBV') +Xcen=PV('BL4B:Mot:s1:X:Center.RBV') +Y=PV('BL4B:Mot:s1:Y:Gap.RBV') +Ycen=PV('BL4B:Mot:s1:Y:Center.RBV') + + +print(X.get()) \ No newline at end of file