Property Inspector Macros

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging Project Percentages

Property Inspector 5 can log the percentage of one search to another. Examples include:
1. How many of my controls are strict?
2. How many of my reentrant VIs are preallocated?
3. How many of the VIs that could be set inline are inline?

 

PI5 includes Persistent Selection. This feature maintains the selected items when a new search is performed. The status bar in the lower middle of the screen can show the percentage of the search results that are selected. To show the percentage perform the smaller search first, select all and perform the bigger search.

 

Here is a sample macro to log the percentages described above (5.1 required):

PI Log C:\Temp\PI Logs\Proj Percentages for %NAME.txt

Select None
Search Type Contains Control
Search In Type Contains Strict
Select All
Log Percent of controls that are strict
Search Type Contains Control

Select None
Search Reentrant True
Search Reentrancy Type Contains Pre
Select All
Log Percent of Reentrant VIs that are Preallocated
Search Reentrant True

Select None
Search Inline subvi Not Blank/true
Select All
Log Percent of Inline Allowed that are inline
Search Inline is Allowed Not Blank/true

PI Log

Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.0, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
Contributors