Auto-populating folders and .lvclass files

This post really contains two different questions/issues. The first question is about using auto-populating folders with .lvclass files. The second is a more specific question about why I think I need to use auto-populating folders for some .lvclass files in a project.
I understand that .lvclass files should not be put into auto-populating. Even though I know that is a rule, I don't really understand why. I think the reasoning is that the auto-populating folder ends up making a copy of the .lvclass file, and this could cause dependency issues since I now have two copies of the .lvclass file in memory, is that correct?
I have run into a situation where it seems that need to put some classes into an auto-populating folder so they can be distributed with my EXE by an installer.  My EXE will load those classes into the program via a factory at runtime. Besides putting those .lvclass files into an auto-populating folder, I can’t find any other way to distribute the .lvclass files with my exe. Am I stuck with putting these classes into an auto-populating folder or is there another way to have my installer include them for distribution?

tst wrote:
What I will say, though, is that it seems you have a bad misunderstanding of auto-populating folders. First, there is no "should". You may or may not use auto-pop. for anything you want. I usually prefer not to. Others like to use them for everything.
The second thing is that auto-pop. only affects what goes in the project tree. It doesn't create copies on disk or in memory. It's simply an organizational tool for the project. One place where it can be useful for people who don't usually use it is indeed when you want to automatically include files in a build, but I don't think that really applies with plugins, since presumably you want to build each plugin separately.
From what I've been told by multiple sources is that you can use autopop folders with .lvclass files, but it is not best practice. In other words, you can do it, but should not. It was three years ago I took NI's LVOOP course where I was first told that this was not a good pracetice and that it has something to do with dynamically dispatching objects, but I can't remmeber the exact reason(s).
I turned to both this forum and called NI apps engineers to find out why it is not a best practice to use autopop folders with .lvclass files. After some research the apps engineer over at NI that was helping me concluded that including .lvclass files in an autopopulating folder is not best practice because (according to him) doing so somehow creates two copies of the files in memory. I'm still not totaly sure if that true or not, but unless something changed, there are good reasons why one shouldn't mix autopop folders and .lvclass files. I'd just like to understand what those reasons are. 

Similar Messages

  • How does one change the font size for folders and/or file lists in the Bookmarks Library?

    How does one change the font size for folders and/or file lists in the '''Bookmarks''' Library?
    Since the upgrade to version 9.0.1 of Firefox, the Bookmarks feature changes are confusing me. They seem to be confusing themselves as well. The list of bookmarks has changed. The font size is so small that my aging eyes cannot read it without fogging the screen with my breath. Some folders are out of alphabetical order (where I know they were previously good), and some are missing altogether (folders to which I frequently add references).
    As for missing or deranged files or folders, was there something that I should have done or now need to do to recover those after the upgrade (or before)?
    With regard to font size,
    1. there is no “Edit Bookmarks” or like option to edit the list in this version
    2. the “zoom” option in the “view” list of functions is greyed out when in “Show All Bookmarks” window
    3. expanding the browser window has no effect on font size
    4. “Preferences” settings for font size has no effect in that window either, including advanced settings
    5. “Help” offers none that I can find.
    Can any of you Help?!?

    Maybe this extension helps:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • How do I keep my macbook pro from automatically rearranging my folders and PDF files on my desktop

    How do I keep my macbook pro from automatically rearranging my folders and PDF files on my desktop?  It seems to happen a lot after I've hooked my laptop to my Thunderbolt in my office and then I unhook my laptop to go present at a clients of taking my laptop home to work.  Every once in a while if even places all of my folders and PDF files in the far upper left corner of my screen.  Needless to say, having to constanly rearrange my desktop is extremly annoying and would love to know what the fix is for this problem.  Thank you in advance for any help offered!

    Thanks for the tip "baltwo", unfortunately my desktop settings were already set to NONE.  I've had one of my IT guys here this moring helping me look through all of this and we're at a wall trying to figure out why it's doing this.  This morning when I docked to the Thunderbolt all my folders and PDF files are in the upper lefthand corner stacked on top of each other almost out of view.  If I go to settings, displays, and swith to mirroring, all the folders and files go right back to where they're set up on my MacBook desktop, but I lose the ability to utilize the entire screen of the Thunderbolt.  Very frustrating to say the least and after searching through and reviewing several forums, Apple is very much aware of this issue and seems to be keeping silent on the issue.  Hoepfully they'll launch a fix soon!
    THANKS again for the tip, it's much appreciated!

  • Auto-populating folders stop becoming auto-populated for no apparent reason

    Just what it says. I make an autopopulating folder, use it a few times, come back later and it's no longer auto-populating and I have t to re-link it. I keep my projects on a network drive if that means anything.
    PaulG.
    "I enjoy talking to you. Your mind appeals to me. It resembles my own mind except that you happen to be insane." -- George Orwell
    Solved!
    Go to Solution.

    I used to use autopopulating folders when I first started using projects.  Then I discovered that it is so much easier to manipulate things inside Project Explorer when using virtual folders.  If I want to move a file, it's just drag n drop.  If I want to rename a virtual folder, no problemo.  If I want to shuffle virtual folder hierarchies around, not an issue.  I can do these things with autopop folders also, but it is so cumbersome that I end up spending too much time focusing on how to move things around and it distracts me from doing the actual coding.  The interface should not get in the way of your coding, and with autopop, it surely does (for me).
    The tradeoff is that it is difficult to look at in Widnows Explorer.  But really it's like viewing the file structure of your hard drive directly, since folders don't really exist on your hard drive anyways.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • In Pages 5 when I try to attach a pages document to an email it gives me 2 folders and 4 files ???  How does one email a pages document.

    How does one email a pages document? In pages 5 when I try to attach a pages document to a gmail email it gives me 2 folders and 4 other files to choose from. 

    Sounds like you are using Gmail.
    Pages 5 uses a zipped package of files as its format. 3rd party servers don't understand the format and show it as the component parts.
    Use Mail toenail the file or zip the .pages document before sending.
    Peter

  • Search multiple folders and muiltiple files and combine to single file

     I want to search multiple folders for muliple files and combine to single file name. The files I'm searching have same format, but where named
    differently in each of there processes. Now I want to combine based upon -SearchFor .. I'm having a problem with -Filter $SearchFor
    Code:
    Function Search-Files{
    Param([String[]]$Locations,[String[]]$SearchFor, $AppendTo)
    Begin
    If(-Not (Test-Path $AppendTo)){New-Item $AppendTo -ItemType File -Force}
    Process
    ForEach($Location in $Locations)
    $Files = Get-ChildItem -Path $Location -Filter $SearchFor -Recurse
    ForEach($File in $Files)
    Get-Content -Path $FIles.FullName | Out-File $AppendTo -Append
    End{}
    Search-Files -Locations "\\servera\public\t1\usa\saleshist\","\\serverb\public\t2\usa\saleshist\",-SearchFor "dodetail-cm.txt","somstr.txt",-AppendTo "\\virt1\Saleshist_data_load_files\saleshdr.load.csv"

    I think you might want to use -Include instead of -Filter.  Your -Include parameter accepts wildcards, i.e. *.docx or *somstr.txt
    Your command to actually append the content should be:
    Get-Content -Path $File.FullName | Out-File $AppendTo -Append
    You had $Files.FullName which might behave unexpectedly, if at all.
    Your actual command has several issues.
    Search-Files -Locations "\\servera\public\t1\usa\saleshist\","\\serverb\public\t2\usa\saleshist\" -SearchFor "dodetail-cm.txt","somstr.txt" -AppendTo "\\virt1\Saleshist_data_load_files\saleshdr.load.csv"
    You had commas following the lists of locations and searchfor terms, did that even work? Without seeing your source files or your target file I can only advise you so much, but ideally you would import-csv and export-csv.  Depending on the contents,
    you may be able to get away with get-content and out-file though.
    I hope this post has helped!

  • Can automator create folders and organize files?

    I produce a large number of files that must all be moved into appropriate folders manually, but in a consistent manner every time. The files are titled with a keyword for the folder that needs to be created for them. There are just five consistent folders.
    Can automator be made to automatically create these folders and move the appropriate images into them? Perhaps from the right click menu?
    I've tinkered a little bit, but only been able to produce erratic behavior. In all my experiments it always stalls on the 'create new folder' step, although it does create a folder, though usually not where I needed it to go.
    Any advice would be really helpful! Thanks!

    Bravenewcharles wrote:
    Ok, so while I edit my files in my Mac that will occupy some space on its hard drive that will be backed up in the TC. Does that mean that I will occupy two hard drives on the same stuff?
    Exactly.  That's kinda the definition of a backup.  When (not if) something awful happens, like your Mac being lost or stolen, or the HD failing or getting corrupted, or you accidentally change or delete some stuff, you have a backup you can recover.
    What will happen when my Mac's hard drive is completely full?
    Don't let it.  Delete things you don't need.  If you can't delete enough, as Neil says, get an external HD for the "overflow" that won't fit, then let Time Machine back up both your Mac and the external.  See Time Machine - Frequently Asked Question #32 for more info.
    Message was edited by: Pondini

  • Auto open docx and xlsx files in MS Office 2011 after it download in Safari (com.apple.DownloadAssessment.plist not work)

    Check "Open safe files" in Safari and define docx and xlsx extensions in ~/Library/Preferences/com.apple.DownloadAssessment.plist not work. Old doc and xls files was auto opened successfully...
    Content of .plist file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>LSRiskCategorySafe</key>
              <dict>
                        <key>LSRiskCategoryExtensions</key>
                        <array>
                                  <string>doc</string>
                                  <string>docx</string>
                                  <string>xls</string>
                                  <string>xlsx</string>
                                  <string>ppt</string>
                                  <string>pptx</string>
                        </array>
              </dict>
    </dict>
    </plist>

    Yes, but there at least you are talking to people who all use the app, while in this forum (which is for hardware and not software in any case, so already off the mark, since the problem has nothing to do with hardware), it is probably a minority.
    A better place would be
    https://discussions.apple.com/community/mac_os/os_x_mountain_lion
    and or
    https://discussions.apple.com/community/mac_os/safari
    I did see someone from serveral years ago with the same problem at
    http://www.neowin.net/forum/topic/877358-open-microsoft-office-files-automatical ly-after-download-in-safari/
    I wonder if there is another list somewhere of permissible extensions in that .plist....

  • How to open multiple folders and read file?

    Hello,
    I try to use this bridge script. The script work very well for me but some times I have multiple folders.
    Now script work that:
    1. Read file in folder
    2. Save text file and show me popup with full quadrature
    http://forums.adobe.com/message/3996179?tstart=56
    1. Open folder
    2. Read file
    3. Close folder
    4. Read next folder
    5. Read file
    6. Close folder
    7. ....
    8. Save text file with all folders and show me popup with full quadrature
    Please help!
    Best regards.

    Lightwave wrote:
    I don't think you guys are hearing my question. I can see how to restore a single file or folder.
    I want to restore ALL the changed or deleted files and folders since my last backup (but not the entire disk, that would be unnecessary)
    Were all (or most) of the items in, say, your Documents folder, or your Music folder? If so, you can restore the whole folder via TM. That will put all sub-folders and files back exactly the way they were at the time of the backup. You just have to be careful to pick the right backup (date & time).
    Or, if they were scattered through your Home Folder, you can restore that entire folder in the same way.
    If you've made changes subsequent to that backup, however, they will be lost in the process. What you can do in that case is, restore to a different location, then compare the two folders, and drag & drop what you want. (To restore to a different location, select the folder in TM, then click the "gear" icon in the TM Finder window, and select +Restore <item selected> to ...+ and you'll be prompted for a restore location.)

  • Restoring Bookmarked folders and individual files in Firefox 19.0.2

    Does FF 19.0.2 bookmark the folders that contain individual bookmarks and individual bookmarks files too? If so, how can I do that? In the past an html or json file I have restored/imported has not contained all the original Bookmark folders and files. Thank you.

    You can check for problems with the places.sqlite database file in the Firefox Profile Folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    If importing the HTML doesn't work properly then there may be a problem with one or more of the bookmarks in it and you try try to use an editor to split out the content in some parts to see if you can identify the problem.

  • Working with auto Import folders and Bridge

    Hi!
    I'm trying to refine my workflow. My artwork usually comes from PS. These files are 2gig each. I set up an auto import folder, with the meta data I need to go to smart collections. Because these files are so big, I don't want to have dupes everywhere. Is there a way for Lightroom (within the Auto Import Folder settings) so, "ADD" rather than COPY or move the file. If I "Move" the file, it no longer sits with its variations. and COPY  makes a duplicate.
    Thanks.
    I'm trying it now so I may answer my own question, but will Lightroom accept a "shortcut" file (win7) rather than the original 2gb file?
    Update: It doesn't seem Lightroom will be triggered to auto import from a shortcut file. too bad...

    I dont think the Auto Import is the way to go for you here. Rather I would use the synchronize folder function in Lightroom. As you are saving from PS to a specific location all you need to do is make LR aware of that folder (or better yet, a parent folder) and synchronize when you are ready.
    The variants will also be catalogged too.
    As for the metadata addition, that can be accomplished very quickly in Lightroom or directly from within PS using an action.

  • Compare folders and output files with same name?

    I'm trying to compare two folders and print only the excel files in folder B that have the same names as the pages files in folder A. I've tried using the completedigitalphotography "compare folders" action, but it will only output files that are of the same type, not just the same name.
    Any ideas?
    iBook G4   Mac OS X (10.4.4)  

    I tested this out on my own seat and I think it should work for you. I wrote it as a function, all you have to do is pass the root folders you want to search and the file your looking for. The function will then search that directory and all sub directories
    for that file name. you will also have to provide it a file to append to, if the file dosen't exists the function will create it. If you run into an issues let me know and the links Mike
    Laughlin posted are a great resource.
    Function Search-Files{
    Param([String[]]$Locations, $SearchFor, $AppendTo)
    Begin
    If(-Not (Test-Path $AppendTo)){New-Item $AppendTo -ItemType File -Force}
    Process
    ForEach($Location in $Locations)
    $Files = Get-ChildItem -Path $Location -Filter $SearchFor -Recurse
    ForEach($File in $Files)
    Get-Content -Path $FIles.FullName | Out-File $AppendTo -Append
    End{}
    Search-Files -Locations "\\Server1\c$\Temp", "\\Server1\c$\Test1" -SearchFor "Install.cmd" -AppendTo "C:\Temp\Search.log"

  • Time Machine - can it backup selected folders and/or files?

    Hello All,
    I have searched for an answer to this question, but found no answer.
    Can I select certain files or folders in TimeMachine to backup, instead of having to backup a whole disk (only).
    I am sure I am not the only person with this question, but I could not find a post on this topic.
    Thanks for any information,
    eholz1

    Time Machine is designed as a simple backup system to handle an entire system, and provides only limited flexibility. You can exclude things from Time Machine backups, but there's no way to start with nothing being selected and add just specific folders. If backing up only certain folders and files what you really wish to do, I'd suggest you look into a different backup solution, of which there are many.
    Regards.

  • Locking folders and individual files

    Is there a way to require folders and files to need a passwork each time they are opened?

    You can use Disk Utility to create an encrypted disk image and store your files inside of that. It is similar to an encrypted folder.

  • Iclould says 7GB of emails, but I have only few folders and few files?

    I cloud control panel 3.0 says that my emails takes over 7GB but I have only few folders and not so many files visible in both webclient and outlook.  How to find the root cause of the problem ?  I exprienced webclient crash earlier when deleting/cleaning the trash.  Now the trash looks empty.

    If you sync it via iTunes to your computer the Camera Roll should be transferred during the sync to your computer.

Maybe you are looking for

  • Cannot set Windows 7 default printer in Boot Camp

    I discovered today that I cannot set a default printer in Windows 7.  I right click, and try to make one of the printers default but there is no check mark.  One of the programs that I use says I do not have a printer installed.  I can print to my pr

  • PDFs will not open with new download

    Anyone else having this problem?  Downloaded new adobe reader and will not open any pdfs. 

  • Reversal of Reversed Outbound Delivery

    SAP Gurus, Is it possible to reverse a Reversed Outbound Delivery? I mistakenly used a wrong document date and want to repost a reversed outbound delivery document with a correct date. Thank you, Pravin Ambardekar

  • PCL4 TABLE LOG FOR INFOTYPE 2001 IS NOT WORKING IN QUA 070 CLIENT

    Heloo, Could some one let me know the ways to capture the log of infotype 2001. I have used PCL4 table to capture all the changes made to INFTY 2001. This is working fine in DEV 070. But not working in QUA 070. Could someone let me know what is the p

  • Problem linking with OCI

    Hi, I am using Oracle 8.0.5.0 and am trying to compile a C++ program using the OCI. I am using RedHat Linux v5.1 with g++ egcs version 2.90.27. This is my library and object list from the makefile: ORALIBS = -lnetwork -lclient -lnetv2 -lncr -lgeneric