06-01-2017 07:43 AM
Hello,
I was looking for improving labview vi performance as well as improving execution speed of vi.
I found link regarding compiler setting for editor responsiveness and execution speed
http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/compiler_limiting_optimizations/
Kindly guide me what is Editor responsiveness.
I am developing application For multiple UUT Testing.
I am using labview 2014 with NI USB 6353 x series daq card.
My main vi compiled code complexity is 3.9 .
All subvi contain compiled code complexity <1
what should I set compiler setting to get better execution speed.
Regards,
Nisarg Shah
06-01-2017 08:27 AM - edited 06-01-2017 08:31 AM
These settings are not meant to speed up badly written code but to gain a few extra % of performance in well written code. Generally tinkering with these without really knowing what you are doing is always worse, than leaving them at their default.
Instead you should have your code reviewed for bottlenecks in how you perform things. It's very easy to get something done it LabVIEW that seems to work, but it needs some solid software development knowledge to write a program that also performs well. There are many ways to create a very badly performing program in LabVIEW by not following common programming guidelines.
You could start showing your code here, so others can look at it and suggest improvements. Without a really thorough code review of your software by someone who is experienced, fiddling with such settings is like putting rocket fuel in a lawn mower and hoping to get your lawn done quicker that way.
As to the specific topic in your question, Editor Responsivess is when you have a really large application, like several thousend VIs and LabVIEW starts to get so slow that when you click on an object in a diagram it takes several seconds before you can actually move it in the diagram. It has absolutely nothing to do with the runtime performance of your application.