Beispiel #1
0
        public override uint Acquire(int[] data)
        {
            uint ret;
            uint npx = (uint)data.Length;

            sdk.SetReadMode(ReadModeFVB);
            sdk.StartAcquisition();
            sdk.WaitForAcquisition();
            ret = sdk.GetAcquiredData(data, npx);
            if (ret != AndorSDK.DRV_SUCCESS)
            {
                return(ret);
            }

            //Log.Debug("Camera returned " + DecodeStatus(ret));
            //ThrowIfSaturated(data);
            return(ret);
        }