Commits

iorodeo  committed 0eb5652

Reomved unused timer sleep from current_controller_app.

  • Participants
  • Parent commits 6dd57ef

Comments (0)

Files changed (1)

File host/current_controller/current_controller/current_controller_app.py

 from PyQt4 import QtCore
 from PyQt4 import QtGui
 from current_controller import CurrentController
-
 from current_controller_ui import Ui_CurrentController_MainWindow 
 
-SET_CURRENT_DT = 0.10
 
 class Controller_MainWindow(QtGui.QMainWindow, Ui_CurrentController_MainWindow):
     """
         return slider.value()
 
     def channelValueChanged_Callback(self,value,chan=None):
+        """
+        Sets new current value in device.
+        """
         self.dev.set_current_value(chan,value)
-        #time.sleep(SET_CURRENT_DT)
 
     def setChanGroupBoxEnabled(self,value):
         """