Esempio n. 1
0
        public void ContinuouslyGrab()
        {
            DeviceOpen();

            _grabImageInitMethod  = new PylonGrabImageInitHandler(streamGrabModeInitMethod);
            _grabImageStartMethod = new PylonGrabImageStartHandler(streamdGrabModelStartMethod);
            _grabImageCleanMethod = new PylonGrabImageCleanHandler(streamGrabModeCleanMethod);

            streamGrabModeInitMethod();
            if (!_bgworker.IsBusy)
            {
                /* Let the camera acquire images. */
                Pylon.DeviceExecuteCommandFeature(_pylonDevHandle, "AcquisitionStart");

                _bgworker.RunWorkerAsync();
            }
        }
        public void ContinuouslyGrab()
        {
            DeviceOpen();

            _grabImageInitMethod = new PylonGrabImageInitHandler(streamGrabModeInitMethod);
            _grabImageStartMethod = new PylonGrabImageStartHandler(streamdGrabModelStartMethod);
            _grabImageCleanMethod = new PylonGrabImageCleanHandler(streamGrabModeCleanMethod);

            streamGrabModeInitMethod();
            if (!_bgworker.IsBusy)
            {
                /* Let the camera acquire images. */
                Pylon.DeviceExecuteCommandFeature(_pylonDevHandle, "AcquisitionStart");

                _bgworker.RunWorkerAsync();
            }
        }