How to search paths work?

I can not get the search path to find a VI that is saved in an LLB file that is located in the same directory as the LLB file that contains the TOP-VI. My search path include both "topvi" and "topvi"\* but Labview will not search through the other LLB file, it only search the TOP-VI LLB file and through the directory itself.
I don't want to add any specific search paths for special directories. I think that using basic search paths, Labview should at least search all LLB files within the directory that contains the LLB file where the TOP-VI is located.
I know that I can just find the files manual and then save the VI but I am trying to understand how the search path is supposed to work?
What am I doing wrong? Is this a bug? Is there a work around or special search path that I should add to the options to make Labview search through all the LLB files?
Thanks
Roger Bald

Roger,
I see what you mean. This does seem a bit odd. If the subVI is relocated into the same library as the top level, it finds it, but not if it's moved into another library, or even moved to the same directory as the top level and not put in a library.
I tried this with the default VI Search Path setup, then added the <foundvi>\* to the path and got the same thing.
It does seem that there should be a way to have it search through the entire structure of the top levels directory.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

Similar Messages

  • How do class paths work with JAR files?

    Hey all,
    I have in the manifest file a path to a folder, plugins. In it I have a dir and files myDir/*.* so when unzipped it has <install-dir>/plugins/myDir/*.*. In the MF file I indicate the plugins dir as part of the class-path. When I want to load a .class file from the myDir/ dir below plugins, and the classes in there do NOT have package names in them, how is that done? Every time I try to access a file via Class.forName() it says ClassNotFoundException. If I hard-code the string as "myDir/myplugin" or use package identifer "myDir.myplugin" it still doesn't work. I don't want to unzip a ton of files from each plugin in one dir. I want a more organized way of storing them. However, because plugins can be added after the file is unzipped, I can't specify all the locations of plugins/<dir> dir's in the MF file if more are added later. Is there a way to locate and load a class in ANY dir, even those that are NOT in the class-path? Please help me out if you know. Thanks.

    I really can't help accept to say that it is the way it is to avoid naming conflicts i think. can you make the plugins packages ? Otherwise especially if various people write them there may be some crazy naming conflicts hidden in trying to load things from anyplace.

  • How does search feature work?

    Upper-right corner of any finder window has a "magnifying glass" search feature.
    Have never been able to get this to produce any useful results, nor can I find a pattern or any sort to the results it produces.
    Typed "epson" and nearly 100 results come back with filenames like "fedex", "hotel", "batch1", "airfare" ...
    Have plenty of Epson software on the system however not a single one appears in the search results.

    The search isn't just looking for file names that match what you type it is also looking inside for the term.
    You can limit what it is doing by clciking on the arrow in the blue box and opening it
    Also if you need more control over the search you can open the finder window, press command F. You'll get an are where you can enter a more complex search.

  • How does YouTube search function work

    Hey all,
    Does anyone know how the search function works on AppleTV for YouTube? I know that not everything is on there yet...I know that...but things I have just watched...don't show up in the search?
    So it doesn't seem to be searching the video title...maybe it's searching tags only?
    Maybe certain video's haven't been indexed in the search yet but are already converted?
    Just kind of curious how this thing is searching.
    Thanks,
    tom

    I'm not sure anyone has actually worked out the search function works yet.

  • VI Search Path not working in LV2011 for VI Server Plug-ins with exe

    I have found what seems to be a problem with the search path when a LabVIEW 2011 built executable calls a Plug-in VI. 
    When the plug-in VI has subVI’s from vi.lib on its diagram the executable has to know where to find them.  Not all VI’s in vi.lib are part of the run time engine or the dll’s that may get generated as part of the build. The things you have to do to make plug-ins work for an executable are explained in several Developer Zone articles.   The article titled “How Can I Change or Set the VI Search Path for LabVIEW Executables” describes the ini file setting  viSearchPath.  When this is set to the vi.lib directory I have not encountered problems with previous versions up to and including LabVIEW 2010.
    I have come across an example in LabVIEW 2011 where it doesn’t work.  I have attached an example (I am using LV2011 SP1).  It demonstrates the basic plug-in architecture. Everything works in the development environment.  But it doesn’t work from a built exe.  I haven’t included the actual built exe in the zip file in case that causes a problem downloading it.  If you run the build spec from the src directory project file the exe should get generated in the bld directory.  The problem appears to occur when certain VIs from the analysis library are in the Plug-in.  In the example attached, the Plug-in VI is very simple but I have placed the troublesome SubVI on the diagram.  The VI in this example where there is a problem finding it is the Butterworth Filter VI.  I have placed it on the diagram in a conditional disable structure so it is easy to enable and disable.  When enabled and you run the test Plug-in VI the error 1003 is raised, meaning a subVI cannot be found in the dynamically called VI (for example see this post).  Note that a way round this may be to incorporate the Plug-in VI into the built exe but this shouldn't be necessary.  It’s not a problem with this specific filter VI, as it occurs for other VIs I try on the diagram.  However if you place an FFT VI on the diagram there is no problem.  I suspect that one is built into the Run-Time Engine.
    I also note I am running Win7 64 bit and 32 bit LabVIEW (note the relevant viSearchPath in the ini file – you may need to change if you are on different version of Windows).  If the example is converted to LabVIEW 2010 everything works as expected for the built exe.  I tried that on a colleague’s computer running XP and 2010 but I am pretty sure in still also works on Win 7.
    Things I am suspicious of are that the analysis VI’s are part of a LabVIEW library (lvlib)  and perhaps something has changed there?  I understand there is a problem with OOP in LabVIEW 2011.  Perhaps it is related to that as that seems to be an issue in 2011 (see this Discussion Forum post).  Perhaps it is related to OS version?
    I also tried generating a Source Distribution to extract out all the vi.lib VI’s and place them directly in the Plug-in directory.  That didn’t help.
    Interested in whether anyone else reproduces this behaviour.  In any case something is different in 2011.
    Attachments:
    LV 2011 test Plug-in.zip ‏42 KB

    I found some more out about this issue working with my local NI rep here in Australia.  Apparently something has changed in the compiler between LabVIEW 2010 and 2011.  Using the viSearchPath token in the ini file, as described in various Developer Zone articles, now guarantees that the Plug-in will not work.  The only way to make it work appears to be to create a Source Distribution.  I noted in my original post that I had already tried this and it would not work.  It turns out that having the viSearchPath token in the ini file when using a Source Distribution causes the error 1003 to occur.  When the token is taken out of the ini file the Plug-in (containing an analysis VI) with a Source Distribution works - in the simple example I posted.
    Well I then found its a bit more complicated than this.  It all worked for the simple example I posted.  Recall we found the error when there was an analysis VI in the Plug-in VI.  In our actual application (which is a large one) that calls Plug-ins - we still got the error 1003.  By trial and error I found a workaround.  There are certain Build Spec settings for the calling exe that I set and found worked.  On the Additional Exclusions page I found that I had to make sure that I left unchecked "Modify Project Library File after removing unused members".  I've always had trouble understanding the need for this setting.  In the Build Spec Help on that page it notes that the build will take longer.  In most builds you remove polymorphic VI instances, remove unused members of Project libraries and also Modify the project library file after removing the instances (this is a sub setting of the previous).  This makes the exe smaller in size and a quicker build time. Obviously modifying the project library caused a problem.  In the big application exe calling Plug-in, I probably have the same analysis VI on the diagram (I haven't actually checked and also whether it is the same polymorphic instance) and in the simple example I posted I definitely did not have VI in the calling exe example - so there may be some clue there.  I should try putting the same analysis VI on the calling exe diagram in the simple example to see what happens but I'm running out of energy on this one :-(
    So none of this gives me much confidence and I wish I could get a better explanation from NI regarding this behaviour to be sure I am not going to encounter a different problem for different calling exe and Plug-ins.  I was advised that a CAR would be issued.  Perhaps this is now expected behaviour for 2011 but it would helpful if some definitive explanation could be given about what has changed from LV2010.  And an update of Developer Zone articles on the subject would be helpful.

  • How does searching for tags in different languages work?

    I have a website in English an German (and eventually also in French and Italian) to which I would like to assign the tag Lawyer (English) / Anwalt (German). Therefore I have set up the tag in the UI as below and tagged the page manually to try if it works. Everything works well, but when I search for the tag I can only find the pages by typing in the tag name (here lawyer), but I would also like to find it by typing in Anwalt. Is there a possibility to make the tags searchable in all languages except for creating a new tag for each language?
    How do I have to put it here etc/tags/marketing:lawyer? Do I have to translate the tags first in the UI? I assume, that if I put etc/tags/marketing:anwalt, a new tag is created.
    Thanks for your help!

    What do you mean by "etc/tags/marketing:lawyer" - where do you put this? Such strings are not expected to work.
    There are tag ids, which are based on the node names of the tag and which are not localized. In this case it would be "marketing:lawyer" or /etc/tags/marketing/lawyer (absolute paths work as well, albeit they are not written by the built-in tagging code). These would be used in the GQL search query in the normal search field in the content finder, using "tags:<tagid>", for example: "tags:marketing:interest/business"
    Then there are titles, which you see in the tag labels when setting tags e.g. on a page, such as "Marketing : Lawyer", or "Marketing : Category / Subcategory" for nested tags. Titles are localizeable. If you have the suggestions enabled in the cf, you'd type e.g. "Lawyer" (user language set to English) or "Anwalt" (user language set to German), see a list of suggested items, select the tag (recognizable by icon) and the search field should be populated with "tags:marketing/lawyer" automatically.
    See also
    http://dev.day.com/docs/en/cq/current/wcm/tag_admin.html#Managing%20Tags%20in%20Different% 20Languages
    http://dev.day.com/docs/en/cq/current/developing/tagging.html

  • HT204014 How can I get spotlight search to work over a network running OS X Server?

    I have installed OS X Server on an iMac to share its files over a network.
    I can access the files fine, but if I try and search the shared folders from another Mac on the network it yields no results.
    How can I get search to work as well as it does on the files on local disks.

    Spotlight searching of shared volumes works for me using OS X 10.10.3 Server and OS X 10.10.3 client, as follows:
    If I use Spotlight to search for some content "Aaron Aardvark" the file that contains this text does not seem to show up in the immediate results, but if I select "Show All in Finder" and switch from "This Mac" to "Shared" the file "untitled text.txt" that contains it is listed.
    In the past Spotlight was responsible for bringing servers to their knees, so I suspect that the above two-step process is a way of limiting server searches to cases where it is actually required.
    Server 4.1 (OS X 10.10.3) seems to add the extended attributes needed to allow Spotlight to index sharepoints:
         test_server3:~ admin$ ls -el /Volumes/Server\ 3\ Users/
         total 0
         drwxr-xr-x+ 4 admin  staff  136 30 Apr 17:02 Server 3 Users
          0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit
         test_server3:~ admin$
    but in the past, e.g. Snow Leopard server, you could choose whether or not these attributes were set or not. IIRC  Snow Leopard clients would always include server volumes in Spotlight searches, causing significant slow-downs on the client, so a lot of sysadmins, myself included, chose not to enable it.
    C.

  • How to create search path for the file on the desktop..

    hello experts..
          I have used gui_upload module to upload the data from flatfile to the internal table, in that how can i create search path for the file selection in the selection screen, also please help me the code to update the ztable.
    thanks

    HI
      If iam not wrong you want to select a file from a location that you don't know so if this is ur problem then use the function module
    F4_FILENAME
    this FM helps to locate and select the desired file from the system.
    Sample code that you can check is
    How to get windows filename
    PARAMETERS: lv_file LIKE rlgrap-filename.
    Method 1
        CALL FUNCTION u2019KD_GET_FILENAME_ON_F4u2019
        EXPORTING
        MASK = u2019,.txt,.*u2019
        STATIC = u2019Xu2019
        CHANGING
        FILE_NAME = LV_FILE.
    Method 2
    CALL FUNCTION u2019F4_FILENAMEu2019
    EXPORTING
             program_name = syst-cprog
             dynpro_number = syst-dynnr
             field_name  = u2019 u2019
         IMPORTING
             file_name   = LV_FILE.
    Regards
    Pavan

  • How to define Containing Project Directory in the TestStand Search Path?

    In TestStand Search Path one of the list is "Containing Project Directory". How can I define this?

    Legal Engineer -
    TestStand does expose the "containing project directory" in the search directories dialog box. It only has meaning for the FindFile API function when the "currentSequenceFile" parameter is set to a project file. I agree that it is confusing in that it does not apply to steps finding code modules. If you unchecks this setting and you reload a workspace, any projects that use relative paths to specify their files may no longer find their files.
    In general the suggestion is to leave it checked and ignore it.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Does anyone know how travel meta search engines work? (kayak,mobissimo)

    Does anyone know how travel meta search engines work? like (mobissimo,kayak,TravelJungle.co.uk)

    Thanks for your reply BalusC
    i agree with u.
    the sites like kayak, mobissimo are using spider tool to get data from other sites(airline site, etc..).
    and they are using jquery with php pages. these sites are airline ticket booking sites.
    my questions are:-
    how can they get flight information without any GDS help?
    can a spider program/tool fetch the realtime data?
    i had experience in implementation of client side web services for GDS(worldspan,amadeus).
    but i am not have any experience with travel meta search engine applications..
    thats way a need help from seniors...

  • How to get the Wiki search functionality working?

    hi,
    Another Wiki question regarding the 7.1u1 Portal wiki functionality: What is necessary to get the wiki search functionality working? Right now when using the wiki search page all it does is return to the search form, no errors but no hits either. I guess some additional administrative work is needed to get search working?
    thanks, tom

    haven't touched anything except for the wiki template jsps to change the design. it is a linux rh4 install. there are no communities on that server (yet), just the wiki portlet in a tab so far. is the wiki search dependent on the portal search server or totally separate (ie self contained wiki search)? any additional services or such that need to be started for it to work?

  • Office 2013 with Service Pack 1 installation error about "search path"

    I have an automated installation technique that has worked fine with Office 2010 Pro Plus (32-bit), incorporating the latest Service Pack into the network administrative installation point (under \updates), adding 10 foreign languages to the network administrative
    installation point, creating a custom .msp with the OCT (that goes into \updates too), editing the config.xml files, and then running setup.exe from that network administrative installation point. This works on 32-bit Windows XP clients and on 32- and 64-bit
    Windows 7 clients.
    For Office 2013 Pro Plus, I have built the network administrative installation point exactly the same way (original DVD files + languages + SP1 updates + config.xml updates), but the installation is failing with every type of client, all with
    the same error message. The network administrative installation point is readable by the normal installing account, but I even get the same error when I login as me and initiate setup.exe manually, and I have all rights to this point.
    Here's the critical point from a log file:
    2014/03/11 11:53:49:691::[2372] DistributionPoint parsed.  The distribution point is now set to: \\archive.ads.college.edu\archive\KBOXalt\Office2013
    2014/03/11 11:53:49:691::[2372] COMPANYNAME specified in config.xml.
    2014/03/11 11:53:49:691::[2372] USERNAME specified in config.xml.
    2014/03/11 11:53:49:800::[2372] Setupexe Resiliency Mode is set to [PerformIfApplicable]; thus Resiliency is [disabled] for the [InstallExecutionMode]
    2014/03/11 11:53:49:910::[2372] Searching for default versions of resource files under the folder [\\archive.ads.college.edu\archive\KBOXalt\Office2013].
    2014/03/11 11:53:50:019::[2372] Error: GetDirectories: search path \\archive.ads.college.edu\archive\KBOXalt\Office2013 does not exist
    ErrorCode: 0(0x0). Failed final attempt to load a setupexe resource file.
    2014/03/11 11:53:50:019::[2372] Error: GetDirectories: search path \\archive.ads.college.edu\archive\KBOXalt\Office2013 does not exist
    Type: 34::InvalidDirectory.
    2014/03/11 11:53:50:019::[2372] WER element [SuppressModal] is set to value [true]
    2014/03/11 11:53:50:019::[2372] WER element [P4] is set to value [InvalidDirectory]
    2014/03/11 11:53:50:019::[2372] Catalyst execution finished: 03/11/2014 11:53:50.  Return code: 30034.  Exception caught: InvalidDirectory.
    2014/03/11 11:53:50:019::[2372] PERF: TickCount=894821 Name=RunSetup Description=End function
    I cannot find any references to this exact error anywhere on the Internet. Can anyone tell me what this means, and how I fix it?

    As automated, the utility that runs setup.exe maps a drive letter to
    \\archive.ads.college.edu\archive\KBOXalt using a kboxmap AD account, which has read access to the whole \KBOXalt tree. I used that same kboxmap AD account manually to simulate what the utility does, and hit the same problem. But here's what's
    odd: right next to that
    \\archive.ads.college.edu\archive\KBOXalt\Office2013 directory is an
    \\archive.ads.college.edu\archive\KBOXalt\Office2010 directory, both created the same way, and the Office 2010 installation has always worked perfectly using the kboxmap AD account. I don't understand why Office 2013 is only working for an account with
    read/write access, where Office 2010 worked fine for an account with only read access. Especially when the Office 2013 resource kit documentation clearly states that the account running the installation should only have read access, nothing more. (All this
    KBOX stuff comes from the fact that our deployment environment is a Dell KACE KBOX 1000. However, that plays no part in the problem: ignoring the KBOX 1000, I can manually recreate the problem every time.)

  • Reader X Search doesn't differentiate cached search paths for reselection

    I use the Search quite a bit (or did).
    Specifically the "All PDF Documents in" option, where  the paths of locations that have previously been browsed to are presented for  reuse.
    Previous Reader versions shortened long paths so as  to display the last part of the pathname, which is normally sufficient to  identify the path required.
    X does not, so, with no Tooltip either, it is  now impossible to differentiate paths with common starting paths longer than  that displayed. Update  FAIL.
    Widening the whole search panel does not widen the  field. Update FAIL.
    AND when you start the search you STILL don't get to  actually see what path is being search due to truncation. Again widening the  panel does not widen the fields. Update  FAIL.
    And why can't we have the normal search term field in  the toolbar for seraching the curent document? Although as it took me too long  (I think) to even work out how to get any search button on the toolbar, maybe I  mssed that. Update FAIL (x2).
    And all my old search paths from the previous version  have been binned. Update FAIL again.
    So much for ease of use, do developers actually test  sw "in use" rather than some neatly defined functionallity test scrpit - make  the developers use the product is always a good way to fix this I  find.
    Honestly, if there wasn't enough resource available  in Adobe to sort out this kind of trivial ease-of-use functionallity (that I found in just 5 mins use) then how  can anyone have faith that the serious stuff has been properly  tersted?
    Not a good start for 5 mins use. And I see the  downgrading doesn't work. Stuffed again.

    Any ideas on how I get Quicktime to work that does not include disks?
    Pacifist does not require an optical drive for use. Simply "drag 'n drop" the downloaded "QuickTime769_Leopard.pkg" installer file as downloaded from Apple or the OldApps.com site to the Pacifist Window, select the "QuickTime Player App under the "Applications" entry, and tell Pacifist to extract the app. Then it is simply a matter of dragging the app to your root "Applications" folder.

  • Still LDAP server not responding when add to authentication search path ...

    Howdy All,
    I still have an OS X Server 10.5.6 (running Open Directory with its own Master directory) that when configured to connect to a corporate LDAP server indicates the server is responding fine, but when I add the server to the authentication search path, the server is no-longer responding.
    I suspect this may mean the LDAP server is choosing to no-longer respond? Is it possible that the LDAP server could have my machine / IP address "black-listed" in some way? I have asked corporate IT but they didn't seem to think so (although I was queried before about repeated connect attempts).
    Somewhat strangely I can configure a laptop client (OS X 10.5.6) to connect to the same LDAP server from an Ethernet port on the same LAN and it works fine. However, when I connect this laptop to the LAN through my server (WiFi NAT) I get the same issue as described above.
    I don't have the firewall on the server turned on, I have played around with some certificates on the server, but have set "TLS_REQCERT never" in the ldap.conf file on the server (and client) as suggested by corporate IT. I have Kerberos running on the server and all else seems fine on the server.
    Can anyone suggest what may be causing this? Or how I can debug the problem?
    Thanks in advance.
    Cheers,
    Ashley.

    Hi Jeff,
    Thanks for your post. That said, I'm not sure how you got the impression that I wish to go to Maine I'm happy here in Perth, Western Australia.
    Jeff Kelleher wrote:
    Connecting a Mac to an LDAP server is a far cry from connecting a OS X Server to an existing LDAP server. Not that I could necessarily help, but asking how to connect an OS X Server to an LDAP server is a bit like asking "guess where I am now, how do I get to Maine?"
    You need to provide as much info as you can.
    Seriously though, I'm not sure of the difference. I am using Directory Utility to allow this OS X Server to get authentication information from an LDAP server just like an OS X Client would.
    I have Open Directory in Server Admin just setup to connect to a directory system (i.e. the organisation LDAP server), not a master or replica.
    My final goal is to allow access to an OS X TeamsServer Wiki by users who are authenticated against the LDAP server (rather than having to have separate accounts, logins, on the OSXS.)
    I am hoping that I can use a group from the LDAP server to define the team, but perhaps I will have to run a standalone OD. I hope then I can add LDAP users to the OD group.
    What other information would help?
    Thanks,
    Ashley.
    OS X Server 10.5.6

  • How to add path to "java.library.path" property?

    I use this command to set the "java.library.path" property:
    java -Djava.library.path=./libs    HelloWorldBut it will overwrite the default value. How can I add the path "./libs" to the default value of "java.library.path"?

    Have you tried
    -Djava.library.path=%PATH%;./libs The command search path is the only default I know. By the way, are you certain that the present working directory will always be the parent of "libs"?

Maybe you are looking for