LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

SLOC count for LabWindows/CVI Project source file and from .uir file

I'm currently using LabWindows CVI 8.5.

 

I was wondering if LabWindows has any built tools for counting the SLOC in all of the project's .c and .h files.

 

More importantly,  I was wondering what I can do to estimate the total SLOC of a .uir file.  Or, is there some other standard measure of complexity I can use to track the effort involved in creating the .uir file.

 

Thanks,

Mike

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

There was a related discussion a while back, which prompted some brief competitions from contributors. Not much help for the UIR file, though.

 

JR

0 Kudos
Message 2 of 3
(3,639 Views)
Hi Mike, Counting the number of lines in a .c file can be done programmatically by using the LabWindows/CVI 8.5 Server to call functions that obtain information about the CVI environment. There is a thread that discusses doing this programmatically in LabWindows/CVI 7.0, but this same method can be applied in LabWindows/CVI 8.5. Regards, Adri KrugerApplications EngineerNational Instrumentshttp://www.ni.com/support

 

Adri Kruger
National Instruments
LabVIEW Product Marketing
0 Kudos
Message 3 of 3
(3,619 Views)