Rename Library VIs in LabVIEW Project and Maintain Dependencies

Updated Aug 22, 2023

Reported In

Software

  • LabVIEW

Issue Details

I have a library in my project with many VIs. I want to rename all those VIs (i.e. changing 'SA Write' or 'SA Read' to 'Write', 'Read') and keep their dependencies in caller VIs. What's the best way to do this?

Solution

There are two methods you can use to rename library VIs and keep their dependencies:
  • Rename the specific library VIs directly from the project. This will retain any caller VI dependencies in your project.
  • Use VI Scripting to programmatically update the subVI names, making sure to start with the lowest level VIs in the project (the VIs that don't call any other VIs). You can modify the attached example.
 

    Attachments