##// END OF EJS Templates
imanay -
r131:132
parent child
Show More
@@ -1,527 +1,537
1 # Needed for the FilesStuff class No newline at end of file
1 # Needed for the FilesStuff class
2 import os No newline at end of file
2 import os
3 import numpy as np No newline at end of file
3 import numpy as np
4 # Needed for the TCPComm class No newline at end of file
4 # Needed for the TCPComm class
5 import socket No newline at end of file
5 import socket
6 No newline at end of file
6
7 class TCPComm: No newline at end of file
7 class TCPComm:
8 No newline at end of file
8
9 __HEADER = "JRO" No newline at end of file
9 __HEADER = "JRO"
10 __TYPE = "ABS" No newline at end of file
10 __TYPE = "ABS"
11 No newline at end of file
11
12 def __init__(self, ipSource, iDSource, ipDestino, iDDestino, portDestino, asServer=False): No newline at end of file
12 def __init__(self, ipSource, iDSource, ipDestino, iDDestino, portDestino, asServer=False):
13 No newline at end of file
13
14 self.ipSource = ipSource No newline at end of file
14 self.ipSource = ipSource
15 self.iDSource = iDSource No newline at end of file
15 self.iDSource = iDSource
16 self.ipDestino = ipDestino No newline at end of file
16 self.ipDestino = ipDestino
17 self.iDDestino = iDDestino No newline at end of file
17 self.iDDestino = iDDestino
18 self.portDestino = portDestino No newline at end of file
18 self.portDestino = portDestino
19 self.addr = (ipDestino,portDestino) No newline at end of file
19 self.addr = (ipDestino,portDestino)
20 No newline at end of file
20
21 self.sc = "none" No newline at end of file
21 self.sc = "none"
22 self.answer = "none" #test No newline at end of file
22 self.answer = "none" #test
23 self.asServer = False No newline at end of file
23 self.asServer = False
24 self.len = "000000" No newline at end of file
24 self.len = "000000"
25 self.crc = "0" No newline at end of file
25 self.crc = "0"
26 No newline at end of file
26
27 self.openSocket(asServer) No newline at end of file
27 self.openSocket(asServer)
28 No newline at end of file
28
29 def openSocket(self, asServer): No newline at end of file
29 def openSocket(self, asServer):
30 No newline at end of file
30
31 #self.socket_c = socket.socket(AF_INET,SOCK_DGRAM) No newline at end of file
31 #self.socket_c = socket.socket(AF_INET,SOCK_DGRAM)
32 # self.socket_c = socket.socket() No newline at end of file
32 # self.socket_c = socket.socket()
33 # self.socket_c.connect((self.ipDestino, self.portDestino)) No newline at end of file
33 # self.socket_c.connect((self.ipDestino, self.portDestino))
34 No newline at end of file
34
35 if asServer: No newline at end of file
35 if asServer:
36 self.socket_c = socket.socket() No newline at end of file
36 self.socket_c = socket.socket()
37 # self.configAsServer() No newline at end of file
37 # self.configAsServer()
38 self.socket_c.bind(self.addr) No newline at end of file
38 self.socket_c.bind(self.addr)
39 self.asServer = True No newline at end of file
39 self.asServer = True
40 else: No newline at end of file
40 else:
41 # self.configAsClient() No newline at end of file
41 # self.configAsClient()
42 self.asServer = False #Socket is opened at the sendData function No newline at end of file
42 self.asServer = False #Socket is opened at the sendData function
43 No newline at end of file
43
44 # def configAsClient(self): No newline at end of file
44 # def configAsClient(self):
45 #Buscar broadcast TCP No newline at end of file
45 #Buscar broadcast TCP
46 # self.socket_c.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) No newline at end of file
46 # self.socket_c.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
47 # self.socket_c.connect(self.addr) No newline at end of file
47 # self.socket_c.connect(self.addr)
48 # pass No newline at end of file
48 # pass
49 No newline at end of file
49
50 # def configAsServer(self): No newline at end of file
50 # def configAsServer(self):
51 # No newline at end of file
51 #
52 # self.socket_c.bind(self.addr) No newline at end of file
52 # self.socket_c.bind(self.addr)
53 No newline at end of file
53
54 def waitData(self): No newline at end of file
54 def waitData(self):
55 if self.asServer == True: No newline at end of file
55 if self.asServer == True:
56 trama_rx, l = self.waitAsServer() No newline at end of file
56 trama_rx, l = self.waitAsServer()
57 else: No newline at end of file
57 else:
58 trama_rx, l = self.waitAsClient() No newline at end of file
58 trama_rx, l = self.waitAsClient()
59 No newline at end of file
59
60 ipSource, ipDestino, cmd, data = self.__getTrama(trama_rx, l) No newline at end of file
60 ipSource, ipDestino, cmd, data = self.__getTrama(trama_rx, l)
61 No newline at end of file
61
62 return ipSource, ipDestino, cmd, data No newline at end of file
62 return ipSource, ipDestino, cmd, data
63 No newline at end of file
63
64 def waitAsClient2(self, nbytes = 1024): No newline at end of file
64 def waitAsClient2(self, nbytes = 1024):
65 print "\nWaiting the server." No newline at end of file
65 print "\nWaiting the server."
66 # Short data through ethernet No newline at end of file
66 # Short data through ethernet
67 trama_rx = self.socket_c.recv(nbytes) No newline at end of file
67 trama_rx = self.socket_c.recv(nbytes)
68 print "\nThis socket has received this data: " + str(trama_rx) No newline at end of file
68 print "\nThis socket has received this data: " + str(trama_rx)
69 No newline at end of file
69
70 return trama_rx No newline at end of file
70 return trama_rx
71 No newline at end of file
71
72 def waitAsServer2(self, nbytes = 1024): No newline at end of file
72 def waitAsServer2(self, nbytes = 1024):
73 print "\nWaiting some client." No newline at end of file
73 print "\nWaiting some client."
74 self.socket_c.listen(1) No newline at end of file
74 self.socket_c.listen(1)
75 sc, addr = self.socket_c.accept() No newline at end of file
75 sc, addr = self.socket_c.accept()
76 self.sc = sc No newline at end of file
76 self.sc = sc
77 self.answer = addr No newline at end of file
77 self.answer = addr
78 # Big data through ethernet No newline at end of file
78 # Big data through ethernet
79 trama_rx = "" No newline at end of file
79 trama_rx = ""
80 while True: No newline at end of file
80 while True:
81 tmp = self.sc.recv(nbytes) No newline at end of file
81 tmp = self.sc.recv(nbytes)
82 trama_rx = trama_rx + tmp No newline at end of file
82 trama_rx = trama_rx + tmp
83 if trama_rx[-4:] == "quit": No newline at end of file
83 if trama_rx[-4:] == "quit":
84 break No newline at end of file
84 break
85 No newline at end of file
85
86 print "\nThis socket has received some data from: " + str(self.answer) No newline at end of file
86 print "\nThis socket has received some data from: " + str(self.answer)
87 No newline at end of file
87
88 return trama_rx No newline at end of file
88 return trama_rx
89 No newline at end of file
89
90 def waitAsServer(self, nbytes = 1024): No newline at end of file
90 def waitAsServer(self, nbytes = 1024):
91 print "\nWaiting some client." No newline at end of file
91 print "\nWaiting some client."
92 self.socket_c.listen(1) No newline at end of file
92 self.socket_c.listen(1)
93 sc, addr = self.socket_c.accept() No newline at end of file
93 sc, addr = self.socket_c.accept()
94 self.sc = sc No newline at end of file
94 self.sc = sc
95 self.answer = addr No newline at end of file
95 self.answer = addr
96 # Big data through ethernet No newline at end of file
96 # Big data through ethernet
97 cnt = 0; No newline at end of file
97 cnt = 0;
98 first = 0; No newline at end of file
98 first = 0;
99 trama_rx = "" No newline at end of file
99 trama_rx = ""
100 while True: No newline at end of file
100 while True:
101 tmp = self.sc.recv(nbytes) No newline at end of file
101 tmp = self.sc.recv(nbytes)
102 trama_rx = trama_rx + tmp No newline at end of file
102 trama_rx = trama_rx + tmp
103 cnt = len(trama_rx) No newline at end of file
103 cnt = len(trama_rx)
104 if first == 0: No newline at end of file
104 if first == 0:
105 first = 1 No newline at end of file
105 first = 1
106 lng = int(trama_rx[20:26]) No newline at end of file
106 lng = int(trama_rx[20:26])
107 frm_lng= lng + 31 # 31 bytes are fixed and added to the data size to get the frame size No newline at end of file
107 frm_lng= lng + 31 # 31 bytes are fixed and added to the data size to get the frame size
108 if cnt == frm_lng: No newline at end of file
108 if cnt == frm_lng:
109 break No newline at end of file
109 break
110 No newline at end of file
110
111 print "\nThis socket has received some data from: " + str(self.answer) No newline at end of file
111 print "\nThis socket has received some data from: " + str(self.answer)
112 No newline at end of file
112
113 return trama_rx, lng No newline at end of file
113 return trama_rx, lng
114 No newline at end of file
114
115 def waitAsClient(self, nbytes = 1024): No newline at end of file
115 def waitAsClient(self, nbytes = 1024):
116 print "\nWaiting the server." No newline at end of file
116 print "\nWaiting the server."
117 # Short data through ethernet No newline at end of file
117 # Short data through ethernet
118 try: No newline at end of file
118 trama_rx = self.socket_c.recv(nbytes) No newline at end of file
119 trama_rx = self.socket_c.recv(nbytes)
119 lng = int(trama_rx[20:26]) No newline at end of file
120 lng = int(trama_rx[20:26])
121 except:
No newline at end of file
122 print "Waiting error"
No newline at end of file
123 trama_rx = "Error"
No newline at end of file
124 lng = 0
No newline at end of file
125 else: No newline at end of file
120 print "\nThis socket has received this data: " + str(trama_rx) No newline at end of file
126 print "\nThis socket has received this data: " + str(trama_rx)
121 No newline at end of file
127
122 return trama_rx, lng No newline at end of file
128 return trama_rx, lng
123 No newline at end of file
129
124 def sendData2(self, cmd, data, ipDestino): No newline at end of file
130 def sendData2(self, cmd, data, ipDestino):
125 No newline at end of file
131
126 trama_tx = self.__HEADER + ":" + self.__TYPE + ":" + str(self.ipSource) + ":" + str(ipDestino) + \ No newline at end of file
132 trama_tx = self.__HEADER + ":" + self.__TYPE + ":" + str(self.ipSource) + ":" + str(ipDestino) + \
127 ":" + str(self.len) + ":" + str(cmd) + ":" + str(data) + ":" + str(self.crc) + ":" + "quit" No newline at end of file
133 ":" + str(self.len) + ":" + str(cmd) + ":" + str(data) + ":" + str(self.crc) + ":" + "quit"
128 No newline at end of file
134
129 if self.asServer == True: No newline at end of file
135 if self.asServer == True:
130 self.SendAsServer(trama_tx) No newline at end of file
136 self.SendAsServer(trama_tx)
131 else: No newline at end of file
137 else:
132 self.SendAsClient(ipDestino, trama_tx) No newline at end of file
138 self.SendAsClient(ipDestino, trama_tx)
133 No newline at end of file
139
134 def sendData(self, cmd, data, ipDestino): No newline at end of file
140 def sendData(self, cmd, data, ipDestino):
135 No newline at end of file
141
136 trama_tx = self.__HEADER + self.__TYPE + self.iDSource + \ No newline at end of file
142 trama_tx = self.__HEADER + self.__TYPE + self.iDSource + \
137 self.iDDestino + self.len + str(cmd) + str(data) + self.crc No newline at end of file
143 self.iDDestino + self.len + str(cmd) + str(data) + self.crc
138 No newline at end of file
144
139 self.len = self.int2str(len(data)) No newline at end of file
145 self.len = self.int2str(len(data))
140 No newline at end of file
146
141 trama_tx = self.__HEADER + self.__TYPE + self.iDSource + \ No newline at end of file
147 trama_tx = self.__HEADER + self.__TYPE + self.iDSource + \
142 self.iDDestino + self.len + str(cmd) + str(data) + self.crc No newline at end of file
148 self.iDDestino + self.len + str(cmd) + str(data) + self.crc
143 No newline at end of file
149
144 if self.asServer == True: No newline at end of file
150 if self.asServer == True:
145 self.SendAsServer(trama_tx) No newline at end of file
151 self.SendAsServer(trama_tx)
146 else: No newline at end of file
152 else:
147 self.SendAsClient(ipDestino, trama_tx) No newline at end of file
153 self.SendAsClient(ipDestino, trama_tx)
148 No newline at end of file
154
149 def SendAsServer(self, trama_tx): No newline at end of file
155 def SendAsServer(self, trama_tx):
150 No newline at end of file
156
151 self.sc.send(trama_tx) No newline at end of file
157 self.sc.send(trama_tx)
152 print "Sending message:[" + trama_tx + "] to: " + str(self.answer) No newline at end of file
158 print "Sending message:[" + trama_tx + "] to: " + str(self.answer)
153 No newline at end of file
159
154 No newline at end of file
160
155 def SendAsClient(self, ipDestino, trama_tx): No newline at end of file
161 def SendAsClient(self, ipDestino, trama_tx):
156 No newline at end of file
162
163 try: No newline at end of file
157 self.socket_c.connect((ipDestino, self.portDestino)) No newline at end of file
164 self.socket_c.connect((ipDestino, self.portDestino))
165 except:
No newline at end of file
166 print "Connection error with:" + ipDestino
No newline at end of file
167 else: No newline at end of file
158 self.socket_c.send(trama_tx) No newline at end of file
168 self.socket_c.send(trama_tx)
159 print "Sending message:[" + trama_tx + "] to: " + ipDestino No newline at end of file
169 print "Sending message:[" + trama_tx + "] to: " + ipDestino
160 No newline at end of file
170
161 def __getTrama2(self, trama): No newline at end of file
171 def __getTrama2(self, trama):
162 No newline at end of file
172
163 FrameList = trama.split(':') No newline at end of file
173 FrameList = trama.split(':')
164 No newline at end of file
174
165 header = FrameList[0] No newline at end of file
175 header = FrameList[0]
166 TypeOfInstrument = FrameList[1] No newline at end of file
176 TypeOfInstrument = FrameList[1]
167 ipSource = FrameList[2] No newline at end of file
177 ipSource = FrameList[2]
168 ipDestino = FrameList[3] No newline at end of file
178 ipDestino = FrameList[3]
169 len = FrameList[4] No newline at end of file
179 len = FrameList[4]
170 cmd = FrameList[5] No newline at end of file
180 cmd = FrameList[5]
171 data = FrameList[6] No newline at end of file
181 data = FrameList[6]
172 crc = FrameList[7] No newline at end of file
182 crc = FrameList[7]
173 trash = FrameList[8] No newline at end of file
183 trash = FrameList[8]
174 No newline at end of file
184
175 return ipSource, ipDestino, cmd, data No newline at end of file
185 return ipSource, ipDestino, cmd, data
176 No newline at end of file
186
177 def __getTrama(self, trama, l): No newline at end of file
187 def __getTrama(self, trama, l):
178 No newline at end of file
188
179 header = trama[0:3] No newline at end of file
189 header = trama[0:3]
180 TypeOfInstrument = trama[3:6] No newline at end of file
190 TypeOfInstrument = trama[3:6]
181 ipSource = trama[6:13] No newline at end of file
191 ipSource = trama[6:13]
182 ipDestino = trama[13:20] No newline at end of file
192 ipDestino = trama[13:20]
183 len = trama[20:26] No newline at end of file
193 len = trama[20:26]
184 cmd = trama[26:30] No newline at end of file
194 cmd = trama[26:30]
185 data = trama[30:30+int(l)] No newline at end of file
195 data = trama[30:30+int(l)]
186 crc = trama[30+ int(l):] No newline at end of file
196 crc = trama[30+ int(l):]
187 No newline at end of file
197
188 return ipSource, ipDestino, cmd, data No newline at end of file
198 return ipSource, ipDestino, cmd, data
189 No newline at end of file
199
190 def close_socket(self): No newline at end of file
200 def close_socket(self):
191 self.socket_c.close() No newline at end of file
201 self.socket_c.close()
192 No newline at end of file
202
193 def open_socket(self): No newline at end of file
203 def open_socket(self):
194 self.socket_c = socket.socket() No newline at end of file
204 self.socket_c = socket.socket()
195 No newline at end of file
205
196 def int2str(self, n): No newline at end of file
206 def int2str(self, n):
197 No newline at end of file
207
198 str_n = str(n) No newline at end of file
208 str_n = str(n)
199 l_n = len(str_n) No newline at end of file
209 l_n = len(str_n)
200 if l_n == 1: No newline at end of file
210 if l_n == 1:
201 str_n = "00000" + str_n No newline at end of file
211 str_n = "00000" + str_n
202 elif l_n == 2: No newline at end of file
212 elif l_n == 2:
203 str_n = "0000" + str_n No newline at end of file
213 str_n = "0000" + str_n
204 elif l_n == 3: No newline at end of file
214 elif l_n == 3:
205 str_n = "000" + str_n No newline at end of file
215 str_n = "000" + str_n
206 elif l_n == 4: No newline at end of file
216 elif l_n == 4:
207 str_n = "00" + str_n No newline at end of file
217 str_n = "00" + str_n
208 elif l_n == 5: No newline at end of file
218 elif l_n == 5:
209 str_n = "0" + str_n No newline at end of file
219 str_n = "0" + str_n
210 return str_n No newline at end of file
220 return str_n
211 No newline at end of file
221
212 class FilesStuff(): No newline at end of file
222 class FilesStuff():
213 No newline at end of file
223
214 def lst2string(self, lst): No newline at end of file
224 def lst2string(self, lst):
215 string='' No newline at end of file
225 string=''
216 for i in lst: No newline at end of file
226 for i in lst:
217 string=string+i No newline at end of file
227 string=string+i
218 return string No newline at end of file
228 return string
219 No newline at end of file
229
220 def string2lst(self, string): No newline at end of file
230 def string2lst(self, string):
221 lst = [] No newline at end of file
231 lst = []
222 for i in string: No newline at end of file
232 for i in string:
223 lst.append(i) No newline at end of file
233 lst.append(i)
224 return lst No newline at end of file
234 return lst
225 No newline at end of file
235
226 No newline at end of file
236
227 def file1(self, filename, type): No newline at end of file
237 def file1(self, filename, type):
228 lst = self.string2lst(filename) No newline at end of file
238 lst = self.string2lst(filename)
229 fin = -1 No newline at end of file
239 fin = -1
230 t = len(lst) No newline at end of file
240 t = len(lst)
231 for i in np.arange(-1,-t,-1): No newline at end of file
241 for i in np.arange(-1,-t,-1):
232 if lst[i]=='/': No newline at end of file
242 if lst[i]=='/':
233 fin=i No newline at end of file
243 fin=i
234 break No newline at end of file
244 break
235 if type == '1': No newline at end of file
245 if type == '1':
236 nombre2 = lst[fin+1:] No newline at end of file
246 nombre2 = lst[fin+1:]
237 nombre2[-1]='s' No newline at end of file
247 nombre2[-1]='s'
238 nombre2 = self.lst2string(nombre2) No newline at end of file
248 nombre2 = self.lst2string(nombre2)
239 return nombre2 No newline at end of file
249 return nombre2
240 if type == '2': No newline at end of file
250 if type == '2':
241 nombre2 = lst[fin+1:] No newline at end of file
251 nombre2 = lst[fin+1:]
242 nombre2[-1]='1' No newline at end of file
252 nombre2[-1]='1'
243 nombre2 = self.lst2string(nombre2) No newline at end of file
253 nombre2 = self.lst2string(nombre2)
244 return nombre2 No newline at end of file
254 return nombre2
245 No newline at end of file
255
246 No newline at end of file
256
247 def EliminaSaltoDeLinea(self,cadena): No newline at end of file
257 def EliminaSaltoDeLinea(self,cadena):
248 i = 0 No newline at end of file
258 i = 0
249 for elemento in cadena: No newline at end of file
259 for elemento in cadena:
250 if elemento =='\n' or elemento =='\r': No newline at end of file
260 if elemento =='\n' or elemento =='\r':
251 pass No newline at end of file
261 pass
252 else: No newline at end of file
262 else:
253 i=i+1 No newline at end of file
263 i=i+1
254 return cadena [:i] No newline at end of file
264 return cadena [:i]
255 No newline at end of file
265
256 def NumeroDeExperimentos(self, path): No newline at end of file
266 def NumeroDeExperimentos(self, path):
257 fichero1=open(path,'r') No newline at end of file
267 fichero1=open(path,'r')
258 cont=0 No newline at end of file
268 cont=0
259 for cadena in fichero1: No newline at end of file
269 for cadena in fichero1:
260 cont=cont+1 No newline at end of file
270 cont=cont+1
261 if cont==3: No newline at end of file
271 if cont==3:
262 nexp='' No newline at end of file
272 nexp=''
263 pos=0 No newline at end of file
273 pos=0
264 for elemento in cadena: No newline at end of file
274 for elemento in cadena:
265 pos=pos+1 No newline at end of file
275 pos=pos+1
266 if elemento=='=': No newline at end of file
276 if elemento=='=':
267 nexp=int(cadena[pos:]) No newline at end of file
277 nexp=int(cadena[pos:])
268 return nexp No newline at end of file
278 return nexp
269 fichero1.close() No newline at end of file
279 fichero1.close()
270 No newline at end of file
280
271 def Paridad(numero): No newline at end of file
281 def Paridad(numero):
272 if numero%2==0: return 'par' No newline at end of file
282 if numero%2==0: return 'par'
273 elif numero%2==1: return 'impar' No newline at end of file
283 elif numero%2==1: return 'impar'
274 No newline at end of file
284
275 def EvaluaCadena(self,cadena): No newline at end of file
285 def EvaluaCadena(self,cadena):
276 if len(cadena)>35: No newline at end of file
286 if len(cadena)>35:
277 if cadena[-1]=='$': No newline at end of file
287 if cadena[-1]=='$':
278 return cadena[-35:-2] No newline at end of file
288 return cadena[-35:-2]
279 elif cadena[-1]==']': No newline at end of file
289 elif cadena[-1]==']':
280 return cadena[-34:-1] No newline at end of file
290 return cadena[-34:-1]
281 else: No newline at end of file
291 else:
282 return None No newline at end of file
292 return None
283 No newline at end of file
293
284 def GuardaEnLista(self,path): No newline at end of file
294 def GuardaEnLista(self,path):
285 fichero=open(path,'r') No newline at end of file
295 fichero=open(path,'r')
286 lista=[] No newline at end of file
296 lista=[]
287 for cadena in fichero: No newline at end of file
297 for cadena in fichero:
288 cadena = self.EliminaSaltoDeLinea(cadena) No newline at end of file
298 cadena = self.EliminaSaltoDeLinea(cadena)
289 cadena = self.EvaluaCadena(cadena) No newline at end of file
299 cadena = self.EvaluaCadena(cadena)
290 if cadena != None: No newline at end of file
300 if cadena != None:
291 lista.append(cadena) No newline at end of file
301 lista.append(cadena)
292 fichero.close() No newline at end of file
302 fichero.close()
293 return lista No newline at end of file
303 return lista
294 No newline at end of file
304
295 def CreaFicherosPrevios(self, path, archivo): No newline at end of file
305 def CreaFicherosPrevios(self, path, archivo):
296 vector = self.GuardaEnLista(archivo) No newline at end of file
306 vector = self.GuardaEnLista(archivo)
297 for i in range(1,self.NumeroDeExperimentos(archivo)+1): No newline at end of file
307 for i in range(1,self.NumeroDeExperimentos(archivo)+1):
298 fichero =open(path + str(i)+ '.txt','w') No newline at end of file
308 fichero =open(path + str(i)+ '.txt','w')
299 for j in range(0,16): No newline at end of file
309 for j in range(0,16):
300 fichero.write(vector[j+16*(i-1)]+'\n') No newline at end of file
310 fichero.write(vector[j+16*(i-1)]+'\n')
301 fichero.close() No newline at end of file
311 fichero.close()
302 No newline at end of file
312
303 def CapturaValoresEnArchivo(self, path, polarizacion='up'): No newline at end of file
313 def CapturaValoresEnArchivo(self, path, polarizacion='up'):
304 fichero =open(path,'r') No newline at end of file
314 fichero =open(path,'r')
305 cnt=0 No newline at end of file
315 cnt=0
306 lstup=[] No newline at end of file
316 lstup=[]
307 lstdw=[] No newline at end of file
317 lstdw=[]
308 for cadena in fichero: No newline at end of file
318 for cadena in fichero:
309 cnt=cnt+1 No newline at end of file
319 cnt=cnt+1
310 if cnt==1: No newline at end of file
320 if cnt==1:
311 nu01=cadena[1:4] No newline at end of file
321 nu01=cadena[1:4]
312 nu02=cadena[5:8] No newline at end of file
322 nu02=cadena[5:8]
313 nu03=cadena[9:12] No newline at end of file
323 nu03=cadena[9:12]
314 nu04=cadena[13:16] No newline at end of file
324 nu04=cadena[13:16]
315 eu01=cadena[17:20] No newline at end of file
325 eu01=cadena[17:20]
316 eu02=cadena[21:24] No newline at end of file
326 eu02=cadena[21:24]
317 eu03=cadena[25:28] No newline at end of file
327 eu03=cadena[25:28]
318 eu04=cadena[29:32] No newline at end of file
328 eu04=cadena[29:32]
319 if cnt==2: No newline at end of file
329 if cnt==2:
320 nu05=cadena[1:4] No newline at end of file
330 nu05=cadena[1:4]
321 nu06=cadena[5:8] No newline at end of file
331 nu06=cadena[5:8]
322 nu07=cadena[9:12] No newline at end of file
332 nu07=cadena[9:12]
323 nu08=cadena[13:16] No newline at end of file
333 nu08=cadena[13:16]
324 eu05=cadena[17:20] No newline at end of file
334 eu05=cadena[17:20]
325 eu06=cadena[21:24] No newline at end of file
335 eu06=cadena[21:24]
326 eu07=cadena[25:28] No newline at end of file
336 eu07=cadena[25:28]
327 eu08=cadena[29:32] No newline at end of file
337 eu08=cadena[29:32]
328 if cnt==3: No newline at end of file
338 if cnt==3:
329 nu09=cadena[1:4] No newline at end of file
339 nu09=cadena[1:4]
330 nu10=cadena[5:8] No newline at end of file
340 nu10=cadena[5:8]
331 nu11=cadena[9:12] No newline at end of file
341 nu11=cadena[9:12]
332 nu12=cadena[13:16] No newline at end of file
342 nu12=cadena[13:16]
333 eu09=cadena[17:20] No newline at end of file
343 eu09=cadena[17:20]
334 eu10=cadena[21:24] No newline at end of file
344 eu10=cadena[21:24]
335 eu11=cadena[25:28] No newline at end of file
345 eu11=cadena[25:28]
336 eu12=cadena[29:32] No newline at end of file
346 eu12=cadena[29:32]
337 if cnt==4: No newline at end of file
347 if cnt==4:
338 nu13=cadena[1:4] No newline at end of file
348 nu13=cadena[1:4]
339 nu14=cadena[5:8] No newline at end of file
349 nu14=cadena[5:8]
340 nu15=cadena[9:12] No newline at end of file
350 nu15=cadena[9:12]
341 nu16=cadena[13:16] No newline at end of file
351 nu16=cadena[13:16]
342 eu13=cadena[17:20] No newline at end of file
352 eu13=cadena[17:20]
343 eu14=cadena[21:24] No newline at end of file
353 eu14=cadena[21:24]
344 eu15=cadena[25:28] No newline at end of file
354 eu15=cadena[25:28]
345 eu16=cadena[29:32] No newline at end of file
355 eu16=cadena[29:32]
346 if cnt==5: No newline at end of file
356 if cnt==5:
347 wu01=cadena[1:4] No newline at end of file
357 wu01=cadena[1:4]
348 wu02=cadena[5:8] No newline at end of file
358 wu02=cadena[5:8]
349 wu03=cadena[9:12] No newline at end of file
359 wu03=cadena[9:12]
350 wu04=cadena[13:16] No newline at end of file
360 wu04=cadena[13:16]
351 su01=cadena[17:20] No newline at end of file
361 su01=cadena[17:20]
352 su02=cadena[21:24] No newline at end of file
362 su02=cadena[21:24]
353 su03=cadena[25:28] No newline at end of file
363 su03=cadena[25:28]
354 su04=cadena[29:32] No newline at end of file
364 su04=cadena[29:32]
355 if cnt==6: No newline at end of file
365 if cnt==6:
356 wu05=cadena[1:4] No newline at end of file
366 wu05=cadena[1:4]
357 wu06=cadena[5:8] No newline at end of file
367 wu06=cadena[5:8]
358 wu07=cadena[9:12] No newline at end of file
368 wu07=cadena[9:12]
359 wu08=cadena[13:16] No newline at end of file
369 wu08=cadena[13:16]
360 su05=cadena[17:20] No newline at end of file
370 su05=cadena[17:20]
361 su06=cadena[21:24] No newline at end of file
371 su06=cadena[21:24]
362 su07=cadena[25:28] No newline at end of file
372 su07=cadena[25:28]
363 su08=cadena[29:32] No newline at end of file
373 su08=cadena[29:32]
364 if cnt==7: No newline at end of file
374 if cnt==7:
365 wu09=cadena[1:4] No newline at end of file
375 wu09=cadena[1:4]
366 wu10=cadena[5:8] No newline at end of file
376 wu10=cadena[5:8]
367 wu11=cadena[9:12] No newline at end of file
377 wu11=cadena[9:12]
368 wu12=cadena[13:16] No newline at end of file
378 wu12=cadena[13:16]
369 su09=cadena[17:20] No newline at end of file
379 su09=cadena[17:20]
370 su10=cadena[21:24] No newline at end of file
380 su10=cadena[21:24]
371 su11=cadena[25:28] No newline at end of file
381 su11=cadena[25:28]
372 su12=cadena[29:32] No newline at end of file
382 su12=cadena[29:32]
373 if cnt==8: No newline at end of file
383 if cnt==8:
374 wu13=cadena[1:4] No newline at end of file
384 wu13=cadena[1:4]
375 wu14=cadena[5:8] No newline at end of file
385 wu14=cadena[5:8]
376 wu15=cadena[9:12] No newline at end of file
386 wu15=cadena[9:12]
377 wu16=cadena[13:16] No newline at end of file
387 wu16=cadena[13:16]
378 su13=cadena[17:20] No newline at end of file
388 su13=cadena[17:20]
379 su14=cadena[21:24] No newline at end of file
389 su14=cadena[21:24]
380 su15=cadena[25:28] No newline at end of file
390 su15=cadena[25:28]
381 su16=cadena[29:32] No newline at end of file
391 su16=cadena[29:32]
382 if cnt==9: No newline at end of file
392 if cnt==9:
383 nd01=cadena[1:4] No newline at end of file
393 nd01=cadena[1:4]
384 nd02=cadena[5:8] No newline at end of file
394 nd02=cadena[5:8]
385 nd03=cadena[9:12] No newline at end of file
395 nd03=cadena[9:12]
386 nd04=cadena[13:16] No newline at end of file
396 nd04=cadena[13:16]
387 ed01=cadena[17:20] No newline at end of file
397 ed01=cadena[17:20]
388 ed02=cadena[21:24] No newline at end of file
398 ed02=cadena[21:24]
389 ed03=cadena[25:28] No newline at end of file
399 ed03=cadena[25:28]
390 ed04=cadena[29:32] No newline at end of file
400 ed04=cadena[29:32]
391 if cnt==10: No newline at end of file
401 if cnt==10:
392 nd05=cadena[1:4] No newline at end of file
402 nd05=cadena[1:4]
393 nd06=cadena[5:8] No newline at end of file
403 nd06=cadena[5:8]
394 nd07=cadena[9:12] No newline at end of file
404 nd07=cadena[9:12]
395 nd08=cadena[13:16] No newline at end of file
405 nd08=cadena[13:16]
396 ed05=cadena[17:20] No newline at end of file
406 ed05=cadena[17:20]
397 ed06=cadena[21:24] No newline at end of file
407 ed06=cadena[21:24]
398 ed07=cadena[25:28] No newline at end of file
408 ed07=cadena[25:28]
399 ed08=cadena[29:32] No newline at end of file
409 ed08=cadena[29:32]
400 if cnt==11: No newline at end of file
410 if cnt==11:
401 nd09=cadena[1:4] No newline at end of file
411 nd09=cadena[1:4]
402 nd10=cadena[5:8] No newline at end of file
412 nd10=cadena[5:8]
403 nd11=cadena[9:12] No newline at end of file
413 nd11=cadena[9:12]
404 nd12=cadena[13:16] No newline at end of file
414 nd12=cadena[13:16]
405 ed09=cadena[17:20] No newline at end of file
415 ed09=cadena[17:20]
406 ed10=cadena[21:24] No newline at end of file
416 ed10=cadena[21:24]
407 ed11=cadena[25:28] No newline at end of file
417 ed11=cadena[25:28]
408 ed12=cadena[29:32] No newline at end of file
418 ed12=cadena[29:32]
409 if cnt==12: No newline at end of file
419 if cnt==12:
410 nd13=cadena[1:4] No newline at end of file
420 nd13=cadena[1:4]
411 nd14=cadena[5:8] No newline at end of file
421 nd14=cadena[5:8]
412 nd15=cadena[9:12] No newline at end of file
422 nd15=cadena[9:12]
413 nd16=cadena[13:16] No newline at end of file
423 nd16=cadena[13:16]
414 ed13=cadena[17:20] No newline at end of file
424 ed13=cadena[17:20]
415 ed14=cadena[21:24] No newline at end of file
425 ed14=cadena[21:24]
416 ed15=cadena[25:28] No newline at end of file
426 ed15=cadena[25:28]
417 ed16=cadena[29:32] No newline at end of file
427 ed16=cadena[29:32]
418 if cnt==13: No newline at end of file
428 if cnt==13:
419 wd01=cadena[1:4] No newline at end of file
429 wd01=cadena[1:4]
420 wd02=cadena[5:8] No newline at end of file
430 wd02=cadena[5:8]
421 wd03=cadena[9:12] No newline at end of file
431 wd03=cadena[9:12]
422 wd04=cadena[13:16] No newline at end of file
432 wd04=cadena[13:16]
423 sd01=cadena[17:20] No newline at end of file
433 sd01=cadena[17:20]
424 sd02=cadena[21:24] No newline at end of file
434 sd02=cadena[21:24]
425 sd03=cadena[25:28] No newline at end of file
435 sd03=cadena[25:28]
426 sd04=cadena[29:32] No newline at end of file
436 sd04=cadena[29:32]
427 if cnt==14: No newline at end of file
437 if cnt==14:
428 wd05=cadena[1:4] No newline at end of file
438 wd05=cadena[1:4]
429 wd06=cadena[5:8] No newline at end of file
439 wd06=cadena[5:8]
430 wd07=cadena[9:12] No newline at end of file
440 wd07=cadena[9:12]
431 wd08=cadena[13:16] No newline at end of file
441 wd08=cadena[13:16]
432 sd05=cadena[17:20] No newline at end of file
442 sd05=cadena[17:20]
433 sd06=cadena[21:24] No newline at end of file
443 sd06=cadena[21:24]
434 sd07=cadena[25:28] No newline at end of file
444 sd07=cadena[25:28]
435 sd08=cadena[29:32] No newline at end of file
445 sd08=cadena[29:32]
436 if cnt==15: No newline at end of file
446 if cnt==15:
437 wd09=cadena[1:4] No newline at end of file
447 wd09=cadena[1:4]
438 wd10=cadena[5:8] No newline at end of file
448 wd10=cadena[5:8]
439 wd11=cadena[9:12] No newline at end of file
449 wd11=cadena[9:12]
440 wd12=cadena[13:16] No newline at end of file
450 wd12=cadena[13:16]
441 sd09=cadena[17:20] No newline at end of file
451 sd09=cadena[17:20]
442 sd10=cadena[21:24] No newline at end of file
452 sd10=cadena[21:24]
443 sd11=cadena[25:28] No newline at end of file
453 sd11=cadena[25:28]
444 sd12=cadena[29:32] No newline at end of file
454 sd12=cadena[29:32]
445 if cnt==16: No newline at end of file
455 if cnt==16:
446 wd13=cadena[1:4] No newline at end of file
456 wd13=cadena[1:4]
447 wd14=cadena[5:8] No newline at end of file
457 wd14=cadena[5:8]
448 wd15=cadena[9:12] No newline at end of file
458 wd15=cadena[9:12]
449 wd16=cadena[13:16] No newline at end of file
459 wd16=cadena[13:16]
450 sd13=cadena[17:20] No newline at end of file
460 sd13=cadena[17:20]
451 sd14=cadena[21:24] No newline at end of file
461 sd14=cadena[21:24]
452 sd15=cadena[25:28] No newline at end of file
462 sd15=cadena[25:28]
453 sd16=cadena[29:32] No newline at end of file
463 sd16=cadena[29:32]
454 blck_1_up = [nu01,nu02,nu03,nu04,eu01,eu02,eu03,eu04,nu05,nu06,nu07,nu08,eu05,eu06,eu07,eu08] No newline at end of file
464 blck_1_up = [nu01,nu02,nu03,nu04,eu01,eu02,eu03,eu04,nu05,nu06,nu07,nu08,eu05,eu06,eu07,eu08]
455 blck_1_dw = [nd01,nd02,nd03,nd04,ed01,ed02,ed03,ed04,nd05,nd06,nd07,nd08,ed05,ed06,ed07,ed08] No newline at end of file
465 blck_1_dw = [nd01,nd02,nd03,nd04,ed01,ed02,ed03,ed04,nd05,nd06,nd07,nd08,ed05,ed06,ed07,ed08]
456 blck_2_up = [nu09,nu10,nu11,nu12,eu09,eu10,eu11,eu12,nu13,nu14,nu15,nu16,eu13,eu14,eu15,eu16] No newline at end of file
466 blck_2_up = [nu09,nu10,nu11,nu12,eu09,eu10,eu11,eu12,nu13,nu14,nu15,nu16,eu13,eu14,eu15,eu16]
457 blck_2_dw = [nd09,nd10,nd11,nd12,ed09,ed10,ed11,ed12,nd13,nd14,nd15,nd16,ed13,ed14,ed15,ed16] No newline at end of file
467 blck_2_dw = [nd09,nd10,nd11,nd12,ed09,ed10,ed11,ed12,nd13,nd14,nd15,nd16,ed13,ed14,ed15,ed16]
458 blck_3_up = [wu01,wu02,wu03,wu04,su01,su02,su03,su04,wu05,wu06,wu07,wu08,su05,su06,su07,su08] No newline at end of file
468 blck_3_up = [wu01,wu02,wu03,wu04,su01,su02,su03,su04,wu05,wu06,wu07,wu08,su05,su06,su07,su08]
459 blck_3_dw = [wd01,wd02,wd03,wd04,sd01,sd02,sd03,sd04,wd05,wd06,wd07,wd08,sd05,sd06,sd07,sd08] No newline at end of file
469 blck_3_dw = [wd01,wd02,wd03,wd04,sd01,sd02,sd03,sd04,wd05,wd06,wd07,wd08,sd05,sd06,sd07,sd08]
460 blck_4_up = [wu09,wu10,wu11,wu12,su09,su10,su11,su12,wu13,wu14,wu15,wu16,su13,su14,su15,su16] No newline at end of file
470 blck_4_up = [wu09,wu10,wu11,wu12,su09,su10,su11,su12,wu13,wu14,wu15,wu16,su13,su14,su15,su16]
461 blck_4_dw = [wd09,wd10,wd11,wd12,sd09,sd10,sd11,sd12,wd13,wd14,wd15,wd16,sd13,sd14,sd15,sd16] No newline at end of file
471 blck_4_dw = [wd09,wd10,wd11,wd12,sd09,sd10,sd11,sd12,wd13,wd14,wd15,wd16,sd13,sd14,sd15,sd16]
462 No newline at end of file
472
463 lstup = blck_1_up + blck_2_up + blck_3_up + blck_4_up No newline at end of file
473 lstup = blck_1_up + blck_2_up + blck_3_up + blck_4_up
464 lstdw = blck_1_dw + blck_2_dw + blck_3_dw + blck_4_dw No newline at end of file
474 lstdw = blck_1_dw + blck_2_dw + blck_3_dw + blck_4_dw
465 No newline at end of file
475
466 if polarizacion=='up': No newline at end of file
476 if polarizacion=='up':
467 return lstup No newline at end of file
477 return lstup
468 elif polarizacion=='dw': No newline at end of file
478 elif polarizacion=='dw':
469 return lstdw No newline at end of file
479 return lstdw
470 fichero.close() No newline at end of file
480 fichero.close()
471 No newline at end of file
481
472 def CreaFormatoFinal(self, path, filename): No newline at end of file
482 def CreaFormatoFinal(self, path, filename):
473 ne=self.NumeroDeExperimentos(filename) No newline at end of file
483 ne=self.NumeroDeExperimentos(filename)
474 No newline at end of file
484
475 #nombre01 = file1(archivo,'1') No newline at end of file
485 #nombre01 = file1(archivo,'1')
476 nombre02 = self.file1(filename,'2') No newline at end of file
486 nombre02 = self.file1(filename,'2')
477 fichero=open(path + 'CentralControlFormat.txt','w') No newline at end of file
487 fichero=open(path + 'CentralControlFormat.txt','w')
478 fichero.write(nombre02+'\n') No newline at end of file
488 fichero.write(nombre02+'\n')
479 fichero.write(str(ne)+'\n') No newline at end of file
489 fichero.write(str(ne)+'\n')
480 No newline at end of file
490
481 for i in range(1,65): No newline at end of file
491 for i in range(1,65):
482 No newline at end of file
492
483 if i<10: No newline at end of file
493 if i<10:
484 nmod = '0'+str(i) No newline at end of file
494 nmod = '0'+str(i)
485 else: nmod = str(i) No newline at end of file
495 else: nmod = str(i)
486 No newline at end of file
496
487 fichero.write("ABS_" + nmod+'\n') No newline at end of file
497 fichero.write("ABS_" + nmod+'\n')
488 No newline at end of file
498
489 for j in range(1,ne+1): No newline at end of file
499 for j in range(1,ne+1):
490 ruta=path+str(j)+'.txt' No newline at end of file
500 ruta=path+str(j)+'.txt'
491 lu=self.CapturaValoresEnArchivo(ruta,polarizacion='up') No newline at end of file
501 lu=self.CapturaValoresEnArchivo(ruta,polarizacion='up')
492 ld=self.CapturaValoresEnArchivo(ruta,polarizacion='dw') No newline at end of file
502 ld=self.CapturaValoresEnArchivo(ruta,polarizacion='dw')
493 part1='' No newline at end of file
503 part1=''
494 part2='' No newline at end of file
504 part2=''
495 if lu[i-1]=='1.0': part1='000' No newline at end of file
505 if lu[i-1]=='1.0': part1='000'
496 if lu[i-1]=='2.0': part1='001' No newline at end of file
506 if lu[i-1]=='2.0': part1='001'
497 if lu[i-1]=='3.0': part1='010' No newline at end of file
507 if lu[i-1]=='3.0': part1='010'
498 if lu[i-1]=='0.0': part1='011' No newline at end of file
508 if lu[i-1]=='0.0': part1='011'
499 if lu[i-1]=='0.5': part1='100' No newline at end of file
509 if lu[i-1]=='0.5': part1='100'
500 if lu[i-1]=='1.5': part1='101' No newline at end of file
510 if lu[i-1]=='1.5': part1='101'
501 if lu[i-1]=='2.5': part1='110' No newline at end of file
511 if lu[i-1]=='2.5': part1='110'
502 if lu[i-1]=='3.5': part1='111' No newline at end of file
512 if lu[i-1]=='3.5': part1='111'
503 if ld[i-1]=='1.0': part2='000' No newline at end of file
513 if ld[i-1]=='1.0': part2='000'
504 if ld[i-1]=='2.0': part2='001' No newline at end of file
514 if ld[i-1]=='2.0': part2='001'
505 if ld[i-1]=='3.0': part2='010' No newline at end of file
515 if ld[i-1]=='3.0': part2='010'
506 if ld[i-1]=='0.0': part2='011' No newline at end of file
516 if ld[i-1]=='0.0': part2='011'
507 if ld[i-1]=='0.5': part2='100' No newline at end of file
517 if ld[i-1]=='0.5': part2='100'
508 if ld[i-1]=='1.5': part2='101' No newline at end of file
518 if ld[i-1]=='1.5': part2='101'
509 if ld[i-1]=='2.5': part2='110' No newline at end of file
519 if ld[i-1]=='2.5': part2='110'
510 if ld[i-1]=='3.5': part2='111' No newline at end of file
520 if ld[i-1]=='3.5': part2='111'
511 fichero.write(part1+part2+'\n') No newline at end of file
521 fichero.write(part1+part2+'\n')
512 fichero.write('------'+'\n') No newline at end of file
522 fichero.write('------'+'\n')
513 fichero.close() No newline at end of file
523 fichero.close()
514 No newline at end of file
524
515 def EliminaArchivosEnLaCarpeta(self, path, filename): No newline at end of file
525 def EliminaArchivosEnLaCarpeta(self, path, filename):
516 ne=self.NumeroDeExperimentos(filename) No newline at end of file
526 ne=self.NumeroDeExperimentos(filename)
517 for i in range(1,ne+1): No newline at end of file
527 for i in range(1,ne+1):
518 os.remove(path + str(i)+'.txt') No newline at end of file
528 os.remove(path + str(i)+'.txt')
519 No newline at end of file
529
520 No newline at end of file
530
521 def toCentralControlFormat(self, filename): No newline at end of file
531 def toCentralControlFormat(self, filename):
522 """ Funcion que genera un archivo para el control central""" No newline at end of file
532 """ Funcion que genera un archivo para el control central"""
523 No newline at end of file
533
524 path = os.getcwd() + '/' No newline at end of file
534 path = os.getcwd() + '/'
525 self.CreaFicherosPrevios(path, filename) No newline at end of file
535 self.CreaFicherosPrevios(path, filename)
526 self.CreaFormatoFinal(path, filename) No newline at end of file
536 self.CreaFormatoFinal(path, filename)
527 self.EliminaArchivosEnLaCarpeta(path, filename) No newline at end of file
537 self.EliminaArchivosEnLaCarpeta(path, filename)
@@ -1,8 +1,8
1 import file No newline at end of file
1 import file
2 from client3 import * No newline at end of file
2 from client3 import *
3
3
No newline at end of file
4 opt = "0" No newline at end of file
4 ns = "0" No newline at end of file
5 No newline at end of file
5
6 absObj = ABSClient(ipDestino="10.10.10.97") No newline at end of file
6 absObj = ABSClient(ipDestino="10.10.10.97")
7 #absObj = ABSClient()
7 #absObj = ABSClient()
No newline at end of file
8 absObj.getControlModulePhase(opt) No newline at end of file
8 absObj.getControlModulePhase(ns) No newline at end of file
@@ -1,66 +1,66
1 Status of modules No newline at end of file
1 Status of modules
2 ---------------- No newline at end of file
2 ----------------
3 192.168.1.1 [1 1] No newline at end of file
3 192.168.1.1 [1 1]
4 192.168.1.2 [0 0] No newline at end of file
4 192.168.1.2 [0 0]
5 192.168.1.3 [0 0] No newline at end of file
5 192.168.1.3 [0 0]
6 192.168.1.4 [0 0] No newline at end of file
6 192.168.1.4 [0 0]
7 192.168.1.5 [0 0] No newline at end of file
7 192.168.1.5 [0 0]
8 192.168.1.6 [0 0] No newline at end of file
8 192.168.1.6 [0 0]
9 192.168.1.7 [0 0] No newline at end of file
9 192.168.1.7 [0 0]
10 192.168.1.8 [0 0] No newline at end of file
10 192.168.1.8 [0 0]
11 192.168.1.9 [0 0] No newline at end of file
11 192.168.1.9 [0 0]
12 192.168.1.10 [0 0] No newline at end of file
12 192.168.1.10 [0 0]
13 192.168.1.11 [0 0]
13 192.168.1.11 [0 0]
No newline at end of file
14 192.168.1.12 [1 1] No newline at end of file
14 192.168.1.12 [0 0] No newline at end of file
15 192.168.1.13 [0 0] No newline at end of file
15 192.168.1.13 [0 0]
16 192.168.1.14 [0 0] No newline at end of file
16 192.168.1.14 [0 0]
17 192.168.1.15 [0 0] No newline at end of file
17 192.168.1.15 [0 0]
18 192.168.1.16 [0 0] No newline at end of file
18 192.168.1.16 [0 0]
19 192.168.1.17 [0 0] No newline at end of file
19 192.168.1.17 [0 0]
20 192.168.1.18 [0 0] No newline at end of file
20 192.168.1.18 [0 0]
21 192.168.1.19 [0 0] No newline at end of file
21 192.168.1.19 [0 0]
22 192.168.1.20 [0 0] No newline at end of file
22 192.168.1.20 [0 0]
23 192.168.1.21 [0 0] No newline at end of file
23 192.168.1.21 [0 0]
24 192.168.1.22 [0 0] No newline at end of file
24 192.168.1.22 [0 0]
25 192.168.1.23 [0 0] No newline at end of file
25 192.168.1.23 [0 0]
26 192.168.1.24 [0 0] No newline at end of file
26 192.168.1.24 [0 0]
27 192.168.1.25 [0 0] No newline at end of file
27 192.168.1.25 [0 0]
28 192.168.1.26 [0 0] No newline at end of file
28 192.168.1.26 [0 0]
29 192.168.1.27 [0 0] No newline at end of file
29 192.168.1.27 [0 0]
30 192.168.1.28 [0 0] No newline at end of file
30 192.168.1.28 [0 0]
31 192.168.1.29 [0 0] No newline at end of file
31 192.168.1.29 [0 0]
32 192.168.1.30 [0 0] No newline at end of file
32 192.168.1.30 [0 0]
33 192.168.1.31 [0 0] No newline at end of file
33 192.168.1.31 [0 0]
34 192.168.1.32 [0 0] No newline at end of file
34 192.168.1.32 [0 0]
35 192.168.1.33 [0 0] No newline at end of file
35 192.168.1.33 [0 0]
36 192.168.1.34 [0 0] No newline at end of file
36 192.168.1.34 [0 0]
37 192.168.1.35 [0 0] No newline at end of file
37 192.168.1.35 [0 0]
38 192.168.1.36 [0 0] No newline at end of file
38 192.168.1.36 [0 0]
39 192.168.1.37 [0 0] No newline at end of file
39 192.168.1.37 [0 0]
40 192.168.1.38 [0 0] No newline at end of file
40 192.168.1.38 [0 0]
41 192.168.1.39 [0 0] No newline at end of file
41 192.168.1.39 [0 0]
42 192.168.1.40 [0 0] No newline at end of file
42 192.168.1.40 [0 0]
43 192.168.1.41 [0 0] No newline at end of file
43 192.168.1.41 [0 0]
44 192.168.1.42 [0 0] No newline at end of file
44 192.168.1.42 [0 0]
45 192.168.1.43 [0 0] No newline at end of file
45 192.168.1.43 [0 0]
46 192.168.1.44 [0 0] No newline at end of file
46 192.168.1.44 [0 0]
47 192.168.1.45 [0 0] No newline at end of file
47 192.168.1.45 [0 0]
48 192.168.1.46 [0 0] No newline at end of file
48 192.168.1.46 [0 0]
49 192.168.1.47 [0 0] No newline at end of file
49 192.168.1.47 [0 0]
50 192.168.1.48 [0 0] No newline at end of file
50 192.168.1.48 [0 0]
51 192.168.1.49 [0 0] No newline at end of file
51 192.168.1.49 [0 0]
52 192.168.1.50 [0 0] No newline at end of file
52 192.168.1.50 [0 0]
53 192.168.1.51 [0 0] No newline at end of file
53 192.168.1.51 [0 0]
54 192.168.1.52 [0 0] No newline at end of file
54 192.168.1.52 [0 0]
55 192.168.1.53 [0 0] No newline at end of file
55 192.168.1.53 [0 0]
56 192.168.1.54 [0 0] No newline at end of file
56 192.168.1.54 [0 0]
57 192.168.1.55 [0 0] No newline at end of file
57 192.168.1.55 [0 0]
58 192.168.1.56 [0 0] No newline at end of file
58 192.168.1.56 [0 0]
59 192.168.1.57 [0 0] No newline at end of file
59 192.168.1.57 [0 0]
60 192.168.1.58 [0 0] No newline at end of file
60 192.168.1.58 [0 0]
61 192.168.1.59 [0 0] No newline at end of file
61 192.168.1.59 [0 0]
62 192.168.1.60 [0 0] No newline at end of file
62 192.168.1.60 [0 0]
63 192.168.1.61 [0 0] No newline at end of file
63 192.168.1.61 [0 0]
64 192.168.1.62 [0 0] No newline at end of file
64 192.168.1.62 [0 0]
65 192.168.1.63 [0 0] No newline at end of file
65 192.168.1.63 [0 0]
66 192.168.1.64 [0 0] No newline at end of file
66 192.168.1.64 [0 0]
General Comments 0
You need to be logged in to leave comments. Login now