guess pv pid Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
This commit is contained in:
parent
d930a1694c
commit
e698e34d45
@ -124,7 +124,10 @@ class MpExperienceNCPV(MpExperience):
|
|||||||
self.mpConfig.client.sendCmd(cmd)
|
self.mpConfig.client.sendCmd(cmd)
|
||||||
|
|
||||||
cmd = self.getPvPidCmd()
|
cmd = self.getPvPidCmd()
|
||||||
self.pvPid = self.mpTopo.commandTo(self.mpConfig.server, cmd)[:-1]
|
self.pvPid = None
|
||||||
|
while self.pvPid == None or self.pvPid == "":
|
||||||
|
self.pvPid = self.mpTopo.commandTo(self.mpConfig.server, cmd)[:-1]
|
||||||
|
print("guessing pv pid ... :" + str(self.pvPid))
|
||||||
|
|
||||||
cmd = self.getPvChangeCmd()
|
cmd = self.getPvChangeCmd()
|
||||||
print(cmd)
|
print(cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user