12-08-2022 02:01 AM
I have NI Vision developement installed on my computer. I have USB RGB camera connected to my computer
When I use NI-MAX to inspect camera grabing image, it works perfectly. I set camera using NI-MAX and then save configuratin using "Save" in NI-MAX.
Then I open camera in labview VI using IMAQdx Open Camera.vi. Then in while loop I am grabing image and it works perfectly, fps = 500. Howewer when I try to display on the Image on the IMAQ image on the front panel fps drops dramatically to fps=1,6. The image format selected in NI-MAY is 160-120 MJPG.
How to speed up ?
12-08-2022 02:55 AM - edited 12-08-2022 02:57 AM
the ideal solution is to decouple acquisition and display.
also, it doesn't make sense to try to display 500fps.. I mean if you have a gamers monitor, it will display max 120 Hz so trying to refresh an image display on the from panel in a loop that runs at 500Hz sounds a bit silly.
I don't have VAS and VDM anymore (I use to in my previous job) but I'm pretty sure you'll find examples in LabVIEW or on the forums.
Back in 2007 I had a project in which I was acquiring and processing continuously at 4000 fps, refreshing the display at 10Hz
So I'm pretty sure you can find a solution
Good luck to you
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
12-08-2022 03:46 AM
Hi AndrazS,
What is the resolution of your image ?
A high pixel resolution multiplied by the RGB data may rapidly increase the memory used to display the image.
Also, could you attach your VI where you tested your acquisition and display ?
You might be doing something non-optimal with the GUI to have such performance loss...