@@ -476,12 +476,12 | |||||
476 | filename = "experimento1.abs" |
|
476 | filename = "experimento1.abs" | |
477 |
|
477 | |||
478 | absObj = ABSClient() |
|
478 | absObj = ABSClient() | |
479 | absObj.sendFile(filename) |
|
479 | # absObj.sendFile(filename) | |
480 | # absObj.changeBeam("0") |
|
480 | # absObj.changeBeam("0") | |
481 | # absObj.changeBeam("1") |
|
481 | # absObj.changeBeam("1") | |
482 | # absObj.changeBeam("2") |
|
482 | # absObj.changeBeam("2") | |
483 | # absObj.changeBeam("3") |
|
483 | # absObj.changeBeam("3") | |
484 |
|
|
484 | absObj.changeBeam("4") | |
485 | # absObj.changeBeam("5") |
|
485 | # absObj.changeBeam("5") | |
486 | # absObj.changeBeam("6") |
|
486 | # absObj.changeBeam("6") | |
487 | # absObj.changeBeam("7") |
|
487 | # absObj.changeBeam("7") |
@@ -145,7 +145,7 | |||||
145 | def changeBeam(self): |
|
145 | def changeBeam(self): | |
146 |
|
146 | |||
147 | #rpta = self.commClientObj.sendTxRxCommand(cmd='CAMBIA', data="0") |
|
147 | #rpta = self.commClientObj.sendTxRxCommand(cmd='CAMBIA', data="0") | |
148 | self.commClientObj.sendData("CAMBIA:" + self.datarx + ":") |
|
148 | self.commClientObj.sendData("none", "CAMBIA:" + self.datarx + ":") | |
149 |
|
149 | |||
150 | def getStatus(self,mode): |
|
150 | def getStatus(self,mode): | |
151 |
|
151 | |||
@@ -264,7 +264,7 | |||||
264 |
|
264 | |||
265 | def __getStsMode3(self): |
|
265 | def __getStsMode3(self): | |
266 |
|
266 | |||
267 | self.commClientObj.sendData("CHEQUEO:" + self.datarx + ":") |
|
267 | self.commClientObj.sendData("none", "CHEQUEO:" + self.datarx + ":") | |
268 | seconds = int (self.datarx) |
|
268 | seconds = int (self.datarx) | |
269 | # Give 5 seconds to the control modules |
|
269 | # Give 5 seconds to the control modules | |
270 | time.sleep(seconds) |
|
270 | time.sleep(seconds) |
General Comments 0
You need to be logged in to leave comments.
Login now