예제 #1
0
 def __init__(self, app, conf):
     BaseHw.__init__(self, app, conf)
     self.GUI = None
     self.vfo_frequency = 0  # current vfo frequency
     self.v2filter = None
     # Other hardware
     self.anttuner = station_hardware.AntennaTuner(
         app, conf)  # Control the antenna tuner
     self.controlbox = station_hardware.ControlBox(
         app, conf)  # Control my Station Control Box
예제 #2
0
 def __init__(self, app, conf):
   BaseHw.__init__(self, app, conf)
   self.GUI = None
   self.vfo_frequency = 0		# current vfo frequency
   self.rf_gain_labels = ('RF 0 dB', 'RF +16')
   self.rf_gain = 0	# Preamp or attenuation in dB; changed via app.Hardware
   # Other hardware
   self.anttuner = station_hardware.AntennaTuner(app, conf)	# Control the antenna tuner
   #self.lpfilter = station_hardware.LowPassFilter(app, conf)	# Control LP filter box
   #self.hpfilter = station_hardware.HighPassFilter(app, conf)	# Control HP filter box
   self.controlbox = station_hardware.ControlBox(app, conf)	# Control my Station Control Box
   self.v2filter = station_hardware.FilterBoxV2(app, conf)	# Control V2 filter box
예제 #3
0
 def __init__(self, app, conf):
     BaseHw.__init__(self, app, conf)
     if hasattr(app, 'is_vna_program'):
         self.is_vna = True
     else:
         self.is_vna = False
     self.vfo_frequency = 0  # current vfo frequency
     self.rf_gain_labels = ('RF 0 dB', 'RF +16', 'RF -20', 'RF -10')
     self.rf_gain = 0  # Preamp or attenuation in dB; changed via app.Hardware
     # Other hardware
     self.anttuner = station_hardware.AntennaTuner(
         app, conf)  # Control the antenna tuner
     self.lpfilter = station_hardware.LowPassFilter(
         app, conf)  # Control LP filter box
     self.hpfilter = station_hardware.HighPassFilter(
         app, conf)  # Control HP filter box
     self.controlbox = station_hardware.ControlBox(
         app, conf)  # Control my Station Control Box
     self.v2filter = station_hardware.FilterBoxV2(
         app, conf)  # Control V2 filter box