Re-naming all VIs in a project or library without breaking dependencies

Hi,
I have a library that has several hundred VIs in it, with one top-level VI.
Each VI name has a suffix in it I would like to remove.
1.) Ideally I would like to write a script that changes the names so I don't have to do it one-by-one.
2.) Upon renaming I would like all dependencies within the library to be preserved
I'd also like to change the path and name of library itself without LabVIEW getting confused about where it's looking for various files. In particular I don't want it loading old versions of the VIs.
What is the best way to manage VI and library filenames?
Solved!
Go to Solution.

This is a relatively easy task to automate using LabVIEW.
Create a cluster whose first element is an I32 containing the number of items called by a VI and the second item is a VI reference.
In your automation VI, open every VI in your library and populate the VI references in an array of the above clusters.
Populate the number of items called by using Get VI Dependencies and using the number of items returned.  Make sure you query for the whole hierarchy.
Sort the array
Save the VIs to the new names using the array.  This will give you a bottom up save so everything will be correct.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • I have all my music on an external hard drive. I just transferred all my files to a new hard drive . How do I sync all my files with my itunes library without losing all my playlists etc and keep everything intact?

    I have all my music on an external hard drive. I just transferred all my files to a new hard drive . How do I sync all my files with my itunes library without losing all my playlists etc and keep everything intact?

    Launch iTunes with the Option key held down, click on Choose Library, and specify it. If the external drive doesn't contain the iTunes database files, create a new library there and import that music.
    If the library contains any rented movies, they won't play on a different computer.
    (109334)

  • Where Used for VIs and LabVIEW Project

    Is there a way in LabVIEW Project Manager to check the Where Used status on all the VIs at the same time? I am going through a project trying to weed out VIs that are not used in the project. I know I can check the "Find Callers" for each VI, but this feels slow and cumbersome. Is there a way I can generate a report to find the Where Used status on all VIs in a project?
    Thanks,
    Matt

    You also have the Find Items with No Callers Dialog Box as of LV 8.5
    Eric V
    National Instruments
    Applications Engineer
    Certified LabVIEW Associate Developer
    "I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"

  • How do I play all my Movies from the iTunes'  Library?

    How do I play all the Movies from within my LIBRARY without having to click PLAY everytime on each individual movie? All my movies in the Library have the check marks on them already.
    When I play my "Music" LIBRARY, as soon as a song is over the next one starts up. Fine. Great! But, the same is not happening from within my "Movies" LIBRARY.
    This play-all-Movies type of action works fine from within each of my playlists. Once selected a movie to play from any playlist, other movies will keep on playing, one after another, until told to stop. But, I also would like to play all movies from my library.
    It would seem redundant to copy my entire library into a single playlist just to have this function available. Besides, every time I would add a new movie to the library, I would also have to remember to add it to said playlist.
    Could anyone, please, tell me if it is possible to play all movies from within the LIBRARY? (iTunes v.8.01).

    Thanks for your prompt reply, Meg. I've applied exactly your "smart playlist" directions (always wondered what that "smart playlist" was for while it worked wonders! Great going.
    "I asked for a fish and you taught me how to fish"! Thanks again!

  • List execution priorities of all VIs in project

    Hello all,
    I'm using LabVIEW 2012.  Is there any way to list the execution priorities of all the VIs in a project please?
    Thank you!
    Zola

    I don't see "real-time" on the list of execution priorities, but I do see "high", "time critical", and "subroutine".  I don't know of any easy way to find out that information.  I doubt it exists because I think it would be very rare for anyone to do what you are asking.
    That said, I don't think it would be difficult to write a small VI that would loop through your .vi files and read the Execution priority through a property node.  I did the following in about 3 minutes.  You just need to create an array of file names.  Perhaps using directory information to build the list.
    Attachments:
    Example_VI.png ‏14 KB

  • How do you list all VIs used in a sequence

    Is there a way of viewing all the VIs used in a sequence? Is there a script you can run and it outputs the VIs being used?

    Hello Risky,
    There is also a way of viewing all VIs used in a Sequence File, but not in a specific sequence of the sequence file.
    Here is how to proceed:
    - Create a New Workspace File and add a New Project File to the workspace, if you don't have this allready.
    - In the Workspace window select the project and Add the Sequence File to the project. The sequence you added can be viewed under the project in the left pane of the workspace view window.
    - Right-click the sequence file and select the 'Insert Code Module' option from the pop-up menu.
    - A new folder named 'CodeModules' will be added under the sequence file and contains all the VIs and all sequence files which are called from the current sequence file.
    In the specific case where in the sequence file you
    have steps only in one sequence (e.g. MainSequence) this way could be helpful for you.
    Regards,
    Silvius
    Silvius Iancu

  • There is a view named &gantt chart in this project which cannot be overwritten

    Hello,
    I'm using Project Server 2007 SP2. While opening a plan, we are getting the following error
    "There is a view named &gantt chart in this project which cannot be overwritten"
    However, we are not getting the same error for other plan. Is there any changes to be done in the enterprise Global? How to rectify the error? Kindly help.
    Thanks!

    Sandhya987 --
    In addition to Guillaume's excellent answer, you should know that this problem was not caused by the project manager.  The problem was caused solely by the actions of the Project Server administrator.  The Enterprise Global file is reserved for
    ONLY enterprise views, tables, filters, and groups.  For example, there is a default enterprise view named Enterprise Gantt Chart and there is a default enterprise table named Enterprise Entry.  The Project Server administrator should NEVER add local
    views to the Enterprise Global, such as the Gantt Chart, Resource Sheet, etc.
    So, how did the Gantt Chart view end up in the Enterprise Global?  I doubt the Project Server administrator did this intentionally.  Instead, my guess is that he/she applied the regular Gantt Chart view while he/she had the Enterprise Global file
    open for editing.  If the Project Server administrator applies any local view (such as the Gantt Chart view) while he/she has the Enterprise Global file open for editing, Microsoft Project COPIES that view and its default table into the Enterprise Global
    file.  So, if he/she applies the Gantt Chart view while he/she has the Enterprise Global file open, Microsoft Project copies BOTH the Gantt Chart view AND the Entry table into the Enterprise Global file, thus polluting the Enterprise Global file with
    a local view and table.
    To clean up the pollution, keep in mind that your Project Server administrator will need to delete all local view AND all local tables as well.  As the article indicates, as cited by Guillaume, the problem you are facing is a common one, so welcome
    to the club!  :)
    Hope this extra helps.
    Dale A. Howard [MVP]

  • Find all files in a project

    I'm not positve, but I suspect that this is not the best way of getting this information, just seems like there should be an easier way.  I'm trying to get a list of all the vi's in a project, so that the test application can be zipped up with the data it generates.  This is what I came up with...
    P.S. the attachment is LV8.0 (but I'm using 8.5)
    Attachments:
    ProjectInterrogator Folder.zip ‏30 KB

    Not quite. The code relies on using the Dependencies property. Two problems with this: (1) You need to manually refresh the Dependencies list, if you actually use it (I usually don't); (2) the Dependencies list isn't the same as the VIs in the project. This is a list of all VIs used. In other words, the entire hierarchy.
    So, the question is: are you trying to get the list of all VIs used, in which case you would need to use the Dependencies property. Or, are you trying to get a list of the project's items which are VIs? What about libraries and other files that may be in the project?
    Also, to the question about getting a project reference, an easier method is to use the Application class'  "Project.Open" method:
    Message Edited by smercurio_fc on 10-22-2008 05:15 PM
    Attachments:
    Example_VI_BD.png ‏1 KB

  • All of my iMovie projects disappeared after loading Mavericks.  The updated version of iMovie shows no files and cannot find any files to Import.  My machine, a beefed up Mac Mini, has slowed to a crawl.  Suggestions?

    My Mac Mini takes forever to load programs now.  After loading Mavericks it seems like I am back in PC World again!!  My biggest concern is ALL of my iMovie projects seem to have vanished.  I do not have sound on some web sites like YouTube.  I lost the option to mirror from the Mac to the TV but I was able to solve that.  Any suggestions on recovery of files?  I do not use TimeMachine and did not back up anything before the Mavericks installation.  I know...that's bad.  Any suggestions would be greatly appreciated.
    Here is what I am running:
      Model Name:          Mac mini
      Model Identifier:          Macmini4,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2.66 GHz
      Number of Processors:          1
      Total Number of Cores:          2
      L2 Cache:          3 MB
      Memory:          8 GB
      Bus Speed:          1.07 GHz
      Boot ROM Version:          MM41.0042.B03
      SMC Version (system):          1.65f2
      Serial Number (system):          C07DV15PDD6L
      Hardware UUID:          132F7FB8-1556-55D3-BF33-C1A5EFC69D12

    My Mac Mini takes forever to load programs now.  After loading Mavericks it seems like I am back in PC World again!!  My biggest concern is ALL of my iMovie projects seem to have vanished.  I do not have sound on some web sites like YouTube.  I lost the option to mirror from the Mac to the TV but I was able to solve that.  Any suggestions on recovery of files?  I do not use TimeMachine and did not back up anything before the Mavericks installation.  I know...that's bad.  Any suggestions would be greatly appreciated.
    Here is what I am running:
      Model Name:          Mac mini
      Model Identifier:          Macmini4,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2.66 GHz
      Number of Processors:          1
      Total Number of Cores:          2
      L2 Cache:          3 MB
      Memory:          8 GB
      Bus Speed:          1.07 GHz
      Boot ROM Version:          MM41.0042.B03
      SMC Version (system):          1.65f2
      Serial Number (system):          C07DV15PDD6L
      Hardware UUID:          132F7FB8-1556-55D3-BF33-C1A5EFC69D12

  • RH HTML 9-chm file How to change the Shared Path of all images in entire project.

    Dear alll,
    Previously, I inserted all images to my project from a shared folder with path A. But now I could not access to path A anymore, so I created a folder with the same name in path B which have the same images.
    Now I need to update images and I cannot synchronize them from the current folder with path B.
    I right-click an image in Project Manager pod, select Properties and then I saw this image has an attribute Shared Path is path A. There is any way to change this Shared Path to path B for all images in the project at a time ?
    Anyone experiments it, please help me. Thanks.

    Given you posted on the weekend, I would expect everyone to be off doing weekend-y things, rather than work-related things.
    I don't use shared resources, but perhaps this topic, specifically the Replace Link entry might help?
    http://help.adobe.com/en_US/RoboHelp/9.0/RoboHTML/WS1b49059a33f77726-14df8d3712b0ab9d010-7 ffd.html
    Amber

  • Upon entering a LV project file into VSS, all files in the project are left out. Only the project shell and settings enter VSS. Any idea why?

    Upon entering a LV project file into VSS, all files in the project are left out. Only the project shell and settings enter VSS. Any idea why?
    Solved!
    Go to Solution.

    Chuck72352,
    Hello! It is my understanding that you need to add the individual files to the Source Code Control along with the .lvproj file.
    Here is a great deal of information on Source Code Control Practices in LabVIEW.
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • I have PR cs6 and my mac has recently upgraded itself from iPhoto where i imported all my photos and film from to "photos" now all of my current project is showing 'media offline' AAAAARGGGH!! now i can't see anything. the audio is fine but everything els

    can anyone help me get all of my edited holiday video visible again? my mac upgraded itself from iPhoto where i keep my imported video and photos, to "photo" now all of my current project (and probably old ones as well! ) are showing media offline. how can i get this back seeing the clips on 'photo'?

    When you open a project you need to point PPro to the new media location and relink
    >mac upgraded itself from iPhoto
    THAT is not good... I am Windows, but at least a Windows update gives ME the option of unchecking an update

  • Generate Documentation for all components in a project

    Hi there,
    V12.0.8 -- Is there a way to generate documentation for ALL transactions in a project at once.  Instead of having to open each one individually?
    Thanks,
    --Amy Smith
    --Haworth

    Amy,
    No there isn't but it's a good suggestion and I will add it to my list of feature requests.
    Sam

  • Labview opens all VIS in Run mode

    LV2013 PDS is opening all VIs in Run Mode.  This is a global problem, not specific to one or a specific number of VIs.
    If I create a new VI, save it, close it and re-open it, it's in Run Mode, not Edit mode.  Nothing is set to Run When Opened, nothing is set to be locked without a password.
    It's only on this installation; if I take my code to another machine, there's no issue.
    I have deleted the labview.INI file, but the behavior repeats itself.
    Any ideas?

    Jed_Davidow wrote:
    SCC is not configured; I use perforce, but it's not configued to use it or to treat read-only as locked.  I have also checked out all the filed ahead of time with P4, so LV never sees them locked.  The folders themselves are not read-only.
    Also, I have created VIs outside of my P4 folder, and I have the same trouble.
    Example:
    Launch LV:  Create a blank VI (comes up in Edit mode).
    Save to Desktop (not within P4 control) as test.VI
    Close
    Open test.VI ---> It's in Run Mode
    I have never seen this happen before.
    Neither have I 
    I'll assume a reboot was attempted and did not change anything.  I would attempt a repair of LabVIEW from the control panel and another restart. 
    Jeff

  • How to Use SDK compile all MXML file in project ?

    Who can teach me ? Plz
    1.How to Use Adobe SDK to compile all MXML file in project ?
    2.How to Use Ant to compile all MXML file in project ?
    Thanks everyone !!

    Thank you first!
    Yes,you are right,since I am new to illustrator,and I want to try to write a plugin,
    I have read the sdk doc and API and opened the sample in vs2010,but no idea about how to operate the pdf doc in illustrator with api.
    Hope more advise or any examples,thank a lot.

Maybe you are looking for

  • Just got U-verse today, how do I set up speed dialing on my phone, I had it with the ATT service, but it does not work with the UVerse

    OK - I looked at the manual & see they made it major project. Instead of simply assigning tel numbers to each of the dialing digits, you have to build a directory record first, then you can assign the directory record to a dialing digit. Looks like t

  • SM 58 error while posting Idoc

    Hi I have installed a Netweaver XI  7.0 recently and have completed postinstallation tasks. Communication between all XI components (i.e IR, ID and SLD is working.) I am trying to test an Idoc to File scenario and while posting an Idoc from my R/3 sy

  • IPOD VIDEO 30GB not recognized by iTunes or My PC

    So I have this ipod that I'm trying to revive. I'm not even sure which generation it is, but it's a 30GB ipod classic and I bought like in 2005. Here's the thing, this ipod has been in my drawer for years and when I turn it on it says "Use itunes to

  • Raidctl - Sun T5240 Solaris 10 Problem

    I tried using raidctl earlier today to use my 2 disks in a RAID1 setup and I totally destroyed my OS install. I'm sure I did something funky and it freaked out. No big deal...right? This is what I was seeing after a reboot. Quote: WARNING: /pci@0/pci

  • Slow PDF printing after upgrading to Acrobat 6 - Help Needed

    When I used Acrobat 5, my 95ppm printer printed pdf files at that speed (I generally throw several thousand page PDF docs at it at a time).  Now since I upgraded to Acrobat 6, printing is MUCH slower.  Nothing has changed other than the version of Ac