Example #1
0
 public SDRIQControllerDialog(SdrIqIO owner)
 {
     this.InitializeComponent();
     this._owner = owner;
     DeviceDisplay[] activeDevices = DeviceDisplay.GetActiveDevices();
     this.deviceComboBox.Items.Clear();
     this.deviceComboBox.Items.AddRange(activeDevices);
     this.samplerateComboBox.SelectedIndex = Utils.GetIntSetting("SDRIQSampleRate", 5);
     this.ifGainTrackBar.Value             = Utils.GetIntSetting("SDRIQIFGain", 5);
     this.rfGainTrackBar.Value             = Utils.GetIntSetting("SDRIQRFGain", 2);
     this._initialized = true;
 }
Example #2
0
 public SDRIQControllerDialog(SdrIqIO owner)
 {
     this.InitializeComponent();
       this._owner = owner;
       DeviceDisplay[] activeDevices = DeviceDisplay.GetActiveDevices();
       this.deviceComboBox.Items.Clear();
       this.deviceComboBox.Items.AddRange((object[]) activeDevices);
       this.samplerateComboBox.SelectedIndex = Utils.GetIntSetting("SDRIQSampleRate", 5);
       this.ifGainTrackBar.Value = Utils.GetIntSetting("SDRIQIFGain", 5);
       this.rfGainTrackBar.Value = Utils.GetIntSetting("SDRIQRFGain", 2);
       this._initialized = true;
 }
        public SDRIQControllerDialog(SdrIqIO owner)
        {
            InitializeComponent();

            _owner = owner;

            var devices = DeviceDisplay.GetActiveDevices();
            deviceComboBox.Items.Clear();
            deviceComboBox.Items.AddRange(devices);

            samplerateComboBox.SelectedIndex = Utils.GetIntSetting("SDRIQSampleRate", 5);
            ifGainTrackBar.Value = Utils.GetIntSetting("SDRIQIFGain", 5);
            rfGainTrackBar.Value = Utils.GetIntSetting("SDRIQRFGain", 2);

            _initialized = true;
        }