07-28-2017 05:54 AM - edited 07-28-2017 06:07 AM
Hello!
I would like to take as many images as possible using my AVT Manta G146 camera in 0.25 s. Is Producer/Consumer architecture the fastest way to do this? I have attached my code for reference. Is there any other better and faster way to grab and save images?
Thanks in advance.
Solved! Go to Solution.
07-28-2017 06:29 AM
Hope Existing Architecture itself will be good but try to Transfer Images Using Queue, Which will avoid data Loss and Race Conditions.
07-28-2017 07:08 AM
Thanks for your response. I have transferred the image data through the queue. I am able to save just 15 images in 0.25 s. Is there any other faster way to get more than 15 images?
07-28-2017 07:35 AM
You are attempting to save more than 15 images at 1388x1038 pixels in 0.25", or 60 images per second. Curiously, this is much higher than the camera's stated frame rate of 17.8fps at full resolution. It appears (to me) that you are being limited by the camera, not by LabVIEW.
Bob Schor
07-31-2017 06:54 AM
Thanks Bob Schor. I think I can increase the frame rate by reducing the image acquisition window. I tried to change the image height and width from property node and it doesn't work. How exactly should I change the Image acquisition window of my camera?
Thanks in advance.
07-31-2017 07:24 AM
I guess I found out the solution to change the image acquisition window using property node.
07-31-2017 08:05 AM
I'm glad that the Property Node to change the acquisition parameters worked for you. IMAQdx, possibly because the "camera standard" might not quite be a "standard", is sometimes frustratingly vague, with few examples and code that doesn't quite do what you think it should do. Plus a lot depends on the Camera Manufacturer providing the information and "links" into LabVIEW, Property Nodes, Invoke Nodes, and IMAQ/IMAQdx.
Just wait until you try use an Ethernet camera on a different sub-net than your PC ...
Bob Schor