userlib files not being found in built applicatio​n

Version: 2012 SP1 f5
Key Words: Build Application, <userlib>, DAQmx
I have a project with a Main.vi and and a Sub.vi, both of which make multiple calls to DAQmx vi's in libraries (*.llb).
The project is located in ...LabView 2012\user.lib\this\this.lvproj
I note that when I build the application using the default settings, Main.vi set as Startup VI and nothing else changed, running the application from its default build directory gives load "errors" in that the application cannot load various DAQmx vi's like:
<userlib>:\builds\this\My Application\Application.exe\1abvi3w\vi.lib\DAQmx\c​onfigure\task.llb\DAQmx Clear Task.vi
nor can it find:
<userlib>:\builds\this\My Application\Application.exe\1abvi3w\user.lib\this\​sub.vi
But if I change the Destination directory of the build from its default to:
C:\Program Files (x86)\National Instruments\LabVIEW 2012\builds\this\My Application
removing the user.lib and moving the build up one level, everything works fine.
Is this a feature of just my installation? My solution seems different from similar problems that I have read about and I can't find a coherent explanation of what I "fixed" by changing build folders. Wait ... there's a search term I haven't tired "build folder" ... nope. Must have something to do with <userlib>, but I'm missing the terminology to say what the problem is.
-Gregory

Saranac wrote:
And when did user.lib stop being the folder where users put their vi's? Perhaps I'm misunderstanding your points.
I work with a team of people. We've always kept our VI's in folders in user.lib where eveybody would have access to them. When we recently decided to move all new development from LV8 to LV2012, we started using 'Projects' and naturally put each project in its own folder in user.lib. Obviously compiled dlls and exe would eventually be deployed to new locations when everything worked, but what is so strange about working in user.lib and accepting all the defaults in building an executable?
User.lib has never been meant to be a working directory for user projects.  It is there for user's to put templates or subVI's intended for reuse.  Also, a location for 3rd party libraries.  It is the location for files that you want to be a part of LabVIEW, but weren't installed with LabVIEW.
For your working documents (VI's, projects, libraries) they never should be a part of the Program Files folder.  Depending in your user access rights, your IT department may not even let you save files to that directory path.  Documents are meant to be a part of the Documents file structure.  If you need to share it so that multiple users can work on it, it belongs in the All Users directory of the Documents folder as opposed to the My Documents folder of any specific user.  Note that Microsoft has changed the names of these paths over the years.  Documents and Settings has become Users. 

Similar Messages

  • Problems with WEB-INF files not being found.

    We are using Sun Java Web Server v6.1SP2. I have tried to install the struts example application into the docroot. The application makes use of tld files (tag libraries) that are stored in the WEB-INF directory.
    I receive the following error when starting the web server:
    [29/Oct/2004:15:11:30] failure (22379): for host 169.198.12.50 trying to GET /index.jsp, service-j2ee reports: S
    tandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: WEB4059: can't find /WEB-INF/struts-bean.tld (File not found)
    The file IS in the directory.
    Thanks in advance for any assistance.
    TJ Herring
    [email protected]

    Web Server denies access to the WEB-INF directory.

  • Rendering Forms using SOAPClient - file not being found

    Hello,
    I keep getting an error saying that the file is not found while trying to render my form using the SOAP Client. Even though when I copy and paste the EXACT path given in the JBoss log file, the file comes up.
    I have the LiveCycle form server on Box1 and on Box2 I have JBoss with my web application. Maybe I am misunderstanding what to place for the variables used in RenderForm? The file I want to render is on Box2 with my web application. Is this a problem - does the form need to actually be located on the LiveCycle server? I would think it should be fine and in my local development it worked, so I just don't understand what I have set up incorrectly, but I just wanted to confirm.
    So, here is a snippet of what I have setup:
    //Set the SOAPClient object's SOAP end point
    formServer.setSoapEndPoint("http://myLivecycleServerURL.com:8080/jboss-net/services/AdobeF SService");
    //Declare and populate local variables to pass to renderForm
    String sFormQuery = "myPDF.pdf";
    String sPreference = "PDFForm";
    String sContentRootURI = "https://myWebServer.com:8080/appName/forms; // OR I have tried"c:\\myLocalFolderName" where I have my file saved
    String sTargetURL = "https://myWebServer.com:8080/appName/servlet/RenderForm1";
    String sApplicationWebRoot = "https://myWebServer.com:8080/appName";
    String sOptions = "CachEnabled=False";
    and then the standard stuff:
    try {
    //call renderForm
    IOutputContext myOutputContext = formServer.renderForm(sFormQuery,
    sPreference, null, sOptions, null, sApplicationWebRoot,
    sTargetURL, sContentRootURI, null);
    //Create a ServletOutputStream objectServletOutputStream oOutput = response.getOutputStream();
    //Set the HTTPResponse object's content type
    response.setContentType(myOutputContext.getContentType());
    //Create a byte array. Call IOutputContext interface's
    // getOutputContext method
    byte[] cContent = myOutputContext.getOutputContent();
    //Apply Reader Extensions. The form needs to be extended each time
    //before sending to the client. This is a noted bug in Adobe Reader.
    ExtendPDFForm myPDF = new ExtendPDFForm();
    String sContent = Base64.encodeBytes(cContent);
    String extendedPDF = myPDF.extendForm(sContent);
    byte[] pdfDocument = Base64.decode(extendedPDF);
    //Write a byte stream back to the web browser. pass the byte array
    oOutput.write(pdfDocument);
    catch (Exception ioEx)
    System.out.println("Exeption error is: " +ioEx.getMessage());
    Also, the web server, Box2, is set up in a DMZ with firewall settings for the IP and port 8080 opened up between the two, is there something else that may need to be done for these two boxes to communicate??
    Thanks,
    -Jennifer

    Here is the full error message that I am getting:
    When I set the ContentRootURI to my https:// address:
    [STDOUT] Exeption error is: java.rmi.RemoteException: java.io.FileNotFoundException: https:\myWebServer.com:8080\appName\forms\myPDF.pdf (The filename, directory name, or volume label syntax is incorrect); nested exception is:
    com.adobe.formServer.interfaces.RenderFormException: java.io.FileNotFoundException: https:\myWebServer.com:8080\appName\forms\myPDF.pdf (The filename, directory name, or volume label syntax is incorrect)
    When I set the ContentRootURI to my Local file system:
    [STDOUT] Exeption error is: java.rmi.RemoteException: java.io.FileNotFoundException: c:\myLocalFolderName\myPDF.pdf (The system cannot find the path specified); nested exception is:
    com.adobe.formServer.interfaces.RenderFormException : java.io.FileNotFoundException: c:\myLocalFolderName\myPDF.pdf (The system cannot find the path specified)

  • Images and .properties(bunldes) files are not being found from my JSPs

    Hi,
    I have created .ear file by using ANT Application. And deployed into Oracle9iAS(OC4J). Here problem is that images and .properties(internationalization bundles)files are not found from JSPs.
    Here is my directory structure.
    public_html--->locale -->BusinessEntity -->businessentity_en_US.properties
    --->enterprise -->images -->knowldege.jpg
    --->BusinessEntity-->BEAdd.jsp
    in my jsp bundle(.properties)file is accessed like this:-
    <i18n:bundle baseName="/locale/-->BusinessEntity/businessentity" id="businessentity" locale="<%= locale %>" />
    in my jsp images accessed like this:-
    src="/enterprise/images/knowldege.jpg".
    In my working environment, without creating .ear file, images and .properties files are being found my JSPs. But if i create .ear file and after deploy, images and .properties files are not being found my JSPs.
    please let me know where i might did wrong
    thanks in advance
    srinivas

    Hi i am again. Here is my configuration files(server.xml and default-web-site.xml)
    server.xml :-
    <?xml version="1.0"?>
    <!DOCTYPE application-server PUBLIC "-//Evermind//DTD Orion Application-server//EN" "http://xmlns.oracle.com/ias/dtds/application-server.dtd">
    <application-server application-directory="../applications"
    deployment-directory="../application-deployments"
    >
         <library path="../tools.jar" />
         <rmi-config path="./rmi.xml" />
         <jms-config path="./jms.xml" />
         <log>
              <file path="../log/server.log" />
         </log>
         <transaction-config timeout="30000" />
         <global-application name="default" path="application.xml" />
         <application name="nalluri" path="../applications/trainiumear.ear" auto-start="true" />
         <global-web-app-config path="global-web-application.xml" />
         <web-site path="./default-web-site.xml" />
         <cluster id="-1640090707" />
    </application-server>
    default-web-site.xml:-
    <?xml version="1.0"?>
    <!DOCTYPE web-site PUBLIC "Orion Web-site" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
    <web-site port="8888" display-name="Default Oracle9iAS Containers for J2EE Web Site">
         <default-web-app application="nalluri" name="Commonwar" />
         <access-log path="../log/default-web-access.log" />
    </web-site>
    thanks in advance
    wating for reply
    srinivas

  • PDF files not being displayed correctly, instead I get a blank screen with some sort of small pinned icon in the centre.  It was working fine until today HELP!

    PDF files not being displayed correctly, instead I get a blank screen with some sort of small pinned icon in the centre.  It was working fine until today HELP!

    What is your operating system?  Reader version?  Are these local or online PDFs?  If online, in what browser?
    Can you post a screenshot: https://forums.adobe.com/thread/1070933

  • Anybody know what's up with the menu.xml.files not being available for DW after installing on a new comp?

    Anybody know what's up with the menu.xml.files not being available for DW after installing on a new comp?

    Usually that error can be cleared up by renaming the personal config folder. Turn on your OS's hidden files and then go to...
    C: > Users > your username > AppData > Roaming > Dreamweaver (version) > your language > configuration
    Rename the configuration folder configuration-old and start DW up. That should create an entirely new configuration folder and correct the menu.xml file.

  • I ran into the issue of the 32-bit file not being recognized in LR 5.6

    I ran into the issue of the 32-bit file not being recognized in LR 5.6 after it has been saved in PS. I tried every type of file I could save a file as in CC but none of them would be recognized or said it was corrupt.  I had exported 3 files to Merge in HDR Pro Photoshop as 32 bit files.  I then saved in PS and returned to LR 5.6, but it said the bit depth was not supported .  Is this a known issue with LR 5.6 / PS CC?

    Hi,
    this might help: Video Tutorial – 32-bit HDR TIFF files in LR 4.1 « Julieanne Kost's Blog (Only 32 bit TIFF is supported).

  • Sim Card not being found on Passport

    I have a new Passport which I like.
    It is locked to Vodafone and I have a Vodafone Sim
    First 10 days it was fine then the sim card was not being "found"
    I tried two new sims and no luck.
    It seems the device may be faulty.
    I bought it from a private user on Ebay for which it was an unwanted upgrade.
    How do I get it repared?

    Ok. Since it was purchased from an non-official retailer on eBay, I don't know...
    you might try the BlackBerry per incident support channel.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • WD Mybook not being found

    Hi,
    Anybody have any ideas why the WD mybook using firewire or usb is not being found by the iMac?? It had been working fine until a week ago and it will work in a windows enviroment. Any ideas woud be great Thanks.
    Imac 20"   Mac OS X (10.4.8)  

    The format maybe in NTFS (windows), as far as I know macs cant read that, see if Mac OS X can find it by going Macintosh HD > Utilities > Disk Utility or (Spotlight > Disk Utility) and see if you can see it there with your iMac hard disk, if it is unplug it and backup everything on your PC and wipe the external drive, then plug back in your iMac and then go to Macintosh HD > Utilities > Disk Utility or (Spotlight > Disk Utility) and format the external HD in FAT or FAT32 when done unplug and take back to windows pc and copy data back to drive. Try that and post your results

  • HT203175 Why can most of my Original Files not be found ?

    Why can most of my Original Files not be found ?

    The "missing file" thing happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then say no when asked to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions. I can provide a step by step guide if you give me the two paths.
    In some cases iTunes may be able to repair itself if you go through the same steps and locate the lost track. It may then offer to attempt to automatically fix other broken links. Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes.
    tt2

  • 3?'s: Message today warning lack of memory when using Word (files in Documents) something about "idisc not working" 2. Message week ago "Files not being backed up to Time Capsule"; 3. When using Mac Mail I'm prompted for password but none work TKS - J

    3 ?'s:
    1  Message today warning lack of memory when using Word (files in Documents) something about "idisc not working"
    2. Message week ago "Files not being backed up to Time Capsule";                                                                                                                                             
    3. When using Mac Mail I'm prompted for password but none work
    Thanks - J

    Thanks Allan for your quick response to my amateur questions.
    Allan:     I'm running version Mac OS X Version 10.6.8     PS Processor is 2.4 GHz Intel core 15 
    Memory  4 gb  1067   MHz  DDr3  TN And @ 1983-2011 Apple Inc.
    I just "Updated Software" as prompted.
    Thanks for helping me!    - John Garrett
    PS.
    Hardware Overview:
      Model Name:          MacBook Pro
      Model Identifier:          MacBookPro6,2
      Processor Name:          Intel Core i5
      Processor Speed:          2.4 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache (per core):          256 KB
      L3 Cache:          3 MB
      Memory:          4 GB
      Processor Interconnect Speed:          4.8 GT/s
      Boot ROM Version:          MBP61.0057.B0C
      SMC Version (system):          1.58f17
      Serial Number (system):          W8*****AGU
      Hardware UUID:          *****
      Sudden Motion Sensor:
      State:          Enabled
    <Edited By Host>

  • Designer9i repository file not be found

    while i install repository,the following file not be found:CDR-21244,e:\oracle\designer9i\repadm61\cdrzus.msg
    where can i find the file : cdrzus.msg
    thank you !

    Hello,
    Hmm, funny one this!
    We have a bug for this error, recorded on the Japanese
    version of Win2K (+SP3), with a database character set
    of UTF8.
    Try renaming the file cdrus.msg (in the same directory)
    to cdrzus.msg. This appears to fix the problem in this
    case, but we were unable to reproduce the error here and been unable to reproduce it since!
    Hope this helps.
    Regards,
    Dominic
    Designer Product Management
    Oracle Corp

  • Header files  not being included in JNI

    I've written a java program which interfaces with some C code.In the c code i use certain functions which are defined in a header file that i include in the same c file.The problem i have ,is that the compiler shows an error when it comes across one of those functions.It seems to me that the header file is not being included.Here's what i've done at the start of the jni c code,any help will be greatly appreciated.
    #include<stdio.h>
    #include " mnt/cprog/ca.h"
    JNIEXPORT void JNICALL......
    Can other header files be included over here ,or do they have to be included from the java file?..but the problem there is that the header file is of .h extension.....any suggestions??
    ps..The os is Linux
    ..Derick

    If the header files are not found, the compiler will tell you. At least gcc does so. If only some functions you are using are missing, they are probably not in the header file you are including.
    By the way, there is no way to include headers for your native code through Java. What kind of mechanism should that be?

  • AVHD files not being deleted by Hyper-V when DPM backs up virtual machines

    Hi,
    I understand DPM uses checkpoints to backup Hyper-V virtual machines.
    We have seen a few instances whereby the AVHD files that are created at the time DPM backs up the VM are not being deleted on the CSV disk.
    There are no checkpoints associated with the virtual machine in Hyper-V settings.
    We did delete one of these AVHD files on a non-production system and it was successful, the AVHD files are not being used by the virtual machine.
    Is it safe to delete these AVHD files? Anyone experienced anything similar?
    Microsoft Partner

    Hi
    Could you please let su know if you have acrried out any ILR operations?
    When you recover a VHD of a virtual machine that has Hyper-V snapshots, .avhd files are not displayed in the
    Recoverable Items pane, but DPM recovers the parent VHD and all the associated .avhd files.
    Just want to confirm that these avhd files are not coresponding to recovery process.
    Regards, Trinadh [MSFT] This posting is provided AS IS with no warranties, and confers no rights. If you found the reply helpful, please MARK IT AS ANSWER. Looking for source of information for DPM? http://blogs.technet.com/b/dpm/ http://technet.microsoft.com/en-in/library/hh758173.aspx

  • Log4j log file not being created

    Using websphere for a web app. At first I was getting the error log4j:WARN No appenders could be found for logger....
    So I created the property file and I assume correctly referenced it. The error went away and my logging messages are showing up in the websphere console, but the .log file specified in my log4j.properties file is not being written to... it is only writing to my systemOut.log.
    If I remove the ROOT.File line it still does not create the file (I've done a search on the IBM directory
    #Default log level to ERROR. Other levels are INFO and DEBUG.
    log4j.rootLogger=INFO,ROOT
    log4j.appender.ROOT=org.apache.log4j.RollingFileAppender
    log4j.appender.ROOT.File=c:\myapplication.log
    log4j.appender.ROOT.MaxFileSize=1000KB
    #Keep 5 old files around.
    log4j.appender.ROOT.MaxBackupIndex=5
    log4j.appender.ROOT.layout=org.apache.log4j.PatternLayout
    #Format almost same as WebSphere's common log format.
    log4j.appender.ROOT.layout.ConversionPattern=[%d] %t %c %-5p - %m%n
    #Optionally override log level of individual packages or classes
    log4j.logger.com.webage.ejbs=INFO       
    private static final Logger logger = Logger.getLogger(LoginAction.class);
        public ActionForward execute(ActionMapping mapping, ActionForm form,
                HttpServletRequest request, HttpServletResponse response)
                throws IOException, ServletException {
            initializeLogger();
    private void initializeLogger() {
            org.apache.log4j.BasicConfigurator.configure();
    //trying the above just to get it to work.. because by default this
    //should look in WEB-INF/classes/log4j.properties... I thought
            /*try {
                String log4jUrl = servlet.getServletContext().getInitParameter(
                        "LOG4J_XML");
                if (!(log4jUrl == null || log4jUrl.equals("")))
                    DOMConfigurator.configure(servlet.getServletContext()
                            .getResource(log4jUrl));
            } catch (MalformedURLException e) {
                e.printStackTrace();
            } catch (FactoryConfigurationError e) {
                e.printStackTrace();
        }    Edited by: gmachamer on Nov 30, 2007 6:37 AM

    ok changed to xml file and found a few things out.
    now when I debug though the logger that was created has an empty level... but if I look at the parent logger it is correctly pulling the root logger from my xml (if I change the priority attribute then it changes when debugging the code)
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">
         <!-- this appender would be the same as having a System.out -->
         <appender name="console" class="org.apache.log4j.ConsoleAppender">
              <param name="Target" value="System.out"/>
              <layout class="org.apache.log4j.PatternLayout">
                         <param name="ConversionPattern" value="%-5p %c{1} - %m%n"/>
                  </layout>
           </appender>
           <appender name="rollingFileAppender" class="org.apache.log4j.RollingFileAppender">
              <!-- name and location of the file to log to -->
                 <param name="File" value="c:/appLog.log"/>
              <!-- the maximum size the file will be before it rolls the file -->
                 <param name="MaxFileSize" value="1000kb"/>
              <!-- the number of backups you want to maintain -->
              <param name="MaxBackupIndex" value="5"/>
              <!--
                   This is the layout of your messages, you can do alot with this.
                   See the java docs for the class PatternLayout for an explanation of
                   the different values you can have.
              -->
                 <layout class="org.apache.log4j.PatternLayout">
                          <param name="ConversionPattern" value="%t %-5p %c{2} - %m%n"/>
                      </layout>          
              </appender>
           <root>
                  <priority value ="error" />
                  <appender-ref ref="rollingFileAppender" />
                  <appender-ref ref="console" />
           </root> 
    </log4j:configuration>

Maybe you are looking for