Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the maximum frame rate of the camera by changing the image size?

I have two  acA2040-180km cameras which are connected to 2 NI PCIe-1433 framegrabbers, I am monitoring my cameras by LabView, maximum allowable frame rate is about 187 for full resolution images, but I just need a small fraction of the images, I know if I make the images smaller, FPS will get higher, but it isn't possible by changing the image size in NI MAX, I've also tried to change the size by defining the region of interest in the grab setup.vi, but it would be after going to camera so it isn't the case as well, so I need a VI to go to the camera before starting to take photo and define the region of interest which is going to be captured, would you please help me to find it?

 

Please help me, this problem get me stuck!!!

0 Kudos
Message 1 of 11
(7,563 Views)

You can do it in MAX.  Adjust the image size by changing the top, left, height, and width values.  Make sure your exposure time is short enough to get a higher frame rate!

 

You can change the same values in your program using property nodes before starting the acquisition.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 11
(7,562 Views)

Thank you very much for your answer Bruce, but I've changed the size of image in MAX and maximum frame rate didn't change, it just changed the image size that is transfered to the memory for displaying or storing!

0 Kudos
Message 3 of 11
(7,546 Views)

Did you reduce the exposure time?  That directly affects the frame rate, so just reducing the image size might not be enough.

 

Every Basler camera I have worked with has been capable of a higher frame rate if the image size was reduced and the exposure time was short enough.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 4 of 11
(7,538 Views)

I reduced that as well, but fps didn't exceed of 180(maximum allowable value), otherwise, I want to increas FPS independently of exposure time just by getting a small fraction of images, in Labview, something that could manage the camera to take smaller images, not just displaying or transfering small fraction of images which have been already taken, is it possible?

0 Kudos
Message 5 of 11
(7,536 Views)

Have you tried changing the image size using property nodes as Bruce suggested? Do remember with Basler cameras, reducing the width only will not affect the transfer speed but the reducing the height will. Have a look at the frame calculator to understand what you frame rates you can acheive with certain settings:

Basler Frame Rate Calculator

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 6 of 11
(7,531 Views)
I suspect that the Ace's camera file is not changing the AOI on the camera when you are reducing it (it is just changing the area captured). You would probably need to use Basler's Pylon utility to adjust the AOI on the camera as well.

Eric
0 Kudos
Message 7 of 11
(7,517 Views)

Actually I couldn't find the image size in the property node, I really don't know how can I manage it, I've just connect the image type terminal of the property node to the IMAQ creat, would you pleade help me to manage it?

0 Kudos
Message 8 of 11
(7,504 Views)

Hi,

I am trying to install Pylon on my computer for changing the AOI, however it recognizes the cameras but I cannot capture images, in fact the one shot and other grabbing images buttons are no active, what should I do? 

 

please help me!!

0 Kudos
Message 9 of 11
(7,450 Views)
Pylon can't acquire from CameraLink cameras; only control them. That is why they are greyed out. You should be able to use it simultaneously with MAX though.

Eric
0 Kudos
Message 10 of 11
(7,433 Views)