Page 1 of 1

How to set frame rate?

Posted: Wed Jan 11, 2012 6:51 am
by gpzhao
Hi. I'm new to the camera SDK.

I'm using six s250e cameras. I want to sync these cameras and set the frame rate.
I tried:

Code: Select all

    for(int i=0; i<cameraCount; i++)
	{
		camera[i]->SetFrameRate(100);
	}
But it didn't work. If I haven't set the rate, all six cameras would be synchronized in 120fps. So how can I set the frame rate?

BTW, can the frame rate achieve 250fps?

Thanks.

Re: How to set frame rate?

Posted: Thu Jan 12, 2012 12:10 pm
by NaturalPoint - Mike
Hello -

In precision, segment, or object mode, the limit is 250fps. If you are running in grayscale video or mjpeg mode, the limit is 125fps.

The function definition and explanation is as followed:

Code: Select all

void CameraLibrary::Camera.SetFrameRate(int Value);
This function sets the frame rate of the camera. On V100 and V120 series cameras, a value of 1 sets the camera to operate at 100% speed, a value of 2 sets the camera to operate at 50% speed, and a value of 4 sets the camera to operate at 25% speed. On S250e cameras, the value sets the actual number of frames per second the camera will operate at.