Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 613 → Rev 614

/VibrationTest/trunk/VibrationTest/VibrationTestGui.py
478,7 → 478,8
if len(s[1]) != 2: raise Exception("Invalid format")
mp.speeds = range(int(s[0]),int(s[1][0])+int(s[1][1]),int(s[1][1]))
else:
mp.speeds = s.split(',')
mp.speeds = map(int,s.split(','))
# create the dialog that will show the satus
dlg = MeasureDialog(self)
635,7 → 636,7
def getVibValue(self):
if self.vibValue == None:
fd = self.getFilteredData();
fd = self.getFilteredData()[100:-100];
self.vibValue = max(fd)-min(fd)
return self.vibValue