LabVIEWForum.de
Cam life feed VISION - Druckversion

+- LabVIEWForum.de (https://www.labviewforum.de)
+-- Forum: LabVIEW (/Forum-LabVIEW)
+--- Forum: LabVIEW Allgemein (/Forum-LabVIEW-Allgemein)
+---- Forum: Signaldarstellung (/Forum-Signaldarstellung)
+---- Thema: Cam life feed VISION (/Thread-Cam-life-feed-VISION)



Cam life feed VISION - b.s - 18.12.2014 22:33

Hello

i am wondering what would speed up labview vision.

I have a 5 MP camera feed (12 bit But usually only 8 bit used) with 15 FPS.

The data is stored as array and feed into a queue (producer consumer) and than somewhere else dequeued and displayed as a VISION image.
I noticed that the queue run filles up and the system lags horribly. I tried flushing the queue after each image dequeue and every thing works perfectly. thus i reason that displaing with VISION is way slower than aquirering. An indicator showing the number of flushed pictures shows an average of 1 sometimes 0 or 2 (rare). When i grab the VI window and move it ( a sure way to stress labview) it spikes to 4 or 5 flushed frames!

How can i improve this? would a graphics card help? or is there a software trick?

greetings Ben

BTW. the camera feed also breaks all other things (sub VIs, parralel loops, aso) (for testing disconnected though), making every thing beeing executed in chunks at the speed of the framerate ( feels like 1-2 frames if run at 15 FPS, but if the cam is restricted to about 9FPS everything goes smooth... well kinda)