Beispiel #1
0
                /**
                 * Gets a parameter. Generally this is not used.
                 * This can be utilized in
                 * - Using new features without updating API installation.
                 * - Errata workarounds to circumvent API implementation.
                 * - Allows for rapid testing / unit testing of firmware.
                 *
                 * @param param
                 *            Parameter enumeration.
                 * @param ordinal
                 *            Ordinal of parameter.
                 * @param timeoutMs
                 *            Timeout value in ms. If nonzero, function will wait for
                 *            config success and report an error if it times out.
                 *            If zero, no blocking or checking is performed.
                 * @return Value of parameter.
                 */
                public float ConfigGetParameter(ParamEnum param, int ordinal, int timeoutMs)
                {
                    float retval;

                    _ll.ConfigGetParameter(param, out retval, ordinal, timeoutMs);
                    return(retval);
                }