Script execution
This commit is contained in:
@@ -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