New ScreenPanel

This commit is contained in:
2018-01-19 10:56:53 +01:00
commit ae4d621609
580 changed files with 46598 additions and 0 deletions

34
script/test22.py Executable file
View File

@@ -0,0 +1,34 @@
tutorial_path = "src/main/assembly/help/Tutorial/"
run(tutorial_path+"00_Devices")
import ch.psi.pshell.epics.CAS as CAS
cas = []
#CAS.setServerPort(5062)
CAS("TESTCAS:c1", ai1, 'double')
cas1 = CAS("TESTCAS:c2", ai1, 'int')
cas2 = CAS("TESTCAS:c3", ai1, 'string')
cas3 = CAS("TESTCAS:c4", ao1, 'double')
cas4 = CAS("TESTCAS:c5", dp1, 'string')
cas5 = CAS("TESTCAS:c6", wf1, 'double')
cas6 = CAS("TESTCAS:c7", wf1, 'int')
cas7 = CAS("TESTCAS:c8", wf1, 'string')
print caget("TESTCAS:c1")
print caget("TESTCAS:c2")
print caget("TESTCAS:c3")
print caget("TESTCAS:c4")
print caget("TESTCAS:c5")
print caget("TESTCAS:c6").tolist()
print caget("TESTCAS:c7").tolist()
print caget("TESTCAS:c8","[s").tolist()