##// END OF EJS Templates
changes to integrate to the web interface
imanay -
r139:140
parent child
Show More
@@ -41,7 +41,9
41 41 def sendFile(self, filename): No newline at end of file
42 42 No newline at end of file
43 43 # data = self.abs2ControlModuleFormatFile(filename)
44 No newline at end of file
44 data = self.__readFile(filename) No newline at end of file
No newline at end of file
45 #Sending content of file and the file name
No newline at end of file
46 data = filename + '\n' + tmp No newline at end of file
45 47 self.__ConnectionWithCentralControl(cmd = "SNDF", data = data) No newline at end of file
46 48 No newline at end of file
47 49 def changeBeam(self, newBeam): No newline at end of file
@@ -144,8 +144,10
144 144 No newline at end of file
145 145 def __sendFile2Modules(self,cmd): No newline at end of file
146 146
147 No newline at end of file
147 filename = "tmp.txt"
No newline at end of file
148 No newline at end of file
148 self.__writeFile(filename,self.rx_buffer) No newline at end of file
No newline at end of file
149 tmp = rx_buffer_lst[1]
No newline at end of file
150 self.__writeFile(filename,tmp) No newline at end of file
149 151 data = self.abs2ControlModuleFormatFile(filename) No newline at end of file
150 152 #Needed for the loop No newline at end of file
151 153 header, control_modules_lst = self.__All2Blocks(data) No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now