LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

VI analyzer for Labwindows CVI

Solved!
Go to solution

is there something called VI analyzer for performing the unit testing and tracing bug the throughout the modules within Cvi environment ? 

0 Kudos
Message 1 of 2
(2,358 Views)
Solution
Accepted by tsachin

There isn't an exact equivalent of the VI analyzer in CVI environment, nevertheless this IDE offers several tool that can help in designing and debugging good code.

 

First of all, the last versions of CVI that integrate clang compiler offer a customizable list of building warnigs that can check for 150+ common code errors. See Options >> Build Options >> Compiler warnings dialog and the related help page

 

When in debug configuration, if you enable extended debugging level you can benefit from the Resource Tracking Window, which enumerates all allocated resources and dynamic memory blocks, thus helping you in detecting memory leaks and lost resources.

NOTE: this option is available only in the Full Development System

 

Finally, CVI offers the Execution Profiler Toolkit, that helps in time-profiling your application to optimize them for execution time.

 

Additionally, being CVI a standard C-language tool, you can benefit from third party tools that analyze your code and gives metrics and statistics on the code complexity, percentage of comments, code depths and so on. One of the simplest, yet powerful tools is SourceMonitor, which additionally is freeware software, but you can get plenty of them out there.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(2,326 Views)