@@ -3475,7 +3475,7 @@ def redraw(self, recomputeAllDeltas=True, smooth=False):
3475
3475
3476
3476
3477
3477
#if recorder on
3478
- if self.flagon:
3478
+ if self.flagon and self.eventsshowflag :
3479
3479
#update to last event
3480
3480
if Nevents:
3481
3481
aw.etypeComboBox.setCurrentIndex(self.specialeventstype[Nevents-1])
@@ -14882,13 +14882,15 @@ def HottopControlOff(self):
14882
14882
aw.button_10.setStyleSheet(aw.pushbuttonstyles["PID"])
14883
14883
14884
14884
def HottopControlOn(self):
14885
- # start drum motor
14886
- aw.qmc.hottop_SET_DRUM_MOTOR = 1
14887
- aw.button_10.setStyleSheet(aw.pushbuttonstyles["PIDactive"])
14888
- if not self.HottopControlActive:
14889
- aw.sendmessage(QApplication.translate("Message","Hottop control turned on", None, QApplication.UnicodeUTF8))
14890
- self.HottopControlActive = True
14891
- self.sendHottopControl()
14885
+ pass
14886
+ # deactivated for now due to safety concerns
14887
+ # # start drum motor
14888
+ # aw.qmc.hottop_SET_DRUM_MOTOR = 1
14889
+ # aw.button_10.setStyleSheet(aw.pushbuttonstyles["PIDactive"])
14890
+ # if not self.HottopControlActive:
14891
+ # aw.sendmessage(QApplication.translate("Message","Hottop control turned on", None, QApplication.UnicodeUTF8))
14892
+ # self.HottopControlActive = True
14893
+ # self.sendHottopControl()
14892
14894
14893
14895
def sendHottopControl(self):
14894
14896
if self.HottopControlActive:
@@ -23634,6 +23636,9 @@ def __init__(self):
23634
23636
self.YOCTOchan2 = None
23635
23637
#stores the id of the meter HH506RA as a string
23636
23638
self.HH506RAid = "X"
23639
+ #MS6514 variables
23640
+ self.MS6514PrevTemp1 = -1
23641
+ self.MS6514PrevTemp2 = -1
23637
23642
#select PID type that controls the roaster.
23638
23643
# Reads/Controls ET
23639
23644
self.controlETpid = [0,1] # index0: type of pid: 0 = FujiPXG, 1 = FujiPXR3, 2 = DTA
@@ -35393,12 +35398,15 @@ def main():
35393
35398
# font fix for OS X 10.9
35394
35399
try:
35395
35400
v, _, _ = platform.mac_ver()
35396
- v = float('.'.join(v.split('.')[:2]))
35397
- if v >= 10.10:
35398
- # fix Mac OS X 10.10 (Yosemite) font issue
35401
+ #v = float('.'.join(v.split('.')[:2]))
35402
+ v = v.split('.')[:2]
35403
+ major = int(v[0])
35404
+ minor = int(v[1])
35405
+ if major >= 10 and minor >= 10: #v >= 10.10:
35406
+ # fix Mac OS X 10.10 (Yosemite) font issue [seems not to have any effect!?]
35399
35407
# https://bugreports.qt-project.org/browse/QTBUG-40833
35400
35408
QFont.insertSubstitution(".Helvetica Neue DeskInterface", "Helvetica Neue")
35401
- elif v >= 10.9:
35409
+ if major >= 10 and minor >= 9: # v >= 10.9:
35402
35410
# fix Mac OS X 10.9 (Mavericks) font issue
35403
35411
# https://bugreports.qt-project.org/browse/QTBUG-32789
35404
35412
QFont.insertSubstitution(".Lucida Grande UI", "Lucida Grande")
0 commit comments