Exclude standard vi.lib files from VI list

Greetings all,
I just inherited a rather large program that is running on a system. This program uses quite a few dynamically loaded vi's that are being pulled in from various locations. the program is also still running as a VI as opposed to an executable. I have been tasked with re-writing a good portion of it and creating an executable/installer. Of course, the German contractor who wrote the bulk of it is no longer around and nobody knows anything about it. My main problem is that there are many, many versions of vi's sitting in about 50 folders that are being used. Only one of the versions is being actually loaded and executed. I had no way of knowing which vi's are being used so I wrote a little vi that lists all the vi's currently loaded in memory. It works well enough in that it returns the vi name along with the directory path. When I build the executable, I don't want to simply add all the folders with their myriad vi's to the project, only the ones that are actually being used.
I have two questions actually:
1) Is there a better way of doing what I did here? (I have attached my little vi)
2) I would like to exclude the standard Labview vi.lib vi's from the list as those will automatically be included in the build. Otherwise I will have to sort through the entire list to determine which are actually "man made" versus NI built-in.
I have attached my little "Get Open Vi's List" vi. Please feel free to make any suggestions/changes. I am using version 8.6 so nothing later than that pls.
Thanks for the help.
Attachments:
Opened vi list.vi ‏9 KB

The OpenG toolkit has a VI called 'List VI hierarchy', these are split from user.lib/vi.lib and other VIs.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!

Similar Messages

  • Delete file from the list & as well as from file upload

    I have come across a situation where there is a sap.ui.unified.FileUploader & user is free to upload as many file selected. then there is a button to display the list of added files as list(deleteable list). list delete is possible by using the standard function provided in the explored of SAP UI5 SDK document. but how to bind both the controls?? do that at the time of deleting the list it will also delete the files added in FileUploader. attaching the screenshot for better understanding...
    SAP UI5 Version 1.24.3

    Hi,
    you can use the setValue() method when you delete a file from the list:
    oFileUploader.setValue("");
    Kind regards,
    RW

  • Generating a Movie File from a List of (JPEG) Images

    Hi All!
    I was trying this example:
    Generating a Movie File from a List of (JPEG) Images
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/JpegImagesToMovie.java
    I was using the following command line with the following output:
    root - /home/robertmarkbram/java/jmf/classes
    $java JpegImagesToMovie -w 320 -h 240 -f 1\
    -o file:///home/robertmarkbram/CoolCampus/media/jpgOut.mov\
    file:///BigBrain3/pics/breakfast.jpg\
    file:///BigBrain3/pics/eating.jpg\
    file:///BigBrain3/pics/howto.jpg\
    file:///BigBrain3/pics/jupiterp_cassini_full.jpg\
    file:///BigBrain3/pics/jupiterp_cassini.jpg\
    file:///BigBrain3/pics/spocamok.jpg- create processor for the image datasource ...
    Setting the track format to: JPEG
    - create DataSink for: file:///home/robertmarkbram/CoolCampus/media/jpgOut.mov
    start processing...
    - reading image file: file:///BigBrain3/pics/breakfast.jpg
    - reading image file: file:///BigBrain3/pics/eating.jpg
    - reading image file: file:///BigBrain3/pics/howto.jpg
    - reading image file: file:///BigBrain3/pics/jupiterp_cassini_full.jpg
    - reading image file: file:///BigBrain3/pics/jupiterp_cassini.jpg
    - reading image file: file:///BigBrain3/pics/spocamok.jpg
    Done reading all images.
    java.lang.NullPointerException
    at com.sun.media.multiplexer.video.QuicktimeMux.writeVideoSampleDescription(QuicktimeMux.java:936)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeSTSD(QuicktimeMux.java:925)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeSTBL(QuicktimeMux.java:905)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMINF(QuicktimeMux.java:806)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMDIA(QuicktimeMux.java:727)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeTRAK(QuicktimeMux.java:644)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMOOV(QuicktimeMux.java:582)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeFooter(QuicktimeMux.java:519)
    at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
    at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
    at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at JpegImagesToMovie.controllerUpdate(JpegImagesToMovie.java:215)
    at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
    at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
    at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
    at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)
    Can anyone tell me what this error message means?
    Thanks for any advice!
    Rob
    :)

    I think it does that for QuickTime if you don't define the lineStride value in the VideoFormat (lineStride = pixelStride * width).

  • Is there anyway to create a xml file from a list so that xml file is available like an RSS.xml

    Hello
    My objective is to have a xml file created from a list for anonymous access.  The SharePoint RSS feed is a .aspx file not xml, as shown below: 
    _layouts/listfeed.aspx?List=21c2cdaa%2D52f3%2D4057%2Db674%2D45e63ba77e31&View=535eb328%2Db5fb%2D45c5%2D8fe8%2Da130e92afc41
    Also, is there a way to do this so that the xml content has current data like the list.
    Thank you for any insight and direction.

    Hi,
    According to your post, my understanding is that you wanted to create a xml file from a SharePoint list.
    To generate a XML file, we can use the SharePoint Object Model or PowerShell to achieve it.
    Generate a hierarchical XML file from SharePoint list using Client Object Model.
    http://maxderungs.wordpress.com/2012/05/12/generate-a-hierarchical-xml-file-from-sharepoint-list/
    Get SharePoint list items and export them to XML using PowerShell
    http://www.robertkuzma.com/2012/09/get-sharepoint-list-items-and-export-them-to-xml-using-powershell/
    More reference:
    http://www.robertkuzma.com/2010/08/how-to-create-a-custom-xml-output-using-sharepoint-services-3-0/
    http://traceynolte.com/blog/convert-sharepoint-list-to-xml/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Excluding Block for Payment Invoice from Correspondance list in F.62 tran

    Hi All,
    My requirement is Excluding those invoices for which Payment Block indicator is 'P' from Correspondance List in Transaction F.62 for SAP11 Variant. i.e. BSEG-ZLSPR = 'P'.
    Kindly advise me is there any BADI or User Exit or any other possibility to do the same.
    Regards
    Divekar Mahadev

    Whilst the invoice is blocked you can still clear it, as a user might want to clear it and then re post the invoice.
    The only way to stop the line being used in F-32 is to have an open payment run against the line - something I would not recommend.

  • Delete file from the list.

    How can I delete the PDF from the list.

    See the FAQ: http://learn.adobe.com/wiki/display/readermobile/iOS+FAQ

  • How do I move audio files from song list?

    I have some audio MP3 files in iTunes, but they show up under the Songs List. Can I move them so they don't show up in the Music songs list, e.g. move them to podcasts?

    No. In order to show up under Podcasts, they need to be dopwnloaded via an RSS feed which tells iTunes it is apodcast.

  • How do I create multiple text files from a list in another file?

    I have a text file with data in it:
    1. Bristol
    2. Bath
    3. Exeter
    etc
    I want to run an action which outputs the following files:
    1.txt (contents: 1 Bristol)
    2.txt (contents: 2.Bath)
    3.txt (contents: 3.Exeter)
    I can't work ou how to do this, any help appreciated. Thanks
    Dave

    Hi mate, thanks for the suggestion.  I saw that section in the user guide - but it is only for copying from one library to another - I want to copy from an FCP library to a file structure OUTSIDE FCP.  I have had problems with FCP losing media when copying to another library so I just want the files in the Finder where I can see them...
    Stephen

  • Can Acrobat X Standard create PDF files from Microsoft Word, using "CMYK" color (required by most book printers) instead of "RGB" color?

    I'd like to purchase Acrobat Standard if it will let me control the color space used in the PDF it creates.  I need to send a color file to a commercial book printer, and they require the PDF file to use CMYK colors, not RGB.
    Will Acrobat Standard do this, and if so, how?  Or do I need to get a different Adobe product for this task?

    I'd like to purchase Acrobat Standard if it will let me control the color space used in the PDF it creates.  I need to send a color file to a commercial book printer, and they require the PDF file to use CMYK colors, not RGB.
    Will Acrobat Standard do this, and if so, how?  Or do I need to get a different Adobe product for this task?

  • Finding files from a list with dates

    I have two questions.
    1.
    Can I set the order of images in a folder to the creation date order prior to place them (i.e. their names) in a list, in the order of the creation date? Or can I create a list with creation dates in the correct order, right away?
    2.
    If I have a list with only creation dates, how can I find the images with that date and duplicate them to another folder?
    Thanks in advance.

    SQL> set null ?
    SQL> select greatest(coalesce(d1,d2,d3), coalesce(d2,d3,d1), coalesce(d3,d1,d2))
      2  from (select sysdate-1 d1, sysdate d2, sysdate-2 d3 from dual
      3        union all
      4        select null d1, sysdate d2, sysdate-2 d3 from dual
      5        union all
      6        select sysdate-1 d1, null d2, sysdate-2 d3 from dual
      7        union all
      8        select sysdate-1 d1, sysdate d2, null d3 from dual
      9        union all
    10        select null d1, null d2, null d3 from dual
    11  );
    GREATEST(
    16-SEP-06
    16-SEP-06
    15-SEP-06
    16-SEP-06
    SQL>

  • Batch Renaming Image Files from a list of names

    I would like to use the batch rename function in Bridge CS5 to quickly rename newly uploaded image files of our products.  I would like to rename the image to it's corresponding product number.  The issue is that the product numbers aren't in exact numerical order (ie.  the first pic is of product ES2004 and the next one is for ES2012).  The product numbers can sometimes end with a letter or a number.  The pictures are taken in order of the product numbers on an excel sheet.  What's the easiest way to have bridge name the image file to its corresponding part number? 

    Here is an example script that will do the re-naming also place the original filename into the metadata.
    CSV format is fileName,Product IE:
    p1020337.jpg,E179562
    p1020338.jpg,Z556301
    Copy and paste the script into ExtendScript Toolkit (This gets installed with Photoshop)
    Open Bridge
    Edit > Preferences > Startup Scripts
    Click "Reveal My Startup Script"
    Save the script into this folder.
    Close and restart Bridge and accept the new script.
    To use, navigate to the folder with the documents to rename, "Right mouse click Menu" select "Rename to Product" and select your csv file.
    #target bridge 
    if( BridgeTalk.appName == "bridge" ) { 
    fileNameToProduct = MenuElement.create("command", "Rename to Product", "at the end of Thumbnail");
    fileNameToProduct.onSelect = function () {
       renameToProduct();
    function renameToProduct(){
    var Path =app.document.presentationPath;
    var descFile = File.openDialog("Open Product File","CSV File(*.csv):*.csv;");
    if(descFile == null) return;
    descFile.open('r');
    var datFile=[];
    while(!descFile.eof){
    var line = descFile.readln();
    if(line.length > 5) datFile.push(line);
    descFile.close();
    for(var t in datFile){
    var str=datFile[t];
    str= str.split(',');
    var fileName = File(Path+"/"+ str.shift());
    var product = str.shift();
    if(!fileName.exists) continue;
    var ext = fileName.toString().toLowerCase().match(/[^\.]+$/);
    var thumb  = new Thumbnail(fileName);
    var md = thumb.synchronousMetadata;
    md.namespace = "http://ns.adobe.com/xap/1.0/mm/";
    md.PreservedFileName = thumb.name;
    $.sleep(100); //give it time to update the metadata
    var newName = product + "." +ext;
    fileName.rename(newName);
    alert("All done");

  • I am using the desktop screensaver and a file from dropbox for photos.  Does the list of screen savers actually use the file, or just link to it.  If I delete the file from the dropbox, will the screen saver be lost?

    Using the desktop slideshow, I have added a file from dropbox for the slideshow.  If I delete the dropbox file, does that delete the file from the list on the slideshow?  Do I need to leave the file on the computer itself rather than in the dropbox and then delete it from the dropbox?

    If you are going to delete the file from Dropbox, you will need the file on your computer.
    You will probably need to put the file in Library/Screen Savers

  • How to delete an individual file from the'Recents' list on an Android tablet? Not the original file in the documents library.

    I have a samsung note 8 tablet. I used to be able to delete files from the recents list, but don't know how to do it in the newest version.

    I don't think you can remove just one file from this list.

  • Purchase Req & Standard PO - Price is not getting Defaulted from Price List

    Dear All,
    Hope you are doing good!!!
    We are implementing R12.1 for one of our client. This query is pertaining to the Advance Pricing with Purchasing. Infact client wants to default the Purchase Requisition and Standard Purchase Order Price from Price List.
    I have done entire setup and defined ASL for this reason. But still price is not getting defulted from Contract Purchase Ageerement.
    What could be the reason. Its an standard fucntionality but still its not picking up.
    I would really appreciate if someone could help me on this. Its URGENT.
    Thanks in Advance.
    Thanks & Regards,
    Aditya

    Let us go through the steps involved in integrating Advanced Pricing with Purchasing so that we know if we have missed anything.
    1. Create Price Lists in Advanced Pricing.
    2. Setup Profile Options in System Administrator responsibility:
    QP: Licensed for Product - at Application: Purchasing level = Purchasing.
    QP: Pricing Transaction Entity - at Application: Purchasing level = Procurement
    ( Site level - ‘Order Fulfillment’ )
    Profile option can be set at site, application, and user levels.
    QP: Source System Code – at Application: Purchasing level = Oracle Purchasing
    ( Site level -- ‘Oracle Pricing’ )
    Profile can be set at site and responsibility levels.
    QP: Item Validation Organization - at Application: Purchasing level = null
    ( Site level -- specified in Financial Options )
    Profile option can be set at site and responsibility levels.
    3. Add item to the Price list Advanced Pricing ->Price Lists -> Price List Setup.
    Enter the item/price/dates etc.
    4. Create Contract Purchase Agreement.
    5. Create Approved Suppliers List. In the Source Documents, select the Type as Contract and reference the Contract Agreement Number.
    Create the Sourcing Rule and add the Rule to the Assignment Set.
    6. Create the Standard Purchase Order referencing the Contract Purchase Agreement in the Reference Documents.
    The Price listed should be defaulted from the Price Lists.
    Cross-Check the following steps and let me know if it still fails and we can try to resolve from then on :)

  • Running a JSP file from the IDE causes error

    When I try to run a JSP file from a list of project files, I'm getting the following error:
    - C:\jdev\jdev9.0.3.4\jdev\mywork\ei_SmartWS\JavaEdge.war!\JavaEdge\src\web\WEB-INF\jsp\searchFormContent.jsp
    X Error: JSP files must reside in the server root directory or a subdirectory beneath it
    Anyone knows why it's doing this?

    Or Web app root, of course:
    your-web-app ---> JSPs, HTML pages here
    WEB-INF ---> web.xml goes here
    classes ---> Loose .class files go here.
    lib ---> 3rd party JAR files go here.
    MOD

Maybe you are looking for