Simple Dependency Inspector for LabVIEW

Join the Panther Way!

View on GitHub

This tool employs a private linker method to analyze the relationships between LabVIEW files. This method requires a LabVIEW file (VI, LVlib, LVclass, or CTL) as input and generates an array containing all the links associated with that file. A key advantage of this method is that it does not necessitate opening the LabVIEW file itself.

Getting Started

Open LabVIEW and go to Tools–>PantherLAB–>Simple Dependency Inspector

Instructions

2024-10-14_14-34-18

  1. Choose the folder containing your LabVIEW code.
  2. Select the specific files or folders you want to analyze for dependencies. Use the Shift key to select multiple items.
  3. If you selected folders, specify the LabVIEW file types to include in the analysis. 4.Specify the Working Path, where the .dot file and dependency image will be saved.
  4. Select the Image type for the dependencies. SVG is the preferred option, but LabVIEW cannot handle these images directly. If you choose SVG, the image will open in your default browser. 6.Select the File Types you want to include in your plot.
  5. Decide whether to include all LabVIEW dependencies in the plot. Note that this may result in a large and complex diagram that can be difficult to interpret. 8.Click the “Find Dependencies from Selection” button to begin the analysis.

Install Graphviz

Graphviz web site

install

This tool utilizes Graphviz to generate the plots, Dependency Inspector does a check internally to see if this tool is installed in your OS, if not this ‘Install Graphviz’ button will be shown, click it and accept the install dialog (windows), if you want to do it manually go to graphviz web site and check for instructions.

For windows Dependency Instpector will execute this command line, you’ll need to accept and that is all.

winget install graphviz

For Linux you’ll need sudo level and execute this in a new terminal

sudo apt install graphviz

Symbols

Dependency Inspector creates 2d pictures with different symbols depending on the file type:

simbols

  1. Library files (*.lvlib)
  2. Virtual Instrument (*.vi)
  3. Typedefs (*.ctl)
  4. Class (*.lvclass)

Report Issues and Request Features:

Encountered an issue or have a feature suggestion? Let us know on GitHub: https://github.com/PantherLAB/DependencyInspector/issues

Struggling with LabVIEW and/or DQMH projects? We can help! Our team (CLA, LabVIEW Champion, DQMH Trusted Advisor) ofers LabVIEW development, LabVIEW training, and contracting services.

Ready to take the next step? Contact us today at [enrique.noe@pantherlab.com.mx] or [info@pantherlab.com.mx] to discuss your specific needs.

Social Networks: