##// END OF EJS Templates
Some comments
Miguel Valdez -
r629:f2709955a65d
parent child
Show More
@@ -415,13 +415,14 class USRPReader(ProcessingUnit):
415 415 except IOError, e:
416 416 #read next profile
417 417 self.__flagDiscontinuousBlock = True
418 print e
418 print "[Reading] %s" %datetime.datetime.utcfromtimestamp(self.thisSecond - self.__timezone), e
419 419 break
420 420
421 421 if result.shape[0] != self.__samples_to_read:
422 422 self.__flagDiscontinuousBlock = True
423 print "[Reading] %s: Too few samples were found, just %d samples" %(datetime.datetime.utcfromtimestamp(self.thisSecond - self.__timezone),
424 result.shape[0])
423 print "[Reading] %s: Too few samples were found, just %d/%d samples" %(datetime.datetime.utcfromtimestamp(self.thisSecond - self.__timezone),
424 result.shape[0],
425 self.__samples_to_read)
425 426 break
426 427
427 428 self.__data_buffer[indexChannel,:] = result*volt_scale
General Comments 0
You need to be logged in to leave comments. Login now