Plugin architectu​re with shared dependenci​es

I've developed a framework that is comprised of several libraries and handles tons of UI, logging, graphing, etc. There is a compiled executable that these libraries get compiled into. I have a plugin that I'm compiling into a packed library (lvlibp) that also depends on these libraries.
Some of these libraries include functional globals that store configuration loaded between the main exe and all plugins. However I've read that compiling into a packed library also namespaces all dependencies which is causing my main exe to not see that the plugin has been loaded even though the plugin's initialization ran without error. Is there anyway around this namespacing done by the packed library so that the functional globals that the plugin sees are the same as the main exe?
I've also tried doing just a source code distribution for the plugin but it doesn't use the dependencies compiled into the main exe when I try and load it. The source for the framework libraries needs to be in place in order to open the initialization VI for the plugin. With this solution the main exe's functional globals are used to store the plugin's configuration at least and it can see that it has loaded, though I'd rather not have to distribute the full source of the framework alongside what's compiled into the exe.
In both situations I've ensured the framework gets compiled into the exe by putting all of the libraries in the "Always Included" section of the build specs. For the plugin, I let it leave any dependencies it can out of the packed library.
Attachments:
LoadPackedLibrary.png ‏41 KB

DerrickB wrote:
Alright then, with hundreds of VIs in these libraries referred to by the main app, is there an easy way to change dependencies over to the packed library? At that point I'd rather just distribute the source as there are already several applications in the field that would have to have all of their dependencies switched over to the packed library.
I'm also not liking what I'm seeing as far as what VIs are exposed with having to choose a top level library. All of the libraries in the framework are "Top Level" and it's not looking like I can get access to them properly.
Make a copy of those libraries used by the main application and plugin.
Create the PPL of each library in a copy made.
Add these PPL to a folder (which is not part of the project file of the existing application as well as the plugin)
Later you can right click the libraries in the existing project and simply replace them with PPL's, which will replace all the callers with the VI’s from library to PPL.
Hope this helps.

Similar Messages

  • Getting mplayer-plugin to work with opera 9

    according to
    http://my.opera.com/community/forums/to … ?id=131761
    mplayer-plugin needs to be compiled with --enable-x so it works with opera9. i hope the maintainer updates the package in the repos!

    i tried to compile mplayer-plugin from ABS, with --enable-x option, but i get this:
    $ makepkg
    ==> Entering fakeroot environment
    ==> Making package: mplayer-plugin 3.25-2 (Thu Jun 22 17:49:11 PHT 2006)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Found mplayerplug-in-3.25.tar.gz in build dir
    ==> Found mplayerplug-in.conf in build dir
    ==> Validating source files with MD5sums
    mplayerplug-in-3.25.tar.gz ... Passed
    mplayerplug-in.conf ... Passed
    ==> Extracting Sources...
    ==> tar --use-compress-program=gzip -xf mplayerplug-in-3.25.tar.gz
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    checking for g++... g++
    checking for C++ compiler default output file name... a.out
    checking whether the C++ compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for a BSD-compatible install... /bin/install -c
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    configure: Determining mozilla/firefox packages to link against
    checking for pkg-config... no
    *** The pkg-config script could not be found. Make sure it is
    *** in your path, or set the PKG_CONFIG environment variable
    *** to the full path to pkg-config.
    *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
    configure: WARNING: xulrunner-plugin not found
    *** The pkg-config script could not be found. Make sure it is
    *** in your path, or set the PKG_CONFIG environment variable
    *** to the full path to pkg-config.
    *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
    configure: WARNING: firefox-plugin not found
    *** The pkg-config script could not be found. Make sure it is
    *** in your path, or set the PKG_CONFIG environment variable
    *** to the full path to pkg-config.
    *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
    configure: WARNING: seamonkey-plugin not found
    *** The pkg-config script could not be found. Make sure it is
    *** in your path, or set the PKG_CONFIG environment variable
    *** to the full path to pkg-config.
    *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
    configure: WARNING: xulrunner-plugin not found
    configure: error: Unable to find mozilla or firefox development files
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed. Aborting...
    anyone help?

  • EBS 12.1.3 RAC to RAC Cloning with Shared Appl_Top

    BismillahirRehmanirRahim
    Dear All,
    I need to Clone our Production EBS Environment from RAC to RAC with Shared APPL_TOP and Multi Tier Appl Tiers.
    We have EBS 12.1.3 Environment with 2 Appl Tier Nodes with Shared Appl_Top & EBS DB is on 11gR2 RAC 11..2.0.4.
    I am following Doc IDs 406982.1 & 559518.1.
    But its not clear which directories need to be copy and restore for Shared Appl top on each Node.
    Also what Steps will need to be executed on Each Nodes and
    What Steps need to be executed only on one Node.
    Appreciate your feedback.
    P.S.
    Kindly share if anyone have Step by Step Doc for RAC to RAC EBS Cloning.

    Hi Hussein,
    thanks for the reply.
    +The path is different (first path is db while the second one is apps), so copy the file from the source instance to $COMMON_TOP/clone/context/apps directory on the target instance and try then -- Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]+
    What I meant to say that CTXORIG.xml already exists in the correct directory in the target system:
    $COMMON_TOP/clone/context/apps
    Anyways, I recopied the file from source to the target system $COMMON_TOP/clone/context/apps, but still the same problem. I'll continue reading "Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]".
    I noticed below when running "perl adcfgclone.pl appsTier" with perl debug mode:
    Cwd::_backtick_pwd(<10.1.3 ORACLE_HOME>/perl/lib/5.8.3/aix-thread-multi/Cwd.pm:204):
    204: local @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};
    DB<1> s
    Cwd::_backtick_pwd(<10.1.3 ORACLE_HOME>/perl/lib/5.8.3/aix-thread-multi/Cwd.pm:205):
    205: my $cwd = `$pwd_cmd`;
    DB<1> s
    pwd: No such file or directory
    Cwd::_backtick_pwd(<10.1.3 ORACLE_HOME>/perl/lib/5.8.3/aix-thread-multi/Cwd.pm:207):
    207: local $/ = "\n";
    DB<1> s
    BR,
    TH

  • Using an external drive with shared files (iPhoto, iTunes), attached to a Time Capsule, can the contents of the external drive be backed-up to the internal Time Capsule drive? Perhaps a RAID1 mirror to a partition?

    Using an external drive with shared files (iPhoto, iTunes), attached to a Time Capsule, can the contents of the external drive be backed-up to the internal Time Capsule drive? Perhaps a RAID1 mirror to a partitioned Time Capsule? I understand that the Time Machine (software) cannot backup a networked drive (the external) and that Time Capsule (the router/wireless hard drive) does not have its own backup software... so it won't backup the connected drive. What I would like is an alternate solution for having an automated backup of a networked drive. A 2TB Time Capsule has more than enough space for Time Machine backups of my family of Macbooks, so I had hoped to mirror a 500GB external drive (with shared media files) to a portion of the Time Capsule internal hard drive. I assume this would require a partition of the Time Capsule drive. If not, would the sparse file from the various computers being backed up need to be copied to the external drive as part of the RAID1 setup? This seems like overkill for the Time Machine backup, but it would cover the media files.  

    The complexity with this idea is the software has to run from a Mac computer on your network.. so you need a Mac turned on, probably most of the day.
    It isn't possible to partition the TC although you can create a image area.
    The software would have to copy the material, that means all files to be copied, go from USB drive, back to the Mac, then back to the TC, and written to the drive. In other words you have just added Network congestion, although a proper incremental backup type software will not actually use a lot of capacity.
    Finally it will be slow.. network drives are slower than internal drives. Well USB connected drive is much slower than the same drive connected directly to the computer.. and if the drive is connected directly to a computer it can be shared with the network.
    http://www.anandtech.com/show/4577/airport-extreme-5th-gen-and-time-capsule-4th- gen-review-faster-wifi-/4
    Read carefully the speed of the USB drive plugged into the TC.

  • Issues with Shared Variables in Systems Running for Extended Periods of Time

    I am designing a large SCADA system using LabVIEW DSC and cRIOs. My plan is to use shared variables to communicate the majority of the information across my network (much like "tags" in a normal SCADA system).
    I'm wondering if anyone has experienced issues (connection failures, etc...) with shared variables running on systems for months (both real-time and windows based PCs) without the cRIO or PC being restarted/redeploying the variables. What is the stability of the Shared Variable Engine over extended periods of time?
    Thank you for the input.
    --CLD--
    LV 6.1, 8.6.1, 2011 SP1, 2012 SP1

    I have a system with 2 cRIO's each with Ethercat extension chassis.  Each cRIO hosts ~100 NSV's and is running the scan engine at 40 Hz.
    Each cRIO is coupled to a HMI that has front panel control bindings to NSV's hosted on the cRIO as well as a windows hosted mirror library (used for citadel db logging) that is also bound to the cRIO NSV library.  The cRIO's have monay months of contiguous run time without reboot and I closely monitor cpu and memory usage and also rt performance metrics and will log faults if there are any such events.  I also use NSV's for messaging from the HMI to the cRIO for such things as setting zero offset values and deploying configuration parameters.  My overall findings are that the SV engine and the PSP are stable and efficient (especially NSV<->NSV and NSV<->HMI binding)

  • BAPI_OBJCL_CHANGE error: valuated with object dependencies

    Hi expert,
    having programmed an extension for a customer for automatic maintenance of characteristic values of technical object, we have come across an error.
    When using BAPI_OBJCL_CHANGE to change a characteristic followed by BAPI_TRANSACTION_COMMIT (without wait) we have two scenarios:
    1. if the technical object has no value in the characteristic before calling  BAPI_OBJCL_CHANGE  the characteristic will be set.
    2. if there is already a value set there is an error stating
    Characteristic 'XYZ' valuated with object dependencies (old value '00')
    However, I can't find a dependency definition in CT04. do you know what's wrong here,or what is a usual cause of that?
    thanks
    Stefan

    Hi,
    Please see the given link, It may help you.
    Re: BAPI_OBJCL_CHANGE and BAPI_TRANSACTION_COMMIT
    Regards,
    Shamma

  • I want to work with shared variables. How can I add a remote pc?

    I did an aplication to work with shared variables, but I do not know how add a remote pc. I tried make it in Variable Manager, but Labview showed a error message: "Cannot Connect to Target xxxxxxxx". What can I do?

    Message Edité par JeromeL le 08-28-2007 06:44 AM
    Jérôme LIBBRECHT

  • 'register with shared services' option missing while configuring eas

    I am facing some issues while configuring a new epm system:
    While configuring eas 11.1.2.0, I am not getting the option' Register with Shared Services'. but otherwise, the configuration is successful. As a result, I don't see the Business Rules option in Shared Services/Application Groups. But we are able to use eas console and do see business rules node in eas console.
    How do I get configurator to show this option?
    I was able to configure and register all other Hyperion applications.
    Thanks,
    Edited by: 784749 on Mar 28, 2012 12:35 PM
    Edited by: 784749 on Mar 28, 2012 12:59 PM

    One way is to use the registry tool though make sure you backup the shared services database before running the utility.
    It is located in <MIDDLEWARE_HOME>/user_projects/<instancename>/bin
    to change the status for EAS for HSS then run the following
    epmsys_registry updateproperty BUSINESS_RULES_PRODUCT/system_tasks_configuration/@hubRegistration Pending
    Now if you run the configurator again it should let you select just Essbase Administration Services, you dont need to select the child components.
    It should then registry with Shared Services.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Failure to register with Shared Services

    Planning 9.3.1 At Time = 0, we had created groups in Shared Services that were provisioned to our planning app. We could see the groups and corresponding uses come through into planning. Now at Time = 1, we notice that in Shared Services our planning app does not appear in the Planning projects folder. In Application Settings, the Shared Services URL still shows up in the Shares Services URL field, but attempting to Register with Shared Services yields the msg "Unable to Register with Shared Services".
    Note, between T=0 and T= 1, we did not do any migration or configuration changes that I'm aware of.
    Any thoughts on how to fix?
    Thanks

    I solved the problem myself. I had to unregister with Shared Services, then reregister, and then the app reappeared in the Planning projects in Shared Services. Not sure why the app go confused with Shared Services in the first place.

  • Essbase Registration With Shared Services Fails...

    Hi all,
    I have three system A, B, C in a distributive manner. A has only Oracle 11g and Essbase Server. B has Shared Services, Planning, Essbase Essbase Components, Workspace. C has EPMA, Calc Manager, Reporting Analysis. I created separate database for each components. While configuring I do the following-
    -> First on B I configured Shared Services/Common Settings with its database(1st Time). I could see the green tick.
    -> On A I configured Shared Services/Common Settings with previously configured database. I could see green tick.
    -> On A configure Essbase Server, here I get the error which shows Register with Shared Services failed.
    Examining the configtool_err.log navigate to D:\Hyperion\logs\config folder I see the following message-
    (Jun 10, 2009, 01:13:32 PM), com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Shared Services Registration task can not be executed because Shared Services instance is not available in Registry
    (Jun 10, 2009, 01:13:42 PM), com.hyperion.essbase.config.EssbaseAgentTaskProcessor, ERROR, Error in executing the script to register Essbase as a service: exitCode = 1
    I am using v11.1.1.1 on Win 2003.
    Can anyone pls help me how to solve this??
    Thanks.
    Edited by: Sap B on Jun 10, 2009 12:52 AM
    Edited by: Sap B on Jun 10, 2009 1:14 AM
    Edited by: Sap B on Jun 10, 2009 1:15 AM
    Edited by: Sap B on Jun 10, 2009 1:48 AM

    Thanks John. I was so anxious to get a response from you. See, on the machine where only Essbase Server is installed( and 11g as well), on configuration page I get two options- Hyperion Foundation and Essbase. Now Hyperion Foundation( Configure Database and Common Settings) configuration is done properly with previously configured database.
    Now in Essbase node there is Essbase and under it is Essbase Custom Configuration. when I try to configure it I get the error that Register to Shared Services failed. I could see green tick on Essbase Custom Configuration, but a red cross on Essbase.
    What needs to be done John?? Please help.
    Edited by: Sap B on Jun 10, 2009 2:06 AM
    Edited by: Sap B on Jun 10, 2009 6:22 AM

  • Tthe flood filter is in my plugins folder along with the other plugins I have, but not in cc 2014. It's also in Adobe bridge associated with cc 2014, but not in cc 2014 Photoshop. i hope you get this because i forwarded  your info to HCS and now I'm all m

    the flood filter is in my plugins folder along with the other plugins I have, but not in cc 2014. It's also in Adobe bridge associated with cc 2014, but not in cc 2014 Photoshop. i hope you get this because i forwarded  your info to HCS and now I'm all mixed up as to this gets forward.

    Unfortunately, you are not addressing Adobe here in the user forums.
    However, there are many highly experienced volunteer users here willing to help.
    Can you please clarify:  are you saying that your Flood filter (whatever that is) is in your Bridge folder but not in Photoshop?
    UPDATE:  I Googled your Flood Filter and discovered it's not an Adobe filter at all.  Have you contacted its manufacturer, Flaming Pear?  What do they say?

  • Register with shared services - failed

    I am trying to install EPM 11.1.1.2 and I get this error for the point "register with shared services" for every item except Essbase.
    Shared Services is running, I can connect to the Web App on localhost:28080/interop and manage users and groups but it seems that registering things with it just does not go through.
    any ideas? has someone had the same problem and solved it?
    thank you in advance for your support.
    Micha Roon

    Hi,
    Glad to hear you think the installation was a piece of cake!!
    I think you may get this error when configuring a product selecting "perform first time configuration".
    Are you using a single repository for all your products?
    Could you maybe recreate new databases, including shared services and try again?
    Seb
    www.capiotech.com

  • Appleworks won't open, comes up with shared libray error?

    for some reason my Appleworks has suddenly stopped working. It comes up with Shared libray error.
    "-<appleworks>MW_MSL.PPC.Shlb>Interface2ib>" which is gibberish to me.
    any Ideas????

    for some reason my Appleworks has suddenly stopped
    working. It comes up with Shared libray error.
    "-<appleworks>MW_MSL.PPC.Shlb>Interface2ib>" which
    is gibberish to me.
    Please read this User Tip as it seems to be the same problem. That is, a wrongly named file inside the AppleWorks package.
    <http://discussions.apple.com/click.jspa?searchID=-1&messageID=607619>
    Dale

  • Sample plugins not working with Netscape 7 on Solaris 8.

    I'm trying to build a scriptable plugin for deployment into Netscape 7
    and Solaris 8.
    I finally got mozilla 1.4.1 built under Solaris 8 and deployed the
    plugin from modules/plugin/tools/sdk/samples/simple. By deployed I
    mean that I copied the libnpsimple.so file to the netscape plugin
    directory and copied the .xpt files to the netscape components
    directory. I even removed the xpti.dat file from the netscape
    components directory so that it will get regenerated when netscape 7
    is started.
    I started up netscape 7 and checked about plugins and I find the
    simple plugin in the list of enabled plugins. So far, so good.
    I open the test.html file in modules/plugin/tools/sdk/samples/simple
    into the browser and click on the version button and I get an alert
    box that displays "undefined". Also, if I reload the page netscape
    crashes.
    I also tried the scriptable sample plugin with essentially the same
    result.
    Does anyone know what I need to do to get a sample plugin to work with
    Netscape 7 on Solaris 8.
    Some help would be very much appreciated.
    Thanks.

    Start by fixing the Xhtml coding errors:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.frontiers.uk.net%2F&charset=%28detect+a utomatically%29&doctype=Inline&group=0
    And CSS errors:
    http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.frontiers.uk.net%2F&warn ing=1&profile=css21&usermedium=all
    Your 50% site stats probably include Mozilla/Firefox users.
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "pawpour" <[email protected]> wrote in
    message
    news:fbghtk$o3s$[email protected]..
    > Hello everybody
    >
    > My site is up at www.Frontiers.uk.net. I used
    Dreamweaver CS3, with CSS,
    on a
    > Mac.
    >
    > It seems to work fine in IE 6 & 7, Firefox and
    Safari. When doing a
    browser
    > compatibility check, I get one error: "Double float
    margin bug", which it
    says
    > affects IE 6. I don't think this is causing a problem.
    >
    > However in Netscape (I've only tried version 7) the site
    looks terrible -
    the
    > right hand link in the navbar drops down to the second
    line.
    >
    > Also, there are two DIVS, one floated left and one
    floating right, and in
    > Netscape the right one drops underneath the other. I
    know that there can
    be
    > problems with IE 5, in its dealing with margins but I
    havent heard
    anything
    > about Netscape being a problem? Also I thought that the
    IE box model bug
    can
    > just make the DIVS narrower, not make one drop below the
    other.
    >
    > Dreamweaver isn't throwing up any browser errors for
    Netscape.
    >
    > I thought that hardly anyone would use Netscape, but the
    stats for my
    site say
    > that around 50% of users are using Netscape (which i
    find hard to
    believe!)
    >
    > Any ideas what I've done wrong or how to fix this for
    Netscape?
    >

  • Unable to register Hyperion Reporting and Analysis with Shared Services

    Hello everybody,
    I'm trying to install and configure Foundation Services in order to schedule Brio Query documents execution and distribution.
    IBM DB2 Express has been installed and configured.
    Shared Services have been installed and configured.
    Reporting and Analysis - System 9 Services have been installed and not yet configured.
    Reporting and Analysis - System 9 UI Services have been installed and not yet configured.
    When proceeding with Hyperion Reporting and Analysis configuration in registering with Shared Services, provided with the same host, port, user profile and password used for configuring Shared Services, I get the following message:
    "An unknown CSS error occured.
    Please check that the information entered is correct."
    Messages from configtool.log file:
    "(Aug 21, 2008, 09:32:32 AM), com.hyperion.cis.config.CmsRegistrationUtil, DEBUG, Getting CSS instance
    (Aug 21, 2008, 09:32:32 AM), com.hyperion.cis.config.CmsRegistrationUtil, DEBUG, URL for CSS.xml = https://itblq001.wincor-nixdorf.com:58080/interop/framework/getCSSConfigFile
    (Aug 21, 2008, 09:32:32 AM), com.hyperion.cis.config.CmsRegistrationUtil, DEBUG, Authenticate LStoppa user to CSS.
    (Aug 21, 2008, 09:32:32 AM), com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = LStoppa"
    I can't understand what's happening. May you help me?
    Thank you for every hints.
    Regards
    Lucia

    The service runs until I try to confirm the registration while configuring HRA. Then it stops.
    Apologies for the simple question, as I am trying to make the whole Hyperion System 9 running with little knowledge of it: how do I log to shared services?
    Thanks

Maybe you are looking for

  • Home Directory and different volume failed generates log in failure

    I'm running OS X server 10.5.2. The set up is still used for test and learning purposes but I'm nearly finishing and knowing what I can and want to do. However, there remains a large issue unresolved. I have several volumes available on me server 1.

  • Sharing Indesign on CC show low-resolution images and not the right font in preview

    Dear Adobe, I really want to make use of CC Files and the sharing ability with my clients. I have shared an Indesign file, whereas all the links in that indesign file are on CC Files too. The font is a regular Futura Std. But both the links in the fi

  • Images: CMYK to RGB in photoshop or just export PDF in Indesign as CMYK?

    Hello again, This community has been of great help no end thus far. For my booklet, i would say 90% of the layout is images created in Illustrator. What is best practice here for scans or images which have been screen printed or ar basically RGB? I a

  • Cant Connect with Email

    Hello, im just picked up my curve 8530 with koodo. I have a data plan with unlimited windows live, hotmail, etc... i go to add my email address and it adds it in the list of addresses in the email setup. So when i go to my messages window and i try t

  • Need serial number help

    re: photoshop cs6 teacher edition before installing this software, purchaser must obtain a serial number by submitting proof of eligibility to Adobe. Product cannot be used without such proof. My  copy was purchased from a store. I was told not to op