Script execution
This commit is contained in:
1 parent
ac866c4edf
commit
4c85ed4e9a
1 file changed
+6
-5
+6
-5
@@ -196,14 +196,15 @@ def add_convex_hull_plot(title, x,y, name=None, clear = False, x_range = None, y
|
||||
|
||||
|
||||
#CAS
|
||||
import ch.psi.pshell.epics.CAS as CAS
|
||||
|
||||
class ServerUrl(ReadonlyRegisterBase):
|
||||
def doRead(self):
|
||||
return controller.server.baseURL
|
||||
|
||||
if controller.isServerEnabled():
|
||||
import ch.psi.pshell.epics.CAS as CAS
|
||||
#CAS.setServerPort(5062)
|
||||
|
||||
class ServerUrl(ReadonlyRegisterBase):
|
||||
def doRead(self):
|
||||
return controller.server.baseURL
|
||||
|
||||
d = ServerUrl()
|
||||
d.initialize()
|
||||
cas5 = CAS("PSHELL_OP:SERVER_URL", d, 'string')
|
||||
Reference in new issue
Block a user