All labview Vi's load from different directory

OK this may be a stupid question but I done a save with options/ include VI.llbs. on my machine and now when I create a new vi whenever I try to put something on the block diagram it tells me that it is loading the files from the library that i saved for distribution. It only does this when I have the top level vi open of the library and try to open a new blank vi. It even does it when I open labview then open a blank vi and put anything down on the diagram and it does not give me this. then I can open up the top level vi from the library in question and put the same thing on the diagram and it will give me the warning. Maybe this is normal behavior, I don't know.
It just seams kind of funny that it would try to lo
ad NI VI's from the llb instead of mine. Hope some can shed some light on this. I do not want to mess anything up.
thanks in advance.
Joe
Joe.
"NOTHING IS EVER EASY"
Attachments:
labview.jpg ‏32 KB

If I understand what you are saying, this is annoying, but normal behavior.
LabVIEW can only have one VI of a specific name in memory at a time. So if you have the top level VI in question open, all of it's sub-vis get loaded into memory. So then if you create a new VI and drop the 'General Error Handler.vi' from the palette, it will use the one already in memory from your library.
Creating a new VI right after you start LabVIEW will let you use the vi.lib files, but then when you open your application from the library, it must use any vi.lib files that are in memory first.
Usually it's best not to save a .llb with the vi.lib files unless it's required for source code control. Then it's a good idea to use the Development Environment Applicaiton
Builder from OpenG to build the library for you. This will add a suffix you specify to every VI in the library and relink them to their callers. This way, other VIs you open will use the vi.lib files.
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

  • Why are these classes equal? Loaded from different classloaders.

    I thought that classes loaded from different classloaders were seen as different in the JVM? But this code prints true to every check:
    try
         Class c = new URLClassLoader( new URL[] { new URL( "jar:file://home/tests/test.jar!/" ) } ).loadClass( "Test" );
         Class c2 = new URLClassLoader( new URL[] { new URL( "jar:file://home/tests/test.jar!/" ) } ).loadClass( "Test" );
         System.out.println( ( c == c2 ) );
         System.out.println( ( c.equals( c2 ) ) );
         System.out.println( ( c.getName().equals( c2.getName() ) ) );
    catch (Exception e)
         e.printStackTrace();
    }

    DrClap wrote:
    The more unbelievable thing is that this:
    System.out.println( ( c == c2 ) );prints "true". That shouldn't happen, and it's nothing to do with facts about classloaders. It shouldn't happen because "new" called twice should produce two different objects, no matter what kind of objects they are.
    I didn't try your code because I would have had to spend a couple of minutes creating suitable jar files. But did you actually run that code? Or is it a reduction of some larger piece of code and you just assumed it would do what you said it does? Because I don't believe that.I actually ran the code and every line DID print out true. This is in Java 1.5.
    I figured out why they're all true though - it's because the jar file was in the classpath, so the classes were loaded by a different classloader (the same one). When I put the jar out of the classpath, the statments printed out like this:
    //false
    System.out.println( ( c == c2 ) );
    //false
    System.out.println( ( c.equals( c2 ) ) );
    //true
    System.out.println( ( c.getName().equals( c2.getName() ) ) );I agree on the first one printing true but I seem to remember something about how they changed that rule in Java 1.5. I could be wrong but in c++, that would be a completely valid true statement (assuming your class implemented the "==" operator), so maybe they changed it to be in line with that?

  • Is there a way to view all favorites on one page from different albums?

    is there a way to view all favorites on one page from different albums?
    I can't seem to figure out how to view all favorites at one time.
    nothing (thus far) is shared.
    paid membership to revel, also.

    oops - apparently you can do this from the app,
    but not from the web login view.

  • Running a java application from different directory

    I have the file in my
    c:/Folder/Program.java
    I want to compile and run it from D:/ (drive)i.e from different directory.
    Thanks in advance,
    Praveen.

    javac -cp c:\Folder c:\Folder\Program.java
    java -cp c:\Folder Program

  • Running  sql scripts from different directory

    Hi
    I have sql scripts in different directories as follows:
    D:\myapp\sql
    - load.sql
    - init.sql
    D:\myapp\sql\schema
    -users.sql
    -structure.sql
    D:\myapp\sql\populate\
    - data1.sql
    - data2/sql
    load.sql call all the other scripts as below:
    @init.sql
    @schema\users.sql
    @schema\structure.sql
    @populate\data1.sql
    @populate\data2.sql
    All my scripts run correctly when I run load.sql from D:\myapp\sql on comand prompt.
    I need a way to run this script from a different directory say D:\ or C:\
    I am writing a installer which will execute from a different directory.
    Right now I get a file not found error for scripts within schema an populate folder.
    Please let me know how can I make this work from a different directory.
    Thanks
    kelvin

    Hi peter. i think you cannot run files spread across different locations.
    --the method which u specified always looks to the defined path                                                                                                                                                                                                                                                                                       

  • HT1199 Two new programmes loaded from different companies fail when I try to use them -quit unexpectedly messages

    Two new programmes from differant companies have loaded ok but when I try to use them I get an imediate error message -quit unexpectedly- and the programme closes. What is wrong? 

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports (not "Diagnostic and Usage Messages") for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post other kinds of diagnostic report — they're very long and not helpful.

  • Custom Icon can be loaded from search directory

    Currently Custom Icon can only be placed under 
    C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\Components\Icons
    and
    C:\Program Files\TestStand 2014\Components\Icons
    and also from 
    search directory option for icon (New Idea)
    If icons can also be loaded in path mentioned search directory, It help a lot in handling things among a large ATE Team (50 Test Developers)
     

    I made the zip file with WinZip in the same directory as the class file,
    as directed by the previous thread, and uploaded it to my server.
    It still does not load the applet.
    Here is my webpage:
    http://www.geocities.com/shaolin_bi/scopeApplet.html
    Can someone please take a look and tell me what I am doing wrong?
    Thanks.

  • Importing class from different directory

    Hi, Can anyone tell me how to import a class from a different directory? I have a DGenerator class in ./generator directory.
    I have tried Import generator.DGenerator; to use the DGenerator class. However. I got the error:
    cannot access generator.DGenerator
    bad class file: ./generator/DGenerator.class
    class file contains wrong class: DGenerator
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    Help please.
    Thank you!

    I don't understand why this is a Swing question, but at any rate if you want your DGenerator class to be found in a particular directory, you must do one of two things:
    1. Put that directory in your classpath and just refer to the class as DGenerator.
    2. Make the class belong to the package "generator".

  • Including flash from different directory

    hi. I want to include swf file from another directory. I'm
    including flash in this way:
    *** file: flash/flash.cfm
    <script type="text/javascript"
    src="swfobject.js"></script>
    <div id="flashcontent"><strong>no
    flash</strong></div>
    <script type="text/javascript>
    var so = new SWFObject("flash.swf", "flash", "111", "200",
    "8.0.0", "#00000");
    so.addParam("allowScriptAccess", "sameDomain");
    so.addParam("menu", "false");
    so.write("flashcontent");
    </script>
    this file is located in directory flash with flash.swf file.
    Now, I wish to inlude the flash object into page from up
    directory. I try somthing like this:
    *** /test.cfm
    <cfinlude template="flash/flash.cfm>
    but i get message: no flash (from div). My question is: how
    to attach swf file from another directory?

    hi. I want to include swf file from another directory. I'm
    including flash in this way:
    *** file: flash/flash.cfm
    <script type="text/javascript"
    src="swfobject.js"></script>
    <div id="flashcontent"><strong>no
    flash</strong></div>
    <script type="text/javascript>
    var so = new SWFObject("flash.swf", "flash", "111", "200",
    "8.0.0", "#00000");
    so.addParam("allowScriptAccess", "sameDomain");
    so.addParam("menu", "false");
    so.write("flashcontent");
    </script>
    this file is located in directory flash with flash.swf file.
    Now, I wish to inlude the flash object into page from up
    directory. I try somthing like this:
    *** /test.cfm
    <cfinlude template="flash/flash.cfm>
    but i get message: no flash (from div). My question is: how
    to attach swf file from another directory?

  • Xml file not loading from different server

    Hi,
    I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfortunately I can't put the files on the same servers. Any help would be much appreciated, below are the links and the xml code I'm using followed by the action script. Cheers
    http://www.sainters.net/newsletters/2010/flash_test_membership2.html
    http://www.eckul.com/number.xml
    <?xml version="1.0"?>
    <inventors>
        <person>
            <name>892</name>
            </inventors>
    function loadXML(loaded) {
    if (loaded) {
    _root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
    _root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    name_txt.text = _root.inventor;
    comment_txt.text = _root.comments;
    } else {
      trace("file not loaded!");
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("http://www.eckul.com/number.xml");

    so, in frame 1 of your fla before you execute that cross-domain load method, use:
    System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
    where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    </cross-domain-policy>
    and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
    </cross-domain-policy>

  • Jsp run from Different directory

    It is possible to run .jsp file from some other directory not from webapps dir?
    And i don't want to put my directory in webapps folder.
    And if it is possible how ?

    On Tomcat at least, /webapps is the deployment master directory for all apps. I don't know if Tomcat offers you an override of that directory name in server.xml or anywhere else.
    As for JSP files, you can save them anywhere you want under your application directory (which yes, goes under /webapps/) and then map them using the <jsp-config> and <url-pattern> elements of your application's web.xml.
    Here are a few possible resources:
    [http://www.datadisk.co.uk/html_docs/java_app/tomcat6/tomcat6_web_config.htm|http://www.datadisk.co.uk/html_docs/java_app/tomcat6/tomcat6_web_config.htm]
    [http://caucho.com/resin-4.0/admin/deploy-ref.xtp|http://caucho.com/resin-4.0/admin/deploy-ref.xtp]
    [http://docs.oracle.com/cd/E12840_01/wls/docs103/webapp/web_xml.html|http://docs.oracle.com/cd/E12840_01/wls/docs103/webapp/web_xml.html]

  • Selecting a file to load from a directory

    With the current code the file path/ directory was already present. What im trying to do is add in a drop down menu that will allow the user to select one of the multiple files saved in the same directory/ folder to be loaded. Can anyone assist?
    Attachments:
    FILE SELECT 2.vi ‏13 KB

    Thank you for your reply. What im trying to do is while the program/ subvi is runing the user will select a file from the combo box/ drop down menu and hit load. This will select one of the multiple files in the directory and load it  into the rest of the program. This section of the code is to load the hardware device with list of numbers from the file that is selected. I only have 3 but it can be up to 200 files.

  • How to use Xpath to query elements loaded from different xml docs?

    I have a big DBLP XML doc (95mb), to load into the container, i splitted the doc into many small xml docs by the publication types, such as articles, books, inproceedings, etc.
    I tried to use xpath query such as
    query 'collection()/dblp[article/author]/book[title]'
    I got empty answers.
    but if i use XQuery such as
    query 'let $r:=collection()/dblp,$a :=$r/inproceedings/author
    for $l2 in $r/book
    where $a and $l2/title
    return <result> {$l2}{$a}</result>'
    i got answers. However, if i remove {$a} from the return clause, i still got empty answers.
    is there any problem with my Xpath query and flwor Xquery?
    regards,
    xiaoying

    Hi John,
    Following is the procedure i have used to load the xml docs (after the indexes have been created):
    private static void loadXmlFiles(File path2DbEnv,String theContainer, File file) throws Throwable {
         //Open a container in the db environment
              XmlManager theMgr = null;
              XmlContainer openedContainer = null;
              myDbEnv env;
              try {
              env = new myDbEnv(path2DbEnv);
         theMgr = new XmlManager(env.getEnvironment(), new XmlManagerConfig());
         //use node container
         theMgr.setDefaultContainerType(XmlContainer.NodeContainer);
                   try{
                   openedContainer = theMgr.createContainer(theContainer);
                   }catch (XmlException e){
                        //if the container alreay exist, then open it;     
                        openedContainer = theMgr.openContainer(theContainer);
              //Get an update context.
              XmlUpdateContext updateContext = theMgr.createUpdateContext();
                   String theFile = file.toString();
                   String docName=file.getName();
              //Get the input stream.
              XmlInputStream theStream = theMgr.createLocalFileInputStream(theFile);
              System.out.println("Adding " + theFile + " to container " +
                             theContainer);
         //     Do the actual put
              openedContainer.putDocument(docName, // The document's name
              theStream, // The actual document.
              updateContext, // The update context
         //     (required).
              null); // XmlDocumentConfig object
              System.out.println("done.");
              //XmlException extends DatabaseException, which in turn extends Exception.
              // Catching Exception catches them all.
              } catch (XmlException e){
                   System.err.println("Error loading files into container " + theContainer);
                   System.err.println(" Message: " + e.getMessage());
                   //In the event of an error, we abort the operation
                   // The database is left in the same state as it was in before
                   // we started this operation.
                   throw e;
              finally {
              cleanup(theMgr, openedContainer);
    Unfortunately, i waited for around 20 hours 148mb doc was not loaded; so i gave up.
    Could you please give me some suggestions on how to load the large doc efficiently ? thanks.
    regards,
    xiaoying

  • Not all my files where loaded from a session

    I bought the serie Heores. There I got the files from 1-11. and the file 19. the rest is missing. What can I do. I can´t load them via download

    Since your Mac shut off suddenly, your directory may need to be repaired. Boot from your install disc and navigate to Disk Utility and repair your boot disk. Repair it until there is nothing left to repair. With luck, you may be able to find your files again.
    If you can't, there is software available that may be able to help, such as Data Rescue. Usually there is a demo so you can try it before you buy.
    Good luck!

  • How to display all available data for KFs from different Cubes

    Hi,
    I am using a MultiProvider that consists of two InfoCubes. KF1 uses Cube1, KF2 uses Cube2 - characteristic Country exists in both cubes. I have the following data:
    KF1 - Country 1: 5
    KF1 - Country 3: 8
    KF1 - Country 4: 10
    KF2 - Coutnry 1: 9
    KF2 - Country 2: 7
    KF2 - Country 5: 3
    I have a query that uses Country as a drilldown characteristic (ROWS) and displays the values of KF1 and KF2 (COLUMNS) for each Country. However, instead of seeing data for Countries 1-5 I only see data where I have results for KF1 (Countries 1,3 and 4). The value for Country 1 for KF2 shows up correctly in the corresponding row, but Countries 2+5 aren't displayed for KF2. If I change the Access Type for Result Values from "Posted Values" to "Master Data" I get the correct result. However this is not feasible in the final setting due to the amount of data that has to be handled (MasterData setting will lead to crashes of the query due to maximum number of cells exceeded).
    Are there any other options to force the query to display values for all characteristic values where I have data for any KF?
    Thanks a lot for your help!
    Best regards,
    David

    As it turned out the issue was due to 2 restrictions on KPI2:
    1) Restriction to InfoProvider "Cube 2"
    2) Constant selection on two characteristics that have filters on a global level but which should not affect the display of the data for KF2
    Removing (1)+(2) provided the desired result.

Maybe you are looking for

  • GRC 10.1 - Routing at Request Submission in case of SOD violations

    I am trying to configure MSMP workflow or risks analysis while creating userid 1. No Risks >> User created and access assigned automatically 2. Risks found >> forward to security team to review and approve I have checked the standard functional modul

  • Mail forward

    Hi. I want to production old and new mail server parallel with same domain. How to configure new mail server to receive all incoming email and then forward to old mail server by not enable mailforwardingaddress ? It's really difficult to enable mailf

  • How to backup shortcuts in InDesign CS4?

    Hello, I'm going to install CS4 in a new computer and I want to backup and copy my shortcuts as well. Is that possible?

  • CS 6 install fails

    I have tried to install CS6 numerous times on my mac running lion.  It hangs at 12% installing adobe fonts. It hangs the machine and the only way out is to power off.  Any ideas?

  • My CS3 is sick?

    I have been using my CS3 for over a year.  It does seem to be getting slower and slower on startup, but now... all of a sudden, it is freezing up when opening PS files.  Not all PS files, just intermittent.  It sits with the bar showing that is is lo