LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Weeding out unused LabWindows/CVI functions and variables

Is there a tool to weed out unused LabWindows/CVI functions and global variables in a CVI project?
 
I know CVI can catch unused local variables, but what about these other things?
0 Kudos
Message 1 of 5
(3,586 Views)
Have you taken a look at PC-Lint
----
I am the founder of CnCSoftwareSolutions. When not cleaning up baby drool, I write about test data or work on Vision, a tool for understanding your test data. Visit me at www.cncsoftwaresolutions.com
0 Kudos
Message 2 of 5
(3,580 Views)
There is no functions or tools inside of CVI that will tell you which variables or functions are not use. It will tell you about variables that are not used when you compile the code, however any defined functions that are not used will not cause any messages to appear.
 
Tyler Heikes
Applications Engineer
National Instruments
 
0 Kudos
Message 3 of 5
(3,545 Views)

Thanks for the replies here.

I would try PC-Lint if weren't $239!

I managed to write my own crude function weeder-outer using LabVIEW though, that went smoothly.

0 Kudos
Message 4 of 5
(3,526 Views)
Well, if the cost of PC-Lint is too steep, you can try one of the open-source alternatives.   Free to download and install.  Splint seems to be popular.  Let us know how it works if you try it.
----
I am the founder of CnCSoftwareSolutions. When not cleaning up baby drool, I write about test data or work on Vision, a tool for understanding your test data. Visit me at www.cncsoftwaresolutions.com
0 Kudos
Message 5 of 5
(3,500 Views)