Property Inspector Macros

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Search - Find Library Access Scope Private or Protected

You can easily expand Property Inspector's functions by running scripts compatible with VI Analyzer.  Start with the included VI Script template and return an array of any failures.  An empty array indicates no failures.  Property Inspector runs the VI Script on all selected items and keeps the selection if the test failed.  It is recommended to disable the option to save VI Script changes when running a VI Script as a search.

 

The scripts attached will fail when the Control or VI's Library Access Scope is set to Private or Protected.  Enable PI Log to record the details of the failures.  Use PI LogCols to capture the Name of the items.

 

Find Access Scope Private.pi5

# Select Items in PI5 to search before running
PI Log10 C:\Temp\Access Scope\Scope for %NAME on %DATE.txt
Settings Edit Options Save Script Change False
SCRIPT UPDATE Script Find Access Scope Private.vi
PI Log10

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