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

Post Reply
a.atay
Posts: 4
Joined: Thu Aug 18, 2011 6:05 am
Location: Ankara, Turkey

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

Post 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
NaturalPoint - Mike
Posts: 1896
Joined: Tue Feb 01, 2011 8:41 am
Location: Corvallis, OR

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

Post 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.
a.atay
Posts: 4
Joined: Thu Aug 18, 2011 6:05 am
Location: Ankara, Turkey

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

Post by a.atay »

Thank you for your help, it is solved now.

Regards,
Aydin
Post Reply