Example #1
0
        /// <summary>
        /// Function for retrieving the software Automatic gain control settings.
        /// </summary>
        /// <returns>Returns <see cref="Devices.SoftwareAgc"/> settings.</returns>
        public SoftwareAgc SoftwareAgc()
        {
            var agc    = new NativeDefinitions.SoftAgcData();
            var result = G313DemodulatorApi.GetSoftAGC(GetHandle(), ref agc);

            if (!result)
            {
                throw new OperationFailedException("failed to retrieve software Agc", _parent);
            }

            return(new SoftwareAgc().FillManged(agc));
        }
Example #2
0
 public static extern bool SetSoftAGC(int radioHandle, NativeDefinitions.SoftAgcData data);