예제 #1
0
        public static void StartAcquisition(ImaqdxSessionHandle session)
        {
            Debug.Assert(session != null, "The session parameter cannot be null.");
            Debug.Assert(!session.IsInvalid, "The session parameter must be a valid handle.");

            int status = NiImaqdxDll.IMAQdxStartAcquisition(session);

            ExceptionBuilder.CheckErrorAndThrow(status);
        }