SENSSOFT-75 # Resolved bug in sampling due to pyqt object reference out of scope.