Loosing weight - creating LLB plug-ins, using lvlibs, minimizing LLB size

Greetings,
      Is there a way to build LLBs which include specific VIs from VI-lib, without including all VIs from VI lib?
I added a function from AALPro.vilib to hierarchy and, as expected, it didn't show-up in the LLB after the build.  In the past I've re-written VIs from VI-lib but I'm getting lazy, so I un-checked "Exclude Files from VI lib" in [LV8.5] project-properties - and the size of the plug-in jumped from 13M to ~50M.  I'm hoping there's a way to minimize this weight-gain - an easier way than re-writing the function/hierarchy from AALPro.
Any help is appreciated.
Cheers!
Message Edited by tbd on 04-16-2009 04:04 PM
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
Solved!
Go to Solution.

The original Interpolation-Spline function was called from one location and with Start/End conditions wired from constants.
Since there didn't seem to be a simple way to avoid adding hundreds of VIs to the hierarchy, I went ahead and re-wrote the Interpolation-Spline hierarchy for the "not-a-knot" case.
This LLB is about 0.2M, saving about 40M and allowing LLBs to be created from the File\Save-As dialog (a time-saver during debug.)
In this case, about 40M of code was unreachable - a fact known or knowable at compile-time IF only static-linking is assumed.  How about a compiler-optimization/switch called "assume static links" so the compiler can drop unreachable code?  Is the LV8.6(.1) compiler any better about this?
Thanks/Cheers!
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
Attachments:
Util.Math.IS_InterpolationSpline.NotAKnot.llb ‏205 KB

Similar Messages

  • How to remove a text in browser: Some plug ins used by this page are out of date

    How to remove a text in browser: Some plug ins used by this page are out of date. It occur in every page when I surfing. I am aware that is a threat but when I tried to install an update of flash the userinit.dll file from windows registry had gone and I had to reset everything.

    a error during the flash update might be itself an indication of malware active on the pc. the browser is your door to the web - therefore it's very important to keep it and all plugins up to date in order to keep your pc & the integrity of your personal data safe.
    [https://www.mozilla.org/plugincheck/]

  • Getting plug ins used in CC to show up in CC(2014)

    How do I get the NIK, topaz, and  One One plug ins I use in LR and CC to migrate to CC(2014)----
    Simple answer needed --I am a photographer not a techie

    Photoshop CC (2014) is a separate application from Photoshop CC 14.x.
    Simple answer:  Install your plug-ins into it, similar to what you did before with Photoshop CC 14.x.
    I'd suggest checking with the plug-in makers to see if they've released updated installers for Photoshop CC (2014).
    -Noel

  • How do I Install legacy plug-ins missing from Photoshop CS4?

    How do I open a file I downloaded with legacy plug-ins for Photoshop CS4? I am trying to get back the plug-in "pattern maker," which was in earlier versions of Photoshop. The file downloaded to my hard drive as "PSAPCS4_optional_plug-ins.zip.." But WinZip won't extract or install the zip file. It gives an error. Can anyone help?

    Your message:
    function(){return A.apply(null,[this].concat($A(arguments)))}
    NancyBklyn wrote:
    Extracting to "C:\Program Files (x86)\Adobe\Adobe Photoshop CS4\Plug-ins\"
    Use Path: yes Overlay Files: yes
    Error: Access is denied.
    Cannot create C:\Program Files (x86)\Adobe\Adobe Photoshop CS4\Plug-ins\PHSPCS4_Cont_LS1.exe.
    Administrative privileges may be required
    Does not imply that there is any problem opening the zip file, but rather that the files cannot be copied to the location you are trying to copy them to because of a permissions problem.
    Are you seeing different errors at different times?
    Can you extract the files to another folder - e.g., one you have created in a folder of your own?
    If so, you could then go into Edit - Preferences - Plug-ins and set Photoshop to look in YOUR folder for the plugins.
    -Noel

  • How do I upgrade the plug-ins in Adobe Indesign ??

    Can someone tells me how to do that ? Because I get messages that the plug-ins has to be updated...

    It looks like the plug-ins used for one or more of your InDesign documents is not compatible. For instance if someone created an InDesign document with a more recent version of a plug-in or plug-ins and/or used a more recent version of InDesign. My suggestion would be to post your question on the InDesign forum as they are more likely to have the answer as front he looks of your screenshot those may be regular plug-ins that come with InDesign but I do not know for sure.
    Sorry,
    Jonathan

  • Apeture Plug-Ins Raw Processing?

    Is the Tiff file created at the time you select a plug-in or does the plug-ins use the raw data and then create a Tiff file when you save your work. I assume that the Tiff file is created when you select the plug-in, as with Photoshop and does not actually use raw data when making adjustments. Am I correct? Thanks.

    With all the plug-ins I've used so far, the TIFF is created when you send the image to the plug-in. So you're working on the TIFF, not on the RAW data.

  • Will PSE3 Third Party Plug-Ins Work On My New iMac ?

    Over the past 5+ years I have accumulated quite a few third party plug-ins for both PSE2 and PSE3 running on my Apple eMac G4.
    I will shortly be taking delivery of a new Intel based iMac,and whilst previous posts on this forum show that I can run PSE3 on the new machine,what about the third party plug-ins ?
    I will be installing PSE3 on the iMac using the original discs,and, if I can use them,do I just 'migrate' the plug-ins using the Apple Migration Assistant - or what ?

    It depends. Some can be transferred that way, but some require their own installer.
    EDIT If you have the installer, use it. If not, you won't be any worse off if you try manually moving them. Incidentally, I'm assuming you're talking about true plug-ins (.plugin files) and not about actions and such, which can be moved, but go to very different places in PSE 6.

  • Plug ins not loading

    I reinstalled elements 11 to a new drive and dragged the entire old plug ins folder to the new drive plugins folder, but no plugins are showing up in the editor.

    Well, you probably made a mess. Many third-party plug-ins use external libraries and need to be installed properly just like the main program. In any case, we cannot know. You are not providing enough information.
    Mylenium

  • Disappearing Channel Strip slots & Plug-ins?

    Just bouncing down a project i've almost finished. For some reason (and i have experienced this problem before over a few versions of Logic now) the top section of the control strip for outputs 1-2, 3-5, 5-6 and plugs-ins used for them have disappeared. Instead of the usual display of slots which you could select various plug-ins in, all i can see now is a solid grey strip (if this making sense?). Anyone know how to make the full strip visible again? I've tried looking in Environment, but its just the same there.
    I've thought of simply changing the plug-ins to by-pass via the automation on the arrange page but they aren't even listed now. Odd
    Here is a link to an image to help illustrate the problem
    http://i250.photobucket.com/albums/gg272/kingcannibal/bugger.png

    That's due to the Master fader being surround. So either your prelisten channels turned surround when listening to some surround loops from the Library or any other channel in your project is set to surround causing the Master channels to switinch to surround mode. If you locate the surround channel in your environment/mixer and switch it back to stereo everything will be fine again.

  • Union of plug-ins.

    Hello,
    We have implemented many plug-ins for Acrobat.
    There are some 8 plug-ins, now i want to make it 2-3 plug-ins using all of these.
    How can i do that.
    Please help me to solve the issue.
    Thank you,

    S, you are correct,
    but we are not getting some idea to combine them,
    Can you give more details on this?

  • The "edit in" does not launch if I make any develop changes.  I am using LR 5.6 and all of my plug ins are properly installed, up to date and were working just fine.  Edit in does work if I reset the image or load an unmodified DNG.

    I am using LR5.6 on a Windows 7 machine with plenty of memory.  LR, CS5 and all of my plug ins have been working just fine.  Tonight I've found that if I make any kind of significant adjustments to an image, and the go to "Edit in.." that function does not launch.  I can use the Edit in command on an unmodified image, or if I reset the modified image.  I have the issue with all of my plug ins, including Photoshop, all of the Nik software, RadLab, and OnOne.  I believe that all of the plug ins are current.  I've been working with them yesterday and I had no issue.  I cannot recall anything that has changed since then, and I have not installed any software.  I'm at a loss!!  Please help!

    I have traced the problem to a corrupted profile.  When I captured the images in question, I also used Color Cherckr to create a profile for processing.  When I apply that profile to the adjustments I make, I can no longer "Edit In".  If I use another profile, even one that I created using Color Checkr at a different point in time, I don't have the issue.  Something seems to have corrupted the new profile.  I will re-create the profile and see if the issue is resolved.

  • Ways to implement image resizing using plug-ins?

    Hi Photoshop developers,
    I'm a developer with a few Photoshop filter and selection plug-ins under my belt, and I have a good understanding of the SDK and tools and suites it provides. My next project is an algorithm for enlarging/resampling images to different pixel dimensions. I'm wondering if anyone has any suggestions for or experience with the best combination of plug-in types to implement this.
    Clearly, I can't just write it as a filter plug-in, since there is no way to change the image dimensions from within a filter.
    I'd like the resized image to remain within Photoshop (as a new window or in the original one), so an export plug-in on its own is not sufficient.
    Import plug-ins seem promising, since they allow the creation of a new document of the required size. However, as best I can tell from the Photoshop 6.0 SDK documentation, import plug-ins cannot access the image data from other open documents (or even the clipboard), nor do they provide any support for channel ports and the Channel Port suite.
    My best idea at this stage is to create an export plug-in to provide the user interface and calculate the resized image, and then an import plug-in to import the resized image back into a new window. (I'm supposing a further automation plug-in would then be written to perform this export/import sequence.) The difficulty I see with this approach is how to communicate the resized image data between the two plug-ins. Since the resized image will potentially be very large, the ideal solution would be to store it in channels managed by the Channel Ports suite. However, I cannot see how the channel ports created in the export plug-in could be communicated to and used by an import plug-in. The alternative would be for the export plug-in to save the resized image to a temporary file on disk, however this seems unnecessary.
    So, my questions, specifically, are:
    a) Is it possible to create new channels using the Channel Ports suite (sPSChannelPorts->New()) in one plug-in, and have those channels persist to be used in another plug-in?
    b) If so, how would the channel ports be communicated between the plug-ins?
    c) Alternately, are there any alternative architectures available for implementing an image-resizing algorithm using the plug-in types that are available for Photoshop developers.
    Any responses would be greatly appreciated; I know this is a low-traffic forum...
    Thanks,
    Matthew.

    I would make an automation plug-in and a filter plug-in.<br /><br />1) Run the automation which runs your filter to gather current image <br />information<br />2) Create a temp file of the new document<br />3) Make a new document<br />4) Call the filter again to reload the temp data on disk<br /><br /><[email protected]> wrote in message <br />news:[email protected]...<br />> Hi Photoshop developers,<br />><br />> I'm a developer with a few Photoshop filter and selection plug-ins under <br />> my belt, and I have a good understanding of the SDK and tools and suites <br />> it provides. My next project is an algorithm for enlarging/resampling <br />> images to different pixel dimensions. I'm wondering if anyone has any <br />> suggestions for or experience with the best combination of plug-in types <br />> to implement this.<br />><br />> Clearly, I can't just write it as a filter plug-in, since there is no way <br />> to change the image dimensions from within a filter.<br />><br />> I'd like the resized image to remain within Photoshop (as a new window or <br />> in the original one), so an export plug-in on its own is not sufficient.<br />><br />> Import plug-ins seem promising, since they allow the creation of a new <br />> document of the required size. However, as best I can tell from the <br />> Photoshop 6.0 SDK documentation, import plug-ins cannot access the image <br />> data from other open documents (or even the clipboard), nor do they <br />> provide any support for channel ports and the Channel Port suite.<br />><br />> My best idea at this stage is to create an export plug-in to provide the <br />> user interface and calculate the resized image, and then an import plug-in <br />> to import the resized image back into a new window. (I'm supposing a <br />> further automation plug-in would then be written to perform this <br />> export/import sequence.) The difficulty I see with this approach is how to <br />> communicate the resized image data between the two plug-ins. Since the <br />> resized image will potentially be very large, the ideal solution would be <br />> to store it in channels managed by the Channel Ports suite. However, I <br />> cannot see how the channel ports created in the export plug-in could be <br />> communicated to and used by an import plug-in. The alternative would be <br />> for the export plug-in to save the resized image to a temporary file on <br />> disk, however this seems unnecessary.<br />><br />> So, my questions, specifically, are:<br />><br />> a) Is it possible to create new channels using the Channel Ports suite <br />> (sPSChannelPorts->New()) in one plug-in, and have those channels persist <br />> to be used in another plug-in?<br />><br />> b) If so, how would the channel ports be communicated between the <br />> plug-ins?<br />><br />> c) Alternately, are there any alternative architectures available for <br />> implementing an image-resizing algorithm using the plug-in types that are <br />> available for Photoshop developers.<br />><br />> Any responses would be greatly appreciated; I know this is a low-traffic <br />> forum...<br />><br />> Thanks,<br />> Matthew.

  • Help! Error "...'[Filename].indd' uses one or more plug-ins which are not currently available..." Wh

    Hello guys,
    I called Adobe for help on this, but they said my version of InDesign was too old for them to help me, which was really discouraging. I am getting an error when I try to open my InDesign files, which up until a couple weeks ago, opened fine. I am getting the error below:
    Error "...'[Filename].indd' uses one or more plug-ins which are not  currently available..." When Opening an InDesign 2.0.x Document
    And it lists the following unfound plugins:
    WorldReady.InDesignPlugin
    LILO.InDesignPlugin
    CellStyles.rpIn.InDesignPlugin
    Conditional Text.InDesignPlugin
    If I click okay to try to go past it anyway, I get the following error:
    Error "...Cannot open '[Filename].indd'. Please upgrade your plug-ins to their latest versions, or upgrade to the latest version of Adobe InDesign.
    And it lists the following unfound items:
    AppFramework.framework
    Image.framework
    Table Model.framework
    Spread.framework
    Transparency.framework
    CJKGrid.framework
    Links.framework
    Workgroup.framework
    Assignments.framework
    Print.framework
    Graphics.framework
    Linguistics.framework
    Indexing.framework
    Tet Attributes.framework
    Open Place.framework
    Layer.framework
    Generic Page.framework
    Hyperlinks.framework
    XML.framework
    Path Type.framework
    Master Page.framework
    BNCore.framework
    Text.framework
    Text Wrap.framework
    Package and Preflight.framework
    Document Framework.framework
    CJK Text Attributes.framework
    TOC.framework
    XMedia UI.framework
    Image Filters.framework
    Utilities.framework
    Color Management.framework
    I tried to follow the post http://kb2.adobe.com/cps/327/327956.html, but I'm told I am "not authorized to view the content" on the partners page, so can't complete the instructions.
    I've tried deleting and reinstalling CS2. I've tried removing my preferences. Neither have worked.  I am close to just resorting to Apple's Pages for my layout design.  If anyone can give some fixes here, I would really appreciate it.
    Thank you!

    function(){return A.apply(null,[this].concat($A(arguments)))}
    bryanmcclure12 wrote:
    I've tried deleting and reinstalling CS2. I've tried removing my preferences.
    Verify that you are running ID CS2, InDesign version 4.x.  What level are you patched to from the InDesign>About InDesign drop down splash screen?
    The message alerts to files being version 2.0.x? that is 2 versions back, are these old files?
    Can you create, open, edit, save new files?

  • Using STL collections in Photoshop plug-ins

    Hello!<br /><br />Would you explain one moment. I need use a lot of STL collections in my Photoshop plug-in.<br /><br />First, I try to write something like<br />---------------------------------------------------------------------<br />#include <map><br />#include <string><br /><br />...<br /><br />  map<int,string> foo;  // BANG!<br />---------------------------------------------------------------------<br /><br />Next, I try to use Photoshop Basic Suite:<br /><br />---------------------------------------------------------------------<br />#include <algorithm><br /><br />namespace std {}<br />using namespace std;<br /><br />#include <PIFormat.h><br /><br />extern SPBasicSuite     *g_sSPBasic;<br /><br />inline void * operator new ( const size_t size )<br />{<br />     void *result = 0;<br /><br />     if( 0 != g_sSPBasic )<br />     {<br />          void     *temp;<br /><br />          if( g_sSPBasic->AllocateBlock( size, &result ) )<br />          {<br />               result = 0;<br />          }<br />          else<br />          {<br />#ifdef     DEBUG<br />               char     *tmp = static_cast<char*>( result );<br />               fill( tmp, tmp + size, 0xEB );<br />#endif<br />          }<br />     }<br /><br />     return     result;<br />}<br /><br />inline void operator delete ( void * ptr )<br />{<br />     if( 0 != g_sSPBasic )<br />     {<br />          g_sSPBasic->FreeBlock( ptr );<br />     }<br />}<br /><br />//  the same for operator new[] and operator delete[]<br />---------------------------------------------------------------------<br /><br />Now simple STL collections can be created.<br /><br />Is there more laconic way to create STL collections?<br /><br />Moreover. This code is very dirty. For example, I even don't sure that Simple Suite address is constant between calls of plug-in entry point. So I think this is an awful dangerous code (just imagine the effect of two copies of of Adobe Photoshop using plug-in using this operators simultaneously).<br /><br />Do you have some ideas how to make it clean and working?

    2 all
    On dynamic C++ memory management in Adobe Photoshop plug-in
    As there are some people interested in the question I'll try to explain a technique I use at present.
    I have two memory allocators:
    a) based on Adobe's Basic Suite for small blocks (under 2Kbytes)
    b) based on Adobe's Handle Suite for large blocks (above 2Kbytes)
    operator new and operator new[] allocate 4 additional bytes for every allocation, store in the first 4 bytes handle to memory allocator used for this new or new[] call, and return pointer after this handle.
    operator delete and operator delete[] takes memory allocator handle from the pre-pointer 4 bytes, and dellocate memory using correct memory allocator.
    This strategy works well.
    Does anybody know a better dynamic memory management technique to use with Adobe SDK for Adobe Photoshop plug-ins?

  • Use Only Certified Plug-Ins - No effect when unchecking

    General Preference>Application Startup: Use Only Certified Plug-Ins
    The checkbox can be either selected or not - the Certified Mode indicates always YES. How can this be corrected? I neet to have Certified Mode set to NO
    I'm using Acrobat X 10.1.2 as part of CS 5.5 on Windows 7
    Thanks
    Jo

    Yes - I have restarted Adobe as well as the PC. I have double checked this settings on other Acrobat installations. All show exactly the same problems.
    Unchecking “Use Only Certified Plug-Ins” has no effect. “Certified Mode” shows always YES.
    Is this by design? Is this a bug?
    Von: Bernd Alheit [email protected]
    Gesendet: Mittwoch, 22. Februar 2012 17:39
    An: Frei, Joerg
    Betreff: Use Only Certified Plug-Ins - No effect when unchecking
    Re: Use Only Certified Plug-Ins - No effect when unchecking
    created by Bernd Alheit <http://forums.adobe.com/people/Bernd+Alheit>  in Creating, Editing & Exporting PDFs - View the full discussion <http://forums.adobe.com/message/4222524#4222524

Maybe you are looking for