Fixed a bug in tnmr interface, added functionality to load calibration files in ZVL net analyser
This commit is contained in:
@@ -41,6 +41,10 @@ class ZVLNetAnalyzer():
|
||||
#self.instrument.write('INIT:SCOP OFF')
|
||||
#self.instrument.write('DISPlay:WINDow2:STATe ON')
|
||||
|
||||
def load_calibration(self, f):
|
||||
self.instrument.write(f":MMEMORY:STORE:CORR 1, 'OSM1 {f}'") # put calibration in pool
|
||||
self.instrument.write(f":MMEMORY:LOAD:CORR 1, 'OSM1 {f}'") # load from pool
|
||||
|
||||
def set_freq_range(self, start, stop):
|
||||
'''In Hz'''
|
||||
self.instrument.write(f'SENS1:FREQ:STAR {start}')
|
||||
|
||||
Reference in New Issue
Block a user