Page 1 of 1

How to disable IR LEDs of VR100:R2 camera in code?

Posted: Tue Jan 10, 2012 1:36 am
by a.atay
I am trying to turn off all LEDs of camera(IR LED Ring) by using software. In other words, I want to not detect reflective objects to be able to use our laser. I tried this code but it did not work :

cameras->SetLED(IlluminationLED,false);
cameras->SetLED(GreenStatusLED,false);
cameras->SetLED(RedStatusLED,false);
cameras->SetLED(CaseStatusLED,false);
cameras->SetStatusIntensity(0);

I will be very glad if I receive answers soon.
Regards,
Aydin

Re: How to disable IR LEDs of VR100:R2 camera in code?

Posted: Tue Jan 10, 2012 5:23 pm
by NaturalPoint - Mike
In the Camera SDK, the following function would be used to disable IR LEDs:

Code: Select all

void CameraLibrary::Camera.SetIntensity(int value);
Valid values are 0-15, with 0 being off.

The functions you listed are for the Status LEDs.

Re: How to disable IR LEDs of VR100:R2 camera in code?

Posted: Wed Jan 11, 2012 1:39 am
by a.atay
Thank you for your help, it is solved now.

Regards,
Aydin