diff options
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/hardware/scope/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qolab/hardware/scope/__init__.py b/qolab/hardware/scope/__init__.py index ae311d1..bced5a6 100644 --- a/qolab/hardware/scope/__init__.py +++ b/qolab/hardware/scope/__init__.py @@ -66,7 +66,7 @@ class Scope(BasicInstrument): def save(self, fname=None, item_format='e', availableNpnts=None, maxRequiredPoints=None, decimate=True, extention='dat'): allTraces = self.getAllTraces(availableNpnts=availableNpnts, maxRequiredPoints=maxRequiredPoints, decimate=decimate) if fname is None: - fname = get_next_data_file(self.config['FnamePrefix'], self.config['SavePath'], extention=extention) + fname = self.getNextDataFile(extention=extention) allTraces.save(fname, item_format=item_format) return(fname) |