Replace a subvi used in many vis

We have a few hundred llbs with massive number of VIs that we're trying to convert to directories. A lot of the software was developed is from Windows 3.1 ages, most of it reusable and used everywhere. The problem is we frequently used "/" character in the vi names at the time and now those VIs have to be renamed during conversion to directories. However, hundreds of them are used as subVIs in hundreds of different callers. The VI library manager does not help in this case. Callers, even when in memory, do not know of the renamed subVI. The only 2 ways out of this I can see are:
1. Load all the software into the memory (around 2 GB, need to upgrade a PC) and do Save As on every VI with illegal name (hundreds), then save everything and co
nvert llbs to directories.
2. Convert everything, then open every VI and replace manually every renamed subVI.
Second option is worse, but the first one is very painful too.
Find / Replace tool for the subVIs with the same interface and a different name would ease the pain...
Any other suggestions are welcome.

Check out OpenG!
I believe Jim Kring has developed a VI that will let you do the re-naming you desire.
re: the memory required.
Since it is a one time thing, virtual memory should cover you until the conversion is complete.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Replace a subvi used in several other vi

    I have modified and renamed a subvi for convenience
    this subvi is used in many other subvi's and vi's
    I want to replace the previous by the new one in one time(like in visual c or word with text)
    Is It possible ???
    Can we make a macro to do it
    Thanks
    Christophe RAVARY

    > I have modified and renamed a subvi for convenience
    > this subvi is used in many other subvi's and vi's
    > I want to replace the previous by the new one in one time(like in
    > visual c or word with text)
    > Is It possible ???
    If the callers of the VI are loaded into memory when you save it to a
    new name, LV will automatically update them to point to the new
    name/location. If LV isn't open, you are using the explorer, or the
    calling VIs aren't loaded, then the way to do this is to use replace on
    each call, which can be alot of edits.
    So again, the technique is to load the caller, one at a time or all at
    once. Open the subVI and Save As... Change the name and when you close
    the callers you will notice they want to be saved also.
    Greg McKaskle

  • How to replace a sub vi that is used in many main VIs with another sub vi under a different file name without repeating the replace vi operation?

    Hello,
    I am converting a LV5.1.1 llb to LV7.1 that contains serial sub VIs ("Serial Port Read.vi", "Serial Port Write.vi", and "Bytes at Serial Port.vi") that need to be replaced with the newer VISA serial sub VIs ("VISA Read.vi", "VISA Write.vi", and "VISA Bytes at Serial Port.vi").  The older serial sub VIs are used on many different main VIs under the same llb, and I want to be able to replace all the older serial sub VIs with the equivalent VISA sub VIs in LV7.1 without repeating the same replace VI task on each main VI.  Please advise if it can be done in LV7.1 and how?
    Thank you so much for your help,
    Valen

    If you have the old serial VIs in the llb, make a copy of it and delete them. Then, when you open the top level VI in 7.1, LabVIEW should replace them with compatibility VIs of the same name but using VISA.

  • What is the interaction between calling VIs and subVIs using VI Server?

    I'm studying for the CLAD and one of the lines in NI's preparation document here is this:
    What is the interaction between calling VIs and subVIs using VI Server?
    I know how to use the "Call By Reference" function to call a VI, but not necessarily a subVI. I thought a subVI is always loaded with the calling VI and has nothing to do with VI Server. What am I missing?
    Solved!
    Go to Solution.

    Hi Bmihura,
    I think this article will clear up how the VI Server works with subVIs called dynamically or statically.
    Calling a VI by Reference
    Best Regards,

  • Change cluster in many vis

    Hi all -
      I'm putting together my first relatively large LabView project (~30 VIs so far) for a data acquisition project.  I have a few clusters that I use in many of the VIs (for instance, one contains the assorted DAQmx tasks for different types of input and output).  I'm trying to design the project so that I won't have to change the elements in the clusters very often.  But if I do (for instance, if I add another type of data to be aquired), it's a major hassle to go through every VI and change the elements in the cluster, since I have to go manually to each VI that uses the cluster and change it.
    Is it possible to do a find and replace for a cluster, rather than doing it manually?
    Alternatively, is it possible to have something like an include file in C, in which the cluster would be defined?
    Or is there a better way of distributing parameters across many VIs?
    Cheers,
    Eric Tytell

    You can create a custom control and then set it to Type Def.  Any changes to the Type Def control will propagate to all uses of this control.
    Click the right button on your control and select Advanced>>Customize...
    Change the Drop down that says Control to Type Def and save.
    Now you will have to go through one more time and replace all instances of your original control to this saved control.
    Any additional changes to this control will automatically update all instances of this control in all vis.
    Message Edited by rpursley8 on 04-15-2008 10:39 AM
    Randall Pursley

  • HT201303 Can I use the same Visa card for multiple accounts?

    Can I use the same Visa card for mine and also my partners apple account? Or is it one card can be linked to only one account?

    You can use one card for a few account. I would believe it you attempted to use it on too many accounts (5+), it may cause some issues. But using the same card on two accounts is fine.

  • What type of hard drive replacement should i use to replace the hard drive in my first generation mac min 2005 model a 1103?

    what type of hard drive replacement should I use to replace the hard drive on my first generation mac mini model a 1103?   G4 1.25 mhz 40 gb hd 1 gb. mem.

    You'll need a 2.5" parallel ATA interface hard drive. Most are 5400RPM, forget 7200RPM drives and slower 4200rpm drives.  You don't want a serial ATA (SATA) drive, as that has a different connector and won't work.
    One source I've used for drives is Newegg, and their parallel ATA hard drives are at http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100007605%2060000344 2&IsNodeId=1&name=IDE%20Ultra%20ATA100%20%2f%20ATA-6 .  Newegg also has many user comments about the drives. Other sources are OWC at http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/ (Click on ATA on the left) . Look for at least a 3 year warranty. 

  • How do you use the bluetooth VIs with a Microsoft Bluetooth Driver?

    How do you use the LabVIEW Bluetooth VIs with the Microsoft Bluetooth driver?  I have been trying with no such luck.
       I want to use 2 computers to talk to each other using the bluetooth VIs.  Eventually, I think we would like a PDA/phone to talk to a custom built electronics board with Bluetooth.  But for now, I would just like 2 computers to talk and then eventually talk to our own device. 
    One is a desktop w/ the Belkin F8T012 USB adapter.  It installs fine with the Belkin driver (but I know I need to use the Microsoft Driver in order to use the LabVIEW VIs, but I have tried to get Windows to install its own but it says it is a BCM92045DG-Flash.  It says it cannot install it because it cannot find the necessary hardware.  I thought this USB adapter was on the approved Bluetooth devices list?  What else should I try?  Another Bluetooth USB adapter? 
    The other computer is a Dell Latitude 820.  It has a built in Bluetooth module which I believe is the Dell 350 Bluetooth Module.  On this machine I have been able to setup a COM port with a bluetooth device (blood glucose meter).  It came with a serial port interface which we modifed to go through a bluetooth interface.  It comes up as COM40. We have been able to communicate to it using their program originally designed to talk through a serial port.  But we would like to use the Bluetooth VIs in LabVIEW.  I can't even use the Discover VI.  Perhaps it is not using the Microsoft Driver as well.  Do I just uninstall the driver and then try to have Windows install its own driver?  Do you have any other recommendations?
    Thanks,
       Javi

    Hi Javi,
    This sounds like an issue with Windows and your specific Bluetooth devices.  As you mentioned, the LV Bluetooth VI's do require that the devices use the Windows drivers.  Take a look at this link for specific requirements for using Bluetooth with LabVIEW.  Also, you can take a look at our Developer Zone tutorial on designing Bluetooth applications a found here.  Regarding your device drivers, sometimes it is as easy as uninstalling the driver and then letting Windows discover the device and fine its own driver.  You could check out the Microsoft Knowledgebase for more information.  Thanks and have a great day!    
    Stephen S.
    National Instruments
    1 Test is worth 1000 expert opinions

  • How do I correctly time while loops using SCPI and VISA/Ethernet communication to send DC current Values to a Power supply?

    I'm rather new to using labview and I having an
    issue with a test Data Aquisition lab I'm trying to setup using a
    Keithley 6221 AC/DC current source and a basic PCI M-series NI-DAQmx. 
    First of all, I'm looking to update the  current value on a power
    supply at a rate of atleast 10Hz and I'm using SCPI commands and VISA
    communication through ethernet to do so.  Attached below is the VI I
    have written. 
    The issue I'm having is this:
        My VI will
    loop through the values fine in software, or so it seems.  I am unable
    to get the Power supply to update sequentially if I don't set my loop
    delay to anything greater than 130ms.  If I try to run the loop faster
    it starts skipping values instead of counting 1,2,3,4,5,1,2,...etc.  it
    goes 1,2,4,5,2,4,1,2 on the display of the power supply and my DAQ unit
    also skips these values so I know that the number just isn't getting
    read to the Power supply in time.  I was wondering if this was due to
    my sloppy programming or if it is a hardware issue, my computer or the
    method of communication to the power supply?  Is this due to the fact
    that I'm using ethernet and VISA communication?  Is there a faster way
    to communicate or is GPIB faster?  Any input at all would be extremely
    helpful.
    On a side note:  Right now I'm using an pre-determined
    array of values that I can update on the fly but in the future this
    with be put into a  closed-loop control system.  The value for the
    power supply output will be determined by the loop and sent that way.
    Attachments:
    basic DC loop 6221 Keithley.vi ‏145 KB

    Also, one of the string constants is NOT set to '\' Codes Display. Here is an alternative method of calculating the index. I removed the DAQ and VISA stuff since I could not run it.
    Lynn
    Attachments:
    basic DC loop 6221 Keithley.2.vi ‏16 KB

  • I'm a beginner and would like to know which Photoshop to use (so many options). The only edits I care about being able to do are: whitening teeth, smoothing complexions/taking away blemishes.  Does any photoshop have these options? I haven't been able to

    I'm a beginner and would like to know which Photoshop to use (so many options). The only edits I care about being able to do are: whitening teeth, smoothing complexions/taking away blemishes.  Does any photoshop have these options? I haven't been able to find the teeth whitening one anywhere. Also, I don't want it to lessen the high quality if my photos.  Thank you so much!!

    Hi Erika,
    I came to Lightroom quite recently (in the last month!)  from Photoshop Elements 11. I like the organization features in LR better, but for adjustments such as the ones that you mentioned I would leave LR and go back to Photoshop Elements 11, primarily because that is what I know. I don't use the subscription service, mainly because I already owned and installed the boxed version of Photoshop Elements 11 and adding it to a subscription service with Lightroom seemed redundant. I am sure someone in the community will (or has) comment(ed) that it is possible to whiten teeth and cure blemishes within LR, but I haven't figured out how to do that yet. Check out the TV Adobe free tutorials, particularly Julianne Kost's tutorials. She has a good presentation style and you might find the LR answer that you need with detailed instructions.

  • My Nano is less than a year old and is no longer working where do i take it for replacement or repair using the manufacture's warranty

    I have a nano less than a year old. It no longer works properly, some of the buttons are no longer functional and it does not respond when plugged up to my PC.
    Where do I take it to get it replaced or repaired using the manufacture's warranty. It was a gift and I do not have a receipt. please help

    Make an appointment at the nearest Genius Bar ( Apple Store).

  • Can I use non-US Visa to buy US gift card?

    I want to purchase a US Gift Card to my friend in US. Can I use Hong Kong visa card in US Apple Store?

    You may. The only way to know for sure is to try.
    What we know for sure is that the only credit card that you can use in the US iTunes and Mac App Store is a US credit card.

  • HT1918 can i use a prepaid visa card

    can i use a prepaid visa card?

    You must be 18 if you care to be legal about it and we hope you would
    See Can you be a kid and make an app

  • How to find the font and replace another font using javascript in illustrator?

    Dear All,
    how to find the font and replace another font using javascript [batch process] in illustrator?
    i have 700 image file, it very deficult replace one by one.
    regards,
    .Suresh.S

    Ask the creator of the file for a unprotected version.

  • HT203983 my apple id does not accept my payment method. why? i am using that same visa card the last 5 years!

    my apple id does not accept my payment method. why? i am using that same visa card the last 5 years!

    there may be several reasons why your credit card may be declined by the iTunes store ,
    the reason the iTunes store require c.card when you setup your apple id is for verification purposes
    if you have called the iTunes store in the past about unrecognised charges, or unauthorised activity ,
    then your bank may have blocked your card from being used on the iTunes store, i would recommend contacting your banking institute

Maybe you are looking for

  • ITunes, Photo Booth, iMovie and etc won't open and I can't find out why!

    As of yesterday while listening to my iTunes, it sudden froze my entire screen and I had to do a hard shut down because force quit wouldn't even show up. I'm pretty proficient with Macs ( I'm sure there are way better people out there but I do my bes

  • Problem in Running a Webdynpro Application Which uses itext.jar

    Hi, I have created a Webdynpro DC which uses a DC called xxx_lib which contains the external JAR Files. (itext.jar etc) This JAR file is in my library path as well. I have added the lib_dc as used DC under the webdynpro DC. The Compilation and build

  • Can't transfer podcasts to iPod

    To my dismay I suddenly find that I can't transfer material from my computer to my iPod nano. I have it set on manual transfer. I haven't changed computers and I have the same iPod, after the latest software update I just can't transfer podcasts from

  • Photoshop CS4 won't open RAW files

    Photoshop CS4 will not open RAW (.CR2) files. I have tried what is listed on Adobe's website (checking versions, uninstalling, reinstalling). Nothing has worked. It still gives me the error message: "Could not complete your request because Photoshop

  • Crashes on Opening

    Got this warning & can't get into the program. I don't want to lose my sites that have not been published yet. Process: iWeb [294] Path: /Applications/iWeb.app/Contents/MacOS/iWeb Identifier: com.apple.iWeb Version: 3.0.2 (302) Build Info: iWeb-48900