diff options
Diffstat (limited to 'qolab/hardware/scope')
-rw-r--r-- | qolab/hardware/scope/__init__.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/qolab/hardware/scope/__init__.py b/qolab/hardware/scope/__init__.py index ff3eb18..9797efe 100644 --- a/qolab/hardware/scope/__init__.py +++ b/qolab/hardware/scope/__init__.py @@ -30,19 +30,18 @@ class Scope(BasicInstrument): # but might be faster if parameters provided: less IO requests # old_trg_mode = self.getTriggerMode() # self.setTriggerMode('STOP'); # to get synchronous channels - warnings.warn( 'this function is not implemented' ) + raise NotImplementedError( 'getTrace function is not implemented' ) # if old_trg_mode != "STOP": # short speed up here with this check # self.setTriggerMode(old_trg_mode) def getTriggerMode(self): # we expect NORM, AUTO, SINGLE, STOP - warnings.warn( 'this function is not implemented' ) + raise NotImplementedError( 'getTriggerMode function is not implemented' ) def setTriggerMode(self, mode): # we expect NORM, AUTO, SINGLE, STOP - warnings.warn( 'this function is not implemented' ) - + raise NotImplementedError( 'setTriggerMode function is not implemented' ) def getAllTraces(self, availableNpnts=None, maxRequiredPoints=None, decimate=True): allTraces=TraceSetSameX('scope traces') |