How to set frame rate?

Post Reply
gpzhao
Posts: 3
Joined: Sat Dec 24, 2011 1:58 am

How to set frame rate?

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

Re: How to set frame rate?

Post 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.
Post Reply