Can't find my dynamically loaded VI path

Hi Folks,
I wrote a small VI to aid with file paths used for dynamically loaded VIs. It has worked well up until this point, when I tried to use it in a larger project. I can't seem to figure out what's wrong here - I was under the impression that as long as the (called) VI was included in the build, that it should be available from \built.exe\...
In terms of directory structure, the caller VI is at:
C:\Projects\LabVIEW\ABES v6.0.1\toplevel_602.vi
The called VI is in:
C:\Projects\LabVIEW\ABES v6.0.1\subvis\GUI\preferences\GUI_preferences.vi
Caller:
The 'AutoPath' VI:
Info received when trying to call subvi from BUILT exe:
Finally, project structure (auto-populating directories) and build spec's:
What is it that I'm not getting here?
Thanks for reading,
Jamie
v2009 devel. w/RT

The first example assumes two things:
There's a folder that has all the plugins.
The actual plugin VI is included in the build (e.g. by putting it in the Always Included section, as shown below), so it's also placed inside the EXE.
If this is done, then the "plugins folder" VI shown in my example and the actual plugin VIs keep their relative positions inside the EXE, which is the case the original poster had. In this case, as well as in my second example, you don't have to do anything - LV will automatically place the VI in the correct place INSIDE the EXE.
I didn't look at your code, but if you're not including the plugin inside the EXE itself, this can become more complicated, because you have to manage all the paths and the dependencies. I suggest you try to avoid doing this unless you must have the ability to add plugins after building the EXE.
If you do need, try searching around for info on plugin architectures. I believe there's some info in the LV wiki.
Try to take over the world!

Similar Messages

  • How can I find when I loaded Maverick? I want to uninstall.

    How can I find when I loaded Maverick?  I want to uninstall it, but I want to go back to before I installed it for
    Time Machine.

    No need to multiple post. See your other thread on this Topic...
    https://discussions.apple.com/message/24544578#24544578

  • Can't find dynamicall​y loaded VI

    I'm updating a code from LV6.1 to LV2011. The application runs fine before I build it and install it on another machine. When I install and run it on the other machine, it tries to open a file by reference, but it can't find a VI named DSA8300.vi. I get the following error message.
    Open VI Reference  in InitScope.vi->PATAR.vi-><APPEND>
    VI Path:  <B> c:\PATAR3.0.2\Range_RC3\Plugins\Scopes\DSA8300.vi<​\b>
    Built Application or Shared Library (DLL):  Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared library. 
    But I checked my build properties, and the file has been properly included in the build spec as a dynamic VI. What else can I check?
    Thanks very much.
    Solved!
    Go to Solution.

    efarr wrote:
    I tried some things, but I'm still confused. 
    In the Destinations section of the Build Properties, there are about a hundred subdirectories shown where the application will be stored. But when I build the app, only about five directories are created. It seems like most of the directories are missing. Is this the installer you are referrring to? This only shows where your application will be installed.  It does not create all those folders listed.
    In the "Additional Exclusions" section of the build properties, I unchecked all the boxes, so nothing would be excluded. I got the same behavior. 
    One of the missing subdirectories is "Scopes", which would be the logical place for the missing  VI. Did you create a folder called Scopes in the Installer? Is this where you expect the VI to be located?
    The app builder seems to be leaving out a buch of files (or at least directories), and I can't figure out why.Which files and/or directories is it leaving out?
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home

  • Can I call a dynamically loaded subvi from a subvi inside a library?

    I have an application that uses a .lvlib, this library has many subvi's.  From my executable, I can dynamically load subvi's within the library using the "open reference.vi" and passing in just the name as long as the subvi's being called are listed in the "always included" list of my build specification.  What I want to do now is load an external subvi (external to the library) using the same method.  But when I try to do this, LabVIEW cannot find the external subvi even when it is included as part of the executable.  It seems the Paths are getting messed up.  Here is what is happening:
    Lets say I have Mylibrary.lvlib as my library in the following path C:\MyProject\Mylibrary.lvlib,
    and internal.vi as my subvi within the library in the following path C:\MyProject\MySubVis\internal.vi,
    and external.vi as my subvi outside of my library in the following path C:\MyProject\external.vi
    This is all in the same project.
    I'm using the "Open VI Reference.vi" from internal.vi to call external.vi, and I'm including both internal.vi and external.vi in my executable (MyEXE.exe for illustration purposes).  When I run this part of my code I get an error and LabVIEW reports the path of my external subvi as: C:\MyProject\MyEXE.exe\MySubVis\external.vi which is really the path for my library subvi.  Why?
    Either way, when I hard code what is supposed to be the correct path to my external subvi:  C:\MyProject\MyEXE.exe\external.vi, LabVIEW can't seem to find the file, its' almost like an access scope problem because I'm trying to access something outside of the library.  Is there such thing?  If the file is part of my exe why can't LabVIEW find it???  How can I call my external.vi BY NAME from my internal.vi??
    Any help is appreciated.

    Your hardcoded path is incorrect. How do you have the build configured? Are you using the new executable structure or the pre-8.2 structure.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How can you display a dynamically loaded vi to the Web Server?

    I am working with LabView 6.1 and the Web Server. I can call a subvi and have it display on a remote machine using a browser with no problem. But what I would like to do is dynamically load and run a vi and have it display on the remote computer using only a browser. I have tried a small example of a front panel that invokes the run vi method (and fp.open prop) on another vi when a button is pressed, but the invoked vi is displayed only on the local computer. Is there any way of viewing dynamically loaded vi's on a remote machine without having a copy of LabView running on it?

    If i understand your question correctly, you want to monitor vi that are dynamically loaded on a remote machine without having LabVIEW installed on the machine from witch you want the monitor. I don't think it's possible how ever a good reference book would be Internet applications in LabVIEW. You can find it on BARNES&NOBLE.
    Hope i could help

  • Can't find tab to load Airplay in App Store

    Can't find tab, icon to load Airplay in App  Store

    airplay is built into ios 7.  there is no airplay in the app store.  you can find the airplay icon in control center when you swipe up.  Note, the icon will only appear if it sees another airplay device on the same network with the same apple id, and when home sharing is enabled on both devices and on your computer - i tunes.

  • Where can I find what phone loads are compatible with CME?

    I recently upgraded one of our CME systems to CME v10.0
    I noticed that even though the CMEv10 Supported Firmware page says the compatible phone load for my 7911 phones is 9-2-1TH1-13,
    my 7911's running phone load 8-4-3-16 all seem to be registering and running just fine.
    So I must conclude that 7911 phone load 8-4-3-16 is compatible with CME v10.0
    Where can I go to find out what phone load versions are compatible with CME or perhaps, at least, where I can find what phone loads are no longer supported by a version of CME?

    Hi Jared,
    Specific CME versions are tested with the versions listed on the "requirements" doc like the one you mentioned (linked below), but are not limited to those firmware versions. The phone loads/firmware is completely independent from the CME/IOS version. And it is often appropriate to upgrade or downgrade phone firmware levels on CME and is fully supported :)
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/requirements/guide/cme10spc.html
    I would look at upgrading the 8-4-3 firmware for the 7911's BUT you will need to move to an interim mid-point release like 8-5-2 as a first step due to the "important notes" shown here;
    Firmware Upgrade Issues for SCCP
    Note For all SCCP firmware upgrades from firmware release versions earlier than 8.3(3) to version 8.5(3) or greater, you must first upgrade your firmware to version 8.5(2). Once you have upgraded to version 8.5(2), you can upgrade your IP Phone to version 8.5(3) or later.
    http://www.cisco.com/en/US/docs/voice_ip_comm/cuipph/firmware/8_5_3/english/release/notes/7900_853.html#wp57602
    Cheers!
    Rob

  • Can not find folder to load camera raw presets on MAC.  I have searched and says to drop in the library/application support/adobe/camera raw/settings folder but I do not have this folder or can no locate it. I get as far as lib/appsupoort/adobe/camera raw

    I just made the switch to mac. I am have installed all the new PS6 CC and bridge and I am not trying to add some presets to my  ACR but when I search for the folder to place them it is not there.  From what I researched it says it should be under camera library/application support/adobe/camera raw/settings but I can only get to library/application support/adobe/ and then there are two different camera raw options I have checked both and there are not settings folder. If anyone can help me please thanks

    You want your user library
    Mac(user)/Library/Application Support/Adobe/Camera Raw/Settings
    In finder click on Go then hold down the Option key and then click on Library

  • How can i find what the java.library.path is?? urgent

    Hi,
    I have an unsatisfiedlinkerror and the message is no jicmp in java.library.path. can anyone tell me how to do System.out.println and the path???
    This is very urgent so anyhelp would be gratefully recieved
    Thanks
    Vanessa

    I have an unsatisfiedlinkerror and the message is no
    jicmp in java.library.path.
    can anyone tell me how to
    do System.out.println and the path???System.getProperty() will retrieve the Java-defined system properties. You can use the following code to determine the available values:
    public static void main( String [] args ) {
    java.util.Properties p = System.getProperties();
    java.util.Enumeration keys = p.keys();
    while( keys.hasMoreElements() ) {
    System.out.println( keys.nextElement() );
    Refer http://www.javaworld.com/javaworld/javaqa/2001-07/01-qa-0706-env.html
    Jatin

  • Can I find out dynamically the compilation data of an executbale ?

    I am tryhing to track the distribution of VIs to a lot of people. If I can uniquely identify an attribute (e.g. compilation date) I can compare it with the attribute of the current version (stored in a database that is accessed by the VI) and determine when a copy of an executable is obsolete and needs to be replaced.

    My VIs have their version encoded in the name of the toplevel VI (e.g. myfancyprogram_133.vi"). Inside it, in the initialization section of the code, I get the "Current VI path", extract the file name, clip the extension, and display it on the FP in a string indicator labeled "Version:".
    Much later, if a user calls me, I just have him tell me the version number from the FP. This gives me: (1) access to the name of the original toplevel VI (2) Version he's running. (See attached image of the lower left corner of one of my applications)
    It should not be hard to have the program also check a database and compare numbers to see it it is up-to-date, then popup a dialog if the database contains "myfancyprogram_135".
    For more details, you can also ge
    t the "history..revision number" using vi properties.
    Note that in my case the exe name is always just called e.g. "myfancyprogram.exe".
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Versioncontrol.gif ‏3 KB

  • OBIEE Plug-in for AWM : Can't find the Plugin loaded

    Hi ,
    I am using 10g R2 database with awm10203A_win32 (10g AWM) downloaded from OTN for configuring my cube . Cube ,Measure and dimension configured fine but even if I am placing the obieeplugin.jar file in the Plugin location and configure the same path in my AWM interface ,after restart of AWM I can't still see Export to OBIEE Admin submenu .
    However I have not this problem when I am running Oracle 11g R2 database with 11g AWM . It was perfectly fine that time .
    Is it due to the database version for which 10g AWM doesn't support OBIEE plugin ? as I can see below information :
    Supported Versions of Oracle Database
    OBIEE Plug-in for Analytic Workspace Manager supports Oracle Database 11g,
    Release 1 (11.1), version 11.1.0.7 and later, and Oracle Database 11g, Release 2 (11.2).
    So I want to confirm this . Also if I am not being able to get the UDML generated by 11g AWM is there any way to get those cube configured in OBIEE 10g repository ?
    Thanks in advance,
    Debashis

    Helllo,
    the most persons that are watching this forum don't really understand where you are talking about, this forum is dedicated for migration of non-Oracle databases to Oracle.
    I did a quick search for "OBIEE" and the majority of hits came from the following forum:
    Forum: Business Intelligence Suite Enterprise Edition
    Business Intelligence Suite Enterprise Edition
    So it is better if you place your question there.
    Regards
    Wolfgang

  • Computer can't find printer since loading new camera software

    i tried uninstalling the printer software, and then reinstalling but the set up assistant does not recognize the printer. its an hp multifunction printer, but the hp site was no help. if i reinstall my system software do you think it will help? also, do i need to back up all my files before doing this? will i lose my applications?

    How about removing the new camera software since installing it caused the problem?
    Regards
    TD

  • Firefox will not show links to flv files. I get the error message for each flv file: "File not found. Firefox can't find the file at (path) .flv." Any mov and swf files in this same path will show. I can see the videos in Safari so the paths are correct.

    Firefox will not show links to flv files. I get the error message for each flv file: "File not found. Firefox can't find the file at http:// (path) .flv." Any mov and swf files in this same path will show. I can see the videos in Safari so the paths are correct.

    Is this a webpage that contains a link to a flv file? Please post a link to the page and tell us which link(s) are the problem flv files or else post a link to the .flv file itself.
    Alternately, click on one of the sample FLV File links on this page and tell us exactly what happens:
    http://www.mediacollege.com/adobe/flash/video/tutorial/example-flv.html
    It might also help if you post the exact error message, including the path to the flv file.
    '''Note:'''
    Depending on how you have Firefox set up, clicking on a FLV File link will either save the FLV file to your computer or Firefox may open it automatically in an external application right after downloading (Firefox may ask you first). Firefox itself can't play FLV files so you need a "helper" application (or a plugin for flv files, if ther is one. You can see if Firefox is already set up to download or open FLV files by going to Firefox Preferences and looking in the Applications list. Find the FLV file type in the list and, if the action is "Open with", it should show the application that can play FLV files (e.g., VLC Media Player or Perian). See [[Managing filetypes]] for more information.

  • Itunes won't start up - can't find usr/lib/libstdc++.6.dylib

    Hi,
    I had to reinstall the OS 10.3.9 on my ti-book. I did an archive and install, but now iTunes won't start up. Console says it can't find this dynamic library:
    usr/lib/libstdc++.6.dylib
    Since I have a lot of my songs in my personal lib on this machine, and podcast susbscriptions, etc - I don't want to lose them if possible.
    Is there a way to just install this lib, or will I have to reinstall iTunes altogheter?
    I searched for the above file, but can't find it on the disk.
    thx.
    'mark

    Do you have any iTunes plugins? You may want to get rid of them and try again.
    Also, have you tried removing the corresponding com.apple.itunes.plist files from <youraccount>/Library/Preferences, logging out, logging back in again (or rebooting) and then relaunching iTunes? I don't think an archive and install will refresh this file for you. Nor will reinstalling iTunes.

  • Sql loader direct path

    Hi All,
    Can anyone confirm whether SQL loader DIRECT path option can load in clustered tables?
    Also what is the difference between Clustered Server and Clustered Table? Will the clustered Server by default have clustered tables?

    That is 1/2 of the questions asked.
    What do you mean by clustered server? Do you mean RAC or HACMP or Veritas something else?
    What do you mean by clustered table? Do you mean like a single table hash cluster or something else?
    Please be specific ... you don't want an answer based on a guess.
    And what is 10g? Is that 10.1.0.3, or 10.2.0.1, or 10.2.0.5? Again this is computers please be precise.I am sorry. version is 10.2.0.1. its Oracle RAC. I am not sure what kind of table clustering exists. I believe its table cluster using a cluster key(what kind of table clustering is this?)
    I just want to know if sql loader direct path option can load data in Oracle RAC / Clustered tables? If not, any workaround for that?

Maybe you are looking for

  • IDVD project won't open any longer

    Hi, I experience the following very frustrating problem with iDVD '08 (7.0.1): I am currently working on an iDVD project that includes 5 elements in the main menu: 3 iMovie HD projects/movies 2 iDVD Slideshow Everything worked wonderfully until 2 day

  • Error in Shared Services

    Hi Alll, I am using EPM System 11.1.1.1.0 . When i log in to Shared services and try to create users i get the following servlet error on the second page where i want to assign "Group Membership" .... *"The current application deployment descriptors

  • Subcontracting Material return date after 180 days

    Dear all, We have issue while reconcilling challan against material documents,some cases excess cosumption/under consumption while doing GR & Single GR is done for different challans, due to this we are unable to close challan against return date,now

  • Panic when connecting to VPN

    Hi We have several users who are getting panics when connecting to our VPN from home. They are configured to use either PPTP or IPSEC (they can choose either) and it happens across multiple macbooks, though not all, and when connecting to either type

  • Quit safari is light gray rather than black what did I do

    I clicked on something??? my quit safari is light gray rather than black - what did I do?  it was on a macbook pro Help