/VibrationTest/trunk/VibrationTest/VibrationTestGui.py |
---|
478,9 → 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 = map(int,s.split(',')) |
mp.speeds = s.split(',') |
# create the dialog that will show the satus |
dlg = MeasureDialog(self) |
dlg.CenterOnScreen() |
636,7 → 635,7 |
def getVibValue(self): |
if self.vibValue == None: |
fd = self.getFilteredData()[100:-100]; |
fd = self.getFilteredData(); |
self.vibValue = max(fd)-min(fd) |
return self.vibValue |