示例#1
0
        public static void GetAttributeMaximum(ImaqdxSessionHandle session, string name, out double value)
        {
            Debug.Assert(session != null, "The session parameter cannot be null.");
            Debug.Assert(!session.IsInvalid, "The session parameter must be a valid handle.");
            Debug.Assert(name != null, "The name parameter cannot be null.");

            int status = NiImaqdxDll.IMAQdxGetAttributeMaximum(session, name, ImaqdxAttributeType.Double, out value);

            ExceptionBuilder.CheckErrorAndThrow(status);
        }