AnsweredAssumed Answered

Automation of filter measurements

Question asked by Prathiba on Jul 17, 2019
Latest reply on Jul 22, 2019 by daras

Hello everyone, I am doing automation of Sparameters of filter using python coding and GPIB cable. I can able to change the frequency after calibration manually but I cannot do it using code. . I created a class named network analyzer ,in that I gave definitions, to call them I created an object (aaa).I am attaching the respective code below, please do let me know what is the problem. Thank you guys in advance

 

 

def Start_StopFrequency(self,START,STOP): #set start and stop frequencies
    self.NetworkAnalyzer.write("SENS1:FREQ:STAR "+START)
    self.NetworkAnalyzer.write("SENS1:FREQ:STOP "+STOP)

 

aaa.Start_StopFrequency("1800000000","2200000000");

Outcomes