This commit is contained in:
2018-04-17 12:05:48 +02:00
parent 14edc0e745
commit 58a1260003
428 changed files with 41350 additions and 477 deletions

View File

@@ -0,0 +1,29 @@
///////////////////////////////////////////////////////////////////////////////////////////////////
// Creation of EPICS CA servers over register devices
///////////////////////////////////////////////////////////////////////////////////////////////////
CAS = Java.type('ch.psi.pshell.epics.CAS')
cas = []
//CAS.setServerPort(5062)
cas1 = new CAS("TESTCAS:c1", ai1, 'double')
cas2 = new CAS("TESTCAS:c2", ai1, 'int')
cas3 = new CAS("TESTCAS:c3", ai1, 'string')
cas4 = new CAS("TESTCAS:c4", ao1, 'double')
cas5 = new CAS("TESTCAS:c5", dp1, 'string')
cas6 = new CAS("TESTCAS:c6", wf1, 'double')
cas7 = new CAS("TESTCAS:c7", wf1, 'int')
cas8 = new 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")
)