// Initialize with camera instance public void Initialize(FLIRCamera camera) { _camera = camera; _camera.ConnectionStatusChanged += _camera_ConnectionStatusChanged; _timer.Tick += _timer_UpdateDisplay; _timer.Interval = 100; _timer.Start(); }
private ImageBase _camera_TakeSnapshot(FLIRCamera camera) { ImageBase image = null; camera.GetImage().EnterLock(); try { // CameraFeed1.Image = _manager.GetImage(index).Image; image = camera.GetImage(); } catch (Exception exception) { _logger.Error("METEC Recorder", exception.Message); } finally { camera.GetImage().ExitLock(); } return(image); }