Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.
Right now, LabVIEW VIAnalyzer detection rules for Locals and Globals is very simple -- count the number that exist and flag if number >= constant.
However, I'd find it more useful if I could filter out certain usages of locals/globals and not count them in the total count of locals/globals.
The usage that I would like to filter out is when the local/global is used "as a type" rather than for the value (granted the example below has the "MyCustomControl" being used as a type really also is being used as value for any items not specifically assigned in the bundle by name, but let's ignore that for now).
I would imagine VIanalyzer configuration for the globals/locals rule would change to look something like this:
which would NOT count locals that are used in situations like this:
(Sorry, VIsnippet didn't work out right for locals)