private void OnEndAcqCallback(IntPtr hAcqDesc)
        {
            uint AcqData;

            PKL_Interface.Acquisition_GetAcqData(hAcqDesc, out AcqData);

            TextLog.SaveLogOperate("Is ACQ_CONT:" + (AcqData == ACQ_CONT).ToString() + " ......In Function : OnEndAcqCallback"); //log
            TextLog.SaveLogOperate("Frames: " + capConfig.captureFrame.ToString() + " ......In Function : OnEndAcqCallback");    //log

            //set data has been acquired consummately
            if (AcqData == ACQ_CONT)
            {
                int Frames = (int)capConfig.captureFrame;
                int Rows   = (int)capConfig.dwRows;
                int Cols   = (int)capConfig.dwColumns;
                dataList = TypeConvert.BufferToArrayList(pAcqBuffer, Frames, Rows, Cols);
                //if (pAcqBuffer != null)
                //{
                //    Marshal.FreeHGlobal((IntPtr)pAcqBuffer);
                //    Kernel32Interface.CloseHandle((IntPtr)pAcqBuffer);
                //    pAcqBuffer = null;
                //}

                if (dataList != null && dataList.Count >= 1)
                {
                    addAngle(angle);
                }

                TextLog.SaveLogOperate("Callback dataList count:" + dataList.Count.ToString() + "......In Function : OnEndAcqCallback"); //log
            }

            TextLog.SaveLogOperate("End Acquire Call Back" + " ......In Function : OnEndAcqCallback"); //log

            Kernel32Interface.PostMessage(this.hWnd, WIN_MSG.WM_PROGRESS, -1, 0);

            //Kernel32Interface.SetEvent(hevEndAcq);
        }