LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to speed up execution time

Solved!
Go to solution

Hi all - I'm working on an application where I acquire images using a polarization camera, do some basic manipulation of the images to calculate information about the polarization state of the detected light, and then display that information in real time as the camera runs. I'm running into an issue where the calculations are significantly limiting the frame rate because of the computational time. I'm attaching the subVI that is the rate-limiting step in the calculations - it seems pretty basic so I'm not sure if there's anything that can be done to speed up its execution but wanted to ask since I'm new to LabView and may be missing something obvious that could help speed up the code. Thanks!

0 Kudos
Message 1 of 3
(1,275 Views)
Solution
Accepted by topic author banjoinhand

Typically, you decouple the image capture loop and processing loop, do you have a requirement to process the image before the next capture?

santo_13_0-1661257934155.png

I don't think this subVI is the limiting factor but rather the architecture that is using this SubVI. The implementation of the VI is simple enough to use primitives and you should get the best performance.

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 3
(1,267 Views)

Thanks - I switched the image processing and live displays to a separate loop from the image acquisition and that helped significantly.

0 Kudos
Message 3 of 3
(1,215 Views)