Example #1
0
        public uint SendSoftwareTrigger()
        {
            uint ui_ret = DRV_ERROR_ACK;
            int  count  = 0;

            while (ui_ret == DRV_ERROR_ACK && count < 5)
            {
                ui_ret = MyCamera.SendSoftwareTrigger();
                if (ui_ret == DRV_ERROR_ACK)
                {
                    Thread.Sleep(1);
                    count++;
                }
            }
            return(ui_ret);
        }