Example #1
0
 public void SelectDevice(uint index)
 {
     Close();
     _rtlDevice = new RtlDevice(index);
     _rtlDevice.SamplesAvailable += rtlDevice_SamplesAvailable;
     _rtlDevice.Frequency         = _frequency;
 }
Example #2
0
 public void Close()
 {
     if (this._rtlDevice == null)
     return;
       this._rtlDevice.Stop();
       this._rtlDevice.SamplesAvailable -= new SamplesAvailableDelegate(this.rtlDevice_SamplesAvailable);
       this._rtlDevice.Dispose();
       this._rtlDevice = (RtlDevice) null;
 }
Example #3
0
 public void Close()
 {
     if (_rtlDevice != null)
     {
         _rtlDevice.Stop();
         _rtlDevice.SamplesAvailable -= rtlDevice_SamplesAvailable;
         _rtlDevice.Dispose();
         _rtlDevice = null;
     }
 }
Example #4
0
 public void Close()
 {
     if (_rtlDevice != null)
     {
         _rtlDevice.Stop();
         _rtlDevice.SamplesAvailable -= rtlDevice_SamplesAvailable;
         _rtlDevice.Dispose();
         _rtlDevice = null;
     }
 }
Example #5
0
 public void SelectDevice(uint index)
 {
     Close();
     _rtlDevice = new RtlDevice(index);
     _rtlDevice.SamplesAvailable += rtlDevice_SamplesAvailable;
     _rtlDevice.Frequency = _frequency;
 }
Example #6
0
 public void SelectDevice(uint index)
 {
     this.Close();
       this._rtlDevice = new RtlDevice(index);
       this._rtlDevice.SamplesAvailable += new SamplesAvailableDelegate(this.rtlDevice_SamplesAvailable);
       this._rtlDevice.Frequency = this._frequency;
 }