Пример #1
0
        /// <summary>
        /// Gets default sweep parameters.
        /// </summary>
        /// <param name="radio">Radio context.</param>
        /// <param name="from">Frist frequency.</param>
        /// <param name="to">Last frequency.</param>
        /// <returns>Returns <see cref="BinParameters"/> specified parameters.</returns>
        public static SweepParameters SweepParametersDefault(this G313Radio radio, uint from, uint to)
        {
            var parameters = new SweepParameters
            {
                AutoConfigure = true,
                From          = from,
                IfGain        = 50,
                Precision     = 31.25,//15.7, //2.93,
                SweepSpan     = 10000,
                To            = to
            };

            return(parameters);
        }
Пример #2
0
 /// <summary>
 /// provides software baes Sweeper unit for WinRadio G313 devices.
 /// </summary>
 /// <param name="radio">Radio context.</param>
 /// <param name="parameters">Specified Sweep parameters.</param>
 /// <returns>Returns <see cref="G313Sweeper"/> sweeper context.</returns>
 public static G313Sweeper Sweeper(this G313Radio radio, SweepParameters parameters)
 {
     return(new G313Sweeper(radio, parameters));
 }
Пример #3
0
 /// <summary>
 /// Creates a WinRadio G313 sweeper context.
 /// </summary>
 /// <param name="radio">Radio context.</param>
 /// <param name="parameters">Sweepe parameters</param>
 public G313Sweeper(G313Radio radio, SweepParameters parameters)
 {
     _radio           = radio;
     _sweepParameters = parameters;
 }