示例#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)
     self.use_sidetone = 1
     self.vfo_frequency = 0  # current vfo frequency
     self.rf_gain_labels = ('RF 0 dB', 'RF +16', 'RF -20', 'RF -10')
     # 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
示例#4
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