Packed Project Library (lvlibp) slows LabVIEW Project

Hello,
My LabVIEW project (2010SP1) perfoms well except when I add a critical library provided by my customer in the form of a LabVIEW Packed Project Library. Activities like loading the project, opening VIs, running VIs, editing VIs respond VERY SLOW (about 20X). In contrast, if I open VIs in the LVLIBP without loading the project, everything responds at a normal rate.
Any suggestions?
Jorge

Hi Jorge,
May I know what does that Packed Library contain? I have read about a similar issue but in that case they were running some TestStand benchmarks that loaded a packed library.
Jorge
Applications Engineer
National Instruments
Certified LabVIEW Associate Developer (CLAD)

Similar Messages

  • Packed project Library Labview Class Issues

    I packed  my whole Labview project as a packed proj library during   teststand Deployment 
    I am using classes in my  labview project 
    unfortunalely by one of sub seq calls got the following error !
    "Type mismatch. The LabVIEW Class does not match the class expected by the VI.
    Cannot pass a base LabVIEW Class to call a method initially defined in a derived LabVIEW Class."

    The error message is quite clear:
    You are using inheritance where you do have methods which are not part of the parent class (as dynamic dispatch).
    During the call, you pass an object of the parent class and try to call the (unknown) method of the child.
    Why this is happening can only explain your code....
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Packed Project Library error: contains compiled code

    I was trying to figure out how the packed library works for LVOOP, but face a wall with an error and don't know how to solve it.
    i) I made a class 'Class 1', which I then put in a library called 'library'.
    ii) I create a Packed Library and set the top-level library in the source files
    iii) Once compiled and saved, I create a new project and add the newly create Packed Project Library to it. Second I add a newly create class, named 'Class 2'.
    iv) I set the inheritance of the Class 2 as a child of Class 1.
    v) select new VI for Override
    vi) get Error 1035
    What am I doing wrong or how to solve this?
    Solved!
    Go to Solution.

    The default setting for packing VIs into lvlibp's will remove the block diagram.
    You must not remove the block diagram for dynamic dispatch VIs you are going to override.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Packed project library 1003 error when building it

    Hi,
    I am trying to build packed project library, but I get 1003 error. I have tried all things suggested in other threads regarding the 1003 error, but nothing helps.
    My two project HardwareSpecificFunctionalities and ModuleTemplate are attached. HardwareSpecificFunctionalities PPL is used in the ModuleTemplate's VIs. When I am trying to build ModuleTemplate PPL I get 1003 error saying that one VI is broken, but actually it is not. If I remove the ReadOffset.vi from the AcquisitionInitialization_Main.vi, the ModuleTemplate PPL is build successfully.
    Have anybody an idea what is wrong?
    Attachments:
    PPL problem.zip ‏1230 KB

    Hello Andrej.
    I just noticed that in document LabVIEW 2011 and 2011 SP1 Known Issues (http://www.ni.com/white-paper/13164/en#323425_by_C​ategory) it is stated that this bug will be fixed in LV 2012 (32 bit).
    This version of LV will be available in August 2012.
    All workarounds that are known, are the one that are described in this link.
    Kind regards,
    Sofija

  • Packed Project Library Shared With OI?

    I have an application which needs to share some resources/instruments with TestStand steps.  The requirements require the application to communicate with these resources/instruments with or without the TestStand Engine running.
    I understand that the suggested approach is to ONLY place instrumentation code in a test sequence.  However, what is the best approach if the application requirements dictate the resource/instrument must be shared?
    Can a packed project library be shared with the operator interface?
    Is a source distribution the only option?
    CLA, CTA
    Solved!
    Go to Solution.

    > What Language are you using?
    LabVIEW
    > Is it possible to get a more detailed explanation of what you are trying to do?
    Read and write from instruments in both my Code Modules and my Operator Interface
    Implement Diagnostic Panels without requiring the TestStand Engine
    When the TestStand engine is not running, I would like to read and write from the instruments in debug panels on the operator interface.
    Implement Status Panels without requiring the TestStand Engine
    During a TestStand Sequence, I only wish to read from the instruments in the operator interface (IO status panels).
    Implement a few high-speed timed loop state machines within LabVIEW.  These loops must start running as soon as the application is launched and for the lifetime of the application.  I would like to share the state/data of these loops with TestStand and allow a command/response interface.
    > It is possible in TestStand to run the test Sequence in a independent execution as long as it has the references to the source files.
    What if I want to start a VI that talks with an instrument.  Why can't I open a serial port in the OI and pass the session to the TestStand API?
    Why is is "better" to call a Code Module VI in a new execution vs just calling the VI from the Operator Interface?  For example, if I want to display the "status panel" of a digital input card...
    > You mentioned that you need the program to sometimes run even if TestStand is not running, will these programs ever be running at the same time?
    There will only be a single application that launches the TestStand Engine.
    The idea is that the program utilizes the TestStand engine to run automated tests.  I would like to allow the OI to read the current values (status panels) while TestStand both reads and writes.
    Additional Questions
    I would like to understand how TestStand executes LabVIEW VIs differently with the Development and Run-Time adapters.
    If I run a TestStand sequence with the LabVIEW Development System Adapter, from my Operator Interface (OI) I can call code modules and vice versa.  This will work for VIs within the context "Main Application Instance" (no project).
    When I deploy this system using the LabVIEW Run-Time Engine with a built "Operator Interface" EXE, it seems they may run in different "Contexts".
    Why is the separation between User/Operator Interface and Code Modules required?
    The TestStand Reference Manual states "Do not use instrumentation code in user interfaces".  Why?
    If I change the Preferred Execution System in the LabVIEW VI (that is running in the OI) settings to "standard" is this ok?
    I hope this detailed response explains my goals adequately.  Thanks for your assistance.
    CLA, CTA

  • Private inlined VIs and packed project libraries

    So, I'm trying to build a packed project library and it has a few *private* VIs that are crying out to be inlined (simple VIs used in a for loop etc). However, this seems to be causing a few issues:
    1. When I attempt to build the lvlibp I get an error stating "You cannot include inlined VIs inthis build if you remove the block diagram from the VI or if callers adapt to VIs in the packed library.". Whilst this makes sense to me for public packed library VIs, why does this matter for private ones - surely the VI will already get flattend out into the calling VI during the build process?
    2. If I try and set the Source File Settings for the inline VI to not remove the block diagram (as suggested by the error), the error still does not go away (I would really like to keep the ability for callers to adapt to VIs in the packed library).
    Here's a stripped out project (with instructions) showing the issue.
    It seems like a bug to me, but any ideas? 
    Thanks,
    Shaun
    Attachments:
    Inline VIs and Packed Libraries.zip ‏19 KB

    I was just going through the instructions to reproduce the error. Because the error says "You cannot include inlined VIs in this build if you remove the block diagram from the VI OR if callers adapt to VIs in the packed library," it seems like as long as you maintain your settings for the caller to be able to adapt the VI, then I would expect this error to continue to occur.

  • Labview Dll call library function Causing Labview to unload

    I am trying to use the Call Library function in Labview 7.1 to call an Init function for a Zathic Can4USB device. When I run the vi, it complete log LabView out of the computer. Can anyone tell me why the function totally unloads LV without displaying an error?
    Thanks

    Either the function has a serious bug or you are calling it with
    invalid parameters or wrongly setup parameters. The problem happening
    here is that your DLL passes somehow invlid parameters to a system
    device driver and that driver causes a protection fault. For device
    driver execeptions which happen in the privileged kernel, Windows does
    not try to attempt to message a user in such cases (other than the
    threaded blue screen of dead which when you get it really means a full
    restart) but unloads the current application as fast as possible.
    Check the documentation for this function and try to see where you call
    it srong or contact the developer of this DLL for assitence.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Importing Audio CD to library, downloads slow and CPU goes to 100%,

    Importing Audio books CDs to library, downloads slow and CPU goes to 100%, last two tracks take an extreme long time to load, audio is spotty on those two tracks. Any ideas as to why or how to correct

    I think your problem might be in the settings. Your audiobooks might be trying to download like music CDs, and doing error checking and playing while it downloads.
    Here's a link to some really helpful information about how iTunes treats audiobook CDs and how to do it better. It helped me out a lot.
    http://aldoblog.com/audiobooks/
    Good luck.
    Andrew Hollinger
    www.****************.com (created with iWeb)
    <Edited by Moderator: Please See Terms of Use>

  • NetBeans plugin for portal (Portal Pack Project) and prefered IDE

    Does anybody know wheather portal pack 1.0 for Netbeans 5.5 support development process for Sun Portal Server 6 2004Q2? If no - what IDE or plugins I should use to relieve development process for Sun Portal Server 6?

    The portal pack produces a standard JSR-168 portlet application WAR file, so yes, it can certainly be used with PS 6 2004Q2. However, to get the WAR file installed, you have to manually run the pdeploy command on the WAR file. For automatic deployment from the IDE, the portal pack uses the JMX interfaces to the portal server that were introduced in PS 7.
    Another thing to watch out for is that the portal pack and the portlet container that it uses for testing support an interportlet communication API that was introduced in PS 7. So if you want your portlets to run on PS 6 2004Q2, don't use that API.
    Tom

  • Why is the library so slow to upload to iCloud?

    Hi there,
    After a bit of hassle getting Photos to accept all my pictures from iPhoto I thought it was all fixed and ready to go to cloud storage so that I can have the same library on iMac, Macbook Pro and my iPhone.
    My photo library isn't that big, about 40Gb (4607 items) but it seems to be taking forever to upload to iCloud.
    My broadband speed isn't great (Around 6.5 MBPS download and around 0.7MBPS upload) but after several days my Photo library states that it is uploading 4570 items. When i try to run photos from my macbook there are only a few photos on there.
    At this rate I'll probably die of old age before all the photos are in the cloud and bounced back onto my macbook & phone.
    Other than slow broadband speed and apple being busy with people like me uploading, are there any other reasons why this is taking so much time? Bad settings anywhere?
    As another example my iMac has been on for a couple of hours today and the Activity monitor states that 887.2MB has been sent to the cloud. That's pretty damm slow isn't it?
    Thanks

    Stu Ducklow
    Why is my finder so slow to update. For example, if I
    download a file (using Safari), I can't find it on
    the desktop. If I use Find at the Finder level, it
    says it's there, but I can't see it.
    Same thing happens with Mail, trying to attach a PDF
    I just made. Mail can't see it.
    I love all the wondrous glitz of OSX, but wouldn't it
    be nice if it could do the basic stuff as well as
    System 6? At the rate Apple's going, we'll probably
    get a breathless announcement about a spanking-new OS
    called Snail, which doesn't do anything but look
    pretty.
    Stu,
    Did you ever get an answer to this? My finder is pathetically slow to update, a minor irritation a dozen times a day. System 9 never had this problem. Is there a way to get my expensive computer to do this simple task? Is there any news on this?
    thanks,

  • Slow LabView 2013

    Hi
    I have Labview 2013 Professional Dev Sys SP1 ver 13.0.1f2 (32-Bit) and it is slow when I develop any aplication.
    For example, if I have a tab control and I change to another tab, it takes about 2 seconds to change tab after I click it.
    If i wire a new line, it takes 2 seconds to appear that line in block diagram, and so on.
    I have a new computer Dell Optiplex 7010, i7 Processor 3.40Ghz, 64-Bit, 4Gb RAM, WIndows 7 enterprice SP1
    If i run Windows task manager it shows 17% CPU usage and 2.14 GB Memory.
    If I run for example, excel 2013 it does not seems slow.
    Do you have any suggestions ?
    Regards
    Solved!
    Go to Solution.

    EDGAR_PLATRONICS wrote:
    Hi Yamaeda:
    I am not sure about mass compile. You mean rewrite code ? Or create exe file and test?
    A this moment I have checked with only one Vi but it is very large. Many sub VIs and code.
    Actually it worked correctly in labview 8.5 but i converted to LV 2013.
    I will research about transparent borders overlapping.
    Hi Altenbach:
    17% is overall. 3 cores are high % than others.
    The problem is at edit mode and also when I run program.
    Yes I have many front panel indicators, but I do not think they have tons of data but I will double check.
    When I open my VI in labview it shows 118 MB memory when running and 124MB at edit mode
    By the way, last week when by mistake I moved a part of code to some centimeters below, block diagram was frozen and was been updated to new position but line by line until complete full screen. I took about 5 minutes to work normally.
    I am using 2 monitors in my PC. One to display LV panel and one for LV code.
    I meant Tools -> Advanced -> Mass compile and recompile your upgraded code. In the same manner a ctrl+run array will force recompile your program. It can help. Else you're down to e.g. using VI analyzer tool to find the culprit, it might be some VI that's corrupted and needs to be moved to a new VI.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Crash deploying library after uninstalling LabVIEW 2009

    I have been running LabVIEW 8.6 with the DSC module. Recently I briefly installed LabVIEW 2009 for evaluation, then uninstalled it. Now version 8.6 crashes every time I deploy a library. I have tried repairing, uninstalling and re-installing 8.6 with no success. The crash message says the problem is in msvcr71.dll. There are many copies of various versions of msvcr*.dll all over my computer and I am not sure where the problem lies. Can anyone help?

    Hi Richard,
    Can you please upload a screenshot of the exact error message? I would advise emailing or calling in at National Instruments through this link.
    Ipshita C.
    National Instruments
    Applications Engineer

  • How could I add a new library to my LABVIEW

    Hi,
    I juat download the LABVIEW library of Agilent 33250A,and put it in the right place as it said.
    However,I can't use the icons because they all were shown as a question symbol.
    Best Regards

    Hi,
    I don't know if you downloaded the Plug and Play or the IVI driver but make sure that you have installed the rest of the software such as VISA or the IVI Compliance Package.
    If it is an IVI driver then you don't need to put the files anywhere, you just need to run the installer. If it is a plug and play driver, then double-click on the zip file and then extract the whole content to the lib folder.
    Make sure that you downloaded the driver for the correct LabVIEW version.
    Hope this helps.
    Ricardo S.
    National Instruments.

  • Aperture Library Very Slow Copy to LaCie Thunderbolt Drive

    Just installed new LaCie Thunderbolt drive and copying various media files to it. Music and video files copied like a rocket. My Aperture folder is copying as slow as molasses. Right now it says 2 days to copy 211GB. Any help would be appreciated.

    Sorry, I misread Mtn Ed's last note.  My USB2 was stalling out at 2-3 MB per second.  Quite a bit slower than the stated Thunderbolt rate to say the least.  There is a portion of the Aperture Library that copies at a very slow speed, but after an hour or so it kicks back up to normal file transfer rates.  Finder was originally estimating over 20 hours for the copy to complete.  Now the total elapsed time will be about 3 hours for 350GB.

  • Is 1.2 version of Modbus library compatible with labview 2010 10.0 ?

    I am new to labview am trying to get a .vi written by someone else on a different computer. When I got the .vi and tried to open it, it started looking for Modbus library. 
    On the website, I only see the 1.2 version of the library which contains libraries for 7.1 to 8.6 versions.
    How can I resolve this issue?
    Thanks,
    Cp

    Thanks for the accurate response. I just added the files as suggested in the ReadMe.html that came along ignoring the version. It asked me to save changes and that was it. No more Modbus errors.
    I won't really be able to test the full function till later this week, till then, I am satisfied with this solution.
    Thanks for you help.
    Cheers
    cp

Maybe you are looking for

  • HT1386 Can you choose which apps you want to sync to a device?

    I am trying to sync multiple ipads with one laptop and I don't want to copy certain apps from one to the other. Currently when I sync one then they both have the same content and we have to delete the ones we don't want. I would like to know if I can

  • Upgrade to OS X 10.10 from 10.6.8

    I would be grateful for advice about upgrading my OS. I have got a MacBook Pro bought in September 2013 in the UK which is running under OS X 10.6.8, with 2.26 GHz Intel Core 2 Duo, 4GB of memory, and a 500GB hard drive, mostly unused. Some software

  • Drag and drop text from another application

    There used to be a really nice feature of Mail that has disappeared. I was able to select text in another application, e.g., Pages or Word or Safari, and drop it onto the Mail icon in the dock. A new message window would open with that text in the bo

  • Webservice Client for PI 7.1?

    Hi, I've created successfully a stand-alone WS Client with Netweaver DevStudio for our PI 7.0 system. I use the client to trigger a scenario running over the SOAP adapter. I programmed the client according to the directions in help.sap.com and everyt

  • Advise on EP, XI, or BI/BW.

    Hi all, I am an abapper. I would like to shift to a new technology, I do not know Java, got some 2 yrs experience in ABAP. I would like to learn either EP, XI, or BI/BW. Please advise me on which would be better for me. Please help me figure out.. Re