Camera doesn't work

Hi,

I try to capture image by Camera but CameraReady property doesn’t become true and exception happen when TakePicture and StartStreaming is called.
Is this bug of R5 SDK?
Is there any temporary solution?

Regards,

A known issue with the latest release.

See
https://www.ghielectronics.com/community/forum/topic?id=17180&page=1#msg171087

1 Like

Hi, show your code where you try to take a picture… Do you do a pictureready in timer event?

Yes, I call in timer tick handler

        void timer_Tick(GT.Timer timer)
        {
            timer.Stop();
            if (camera.CameraReady)
            {
                camera.TakePicture();
            }
            timer.Start();
        }

What camera do you use?

Try to put startstreaming method in program started func and chech your newimageready

I use https://www.ghielectronics.com/catalog/product/283
When StartStreaming is called, exception happens.

If it did not become true then how it jump to TakePicture() function and throw exception?
:think:

Is there already a fix available? Cannot use the camera as well.

@ AWSOMEDEVSIGNER - Take a look at Sprigo’s post.

@ John - Will do. Was late already. Thanks :slight_smile: