Getting very large application with LVOOP

Hello to everybody
I'm programming a quite large application using LVOOP. The application will later be split in several dll's which are called by a C++ main program, so instead of having a large 6MB executable I expected to have  a  few smaller dll's up to a size of 1MB. Using a "by reference approach" using objects stored in queues everything seems to work, however I noticed that as soon as an exported VI is a member of class the resulting dll will compile all the other members of the class and include that code in the dll. So even an empty(!) VI exported to a dll will have a size of about 4MB. If I drag the VI out of the class the VI still has somehow the class information stored inside the VI and the resulting size of the dll will be the same. I'm wondering if anybody can confirm this strange behaviour (?). Since the application must be transmitted over slow analog modem lines the application size matters and I might be forced to recode my application using GOOP, something I basically want to avoid. Also compiling takes a very long time.
Alex

Hi Alex,
this seems to be normal behavier, all members of a class will be included in the dll. In addition you have to take care about your parameters, LabVIEW objects can only be processed inside the dll. Classes cannot be transfered as output parameter to your C/C++ development environment, using conventioal datatypes as parameter is possible.
regards,
Nikolai

Similar Messages

  • When using reader, the font gets very large on last page and I cant change it

    when using reader, the font gets very large on last page and I cant change it

    You cannot edit PDF files with Reader. You can change the View options to make what you see smaller. View -> Zoom

  • ORA-00385: cannot enable Very Large Memory with new buffer cache 11.2.0.2

    [oracle@bnl11237dat01][DWH11]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Jun 20 09:19:49 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup mount pfile=/u01/app/oracle/product/11.2.0/dbhome_1/dbs//initDWH11.ora
    ORA-00385: cannot enable Very Large Memory with new buffer cache parameters
    DWH12.__large_pool_size=16777216
    DWH11.__large_pool_size=16777216
    DWH11.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    DWH12.__pga_aggregate_target=2902458368
    DWH11.__pga_aggregate_target=2902458368
    DWH12.__sga_target=4328521728
    DWH11.__sga_target=4328521728
    DWH12.__shared_io_pool_size=0
    DWH11.__shared_io_pool_size=0
    DWH12.__shared_pool_size=956301312
    DWH11.__shared_pool_size=956301312
    DWH12.__streams_pool_size=0
    DWH11.__streams_pool_size=134217728
    #*._realfree_heap_pagesize_hint=262144
    #*._use_realfree_heap=TRUE
    *.audit_file_dest='/u01/app/oracle/admin/DWH/adump'
    *.audit_trail='db'
    *.cluster_database=true
    *.compatible='11.2.0.0.0'
    *.control_files='/dborafiles/mdm_bn/dwh/oradata01/DWH/control01.ctl','/dborafiles/mdm_bn/dwh/orareco/DWH/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='DWH'
    *.db_recovery_file_dest='/dborafiles/mdm_bn/dwh/orareco'
    *.db_recovery_file_dest_size=7373586432
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=DWH1XDB)'
    DWH12.instance_number=2
    DWH11.instance_number=1
    DWH11.local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=bnl11237dat01-vip)(PORT=1521))))'
    DWH12.local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=bnl11237dat02-vip)(PORT=1521))))'
    *.log_archive_dest_1='LOCATION=/dborafiles/mdm_bn/dwh/oraarch'
    *.log_archive_format='DWH_%t_%s_%r.arc'
    #*.memory_max_target=7226785792
    *.memory_target=7226785792
    *.open_cursors=1000
    *.processes=500
    *.remote_listener='LISTENERS_SCAN'
    *.remote_login_passwordfile='exclusive'
    *.sessions=555
    DWH12.thread=2
    DWH11.thread=1
    DWH12.undo_tablespace='UNDOTBS2'
    DWH11.undo_tablespace='UNDOTBS1'
    SPFILE='/dborafiles/mdm_bn/dwh/oradata01/DWH/spfileDWH1.ora' # line added by Agent
    [oracle@bnl11237dat01][DWH11]$ cat /etc/sysctl.conf
    # Kernel sysctl configuration file for Red Hat Linux
    # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
    # sysctl.conf(5) for more details.
    # Controls IP packet forwarding
    net.ipv4.ip_forward = 0
    # Controls source route verification
    net.ipv4.conf.default.rp_filter = 1
    # Do not accept source routing
    net.ipv4.conf.default.accept_source_route = 0
    # Controls the System Request debugging functionality of the kernel
    kernel.sysrq = 0
    # Controls whether core dumps will append the PID to the core filename
    # Useful for debugging multi-threaded applications
    kernel.core_uses_pid = 1
    # Controls the use of TCP syncookies
    net.ipv4.tcp_syncookies = 1
    # Controls the maximum size of a message, in bytes
    kernel.msgmnb = 65536
    # Controls the default maxmimum size of a mesage queue
    kernel.msgmax = 65536
    # Controls the maximum shared segment size, in bytes
    kernel.shmmax = 68719476736
    # Controls the maximum number of shared memory segments, in pages
    #kernel.shmall = 4294967296
    kernel.shmall = 8250344
    # Oracle kernel parameters
    fs.aio-max-nr = 1048576
    fs.file-max = 6815744
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    kernel.shmmax = 536870912
    net.ipv4.ip_local_port_range = 9000 65500
    net.core.rmem_default = 262144
    net.core.rmem_max = 4194304
    net.core.wmem_default = 262144
    net.core.wmem_max = 1048586
    net.ipv4.tcp_wmem = 262144 262144 262144
    net.ipv4.tcp_rmem = 4194304 4194304 4194304
    Please can I know how to resolve this error.

    CAUSE: User specified one or more of { db_cache_size , db_recycle_cache_size, db_keep_cache_size, db_nk_cache_size (where n is one of 2,4,8,16,32) } AND use_indirect_data_buffers is set to TRUE. This is illegal.
    ACTION: Very Large Memory can only be enabled with the old (pre-Oracle_8.2) parameters

  • HT5260 Hi, my name is Gerard and my iphoto library is getting very large I would like to know if I can store all or most of my photos in a external hard drive and access them from Aperture?

    Hi, my name is Gerard and my iphoto library is getting very large I would like to know if I can store all or most of my photos in a external hard drive and access them from Aperture?

    Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
    And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
    And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
    LN

  • TS3274 My iPad gets very hot even with short term use. Is this normal?

    My iPad gets very hot even with short term use. Is this normal?

    I assume that you mean your new iPad - the 3rd generation model. No - that is not normal. Some users have reported this issue and it may be that you have a faulty device.
    It may get a little warmer than the previous models of iPads but it should not get "very hot" under any circumstances. Return it - take it to an Apple Store and let a Genius have a look - contact Apple however you need to do so - and let them know about it - but that is NOT normal.

  • Lots of problems building a large executable with LVOOP classes

    I have a large project that makes significant use of LVOOP.  It is essentially a test executive that sequences lots of different types of tests in a configurable way.  I used to use a ton of variants in and out of these tests so they could be used interchangably in the archetecture of my application, but when LVOOP came out I rewrote my test executive to us an LVOOP class called "GTSTest".  Then I have about 10 sub-classes that inherit from the "Test" class.  Each of those sub classes are the actual specific tests.  Here is a shot of the project:
    You can see I am creating a main class called "GTSTest" and that gives me polymorphism of any specific kind of test like "Torque Center.lvclass" and "AutoLinearize.lvclass".  It works fantastic in the development environment.
    My problem now is I can't build anything with any of the LVOOP stuff into an executable.  I originally added all the classes as dynamic vi's because some of them pop up their front panels.  An application engineer suggested taking them out of the dynamic vi's section, but that didn't make any difference.  Here is the error I am getting:
    TestExec Build error:
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 13 occurred at Invoke Node in ABAPI Dist read linkages.vi->ABAPI Dist Cmp Settings to Disk Hier.vi->ABAPI Get Settings From File2.vi->EBEP_Invoke_Build_Engine.vi->EBUIP_Build​_Invoke.vi->EBUIP_Build_Rule_Editor.vi->EBUIP_Crea​teNewWizard_Invoke.vi->EBUIP_CreateNewWizard_Invok​e.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  File is not a resource file.
    =========================
    NI-488:  Sharable board exclusively owned.
    Method Name: Linker:Read Info From File
    O:\Software\MfgTest\Galvo Test Station (GTS)\Classes\Tests\Auto-Linearize\AutoLinearize.l​vclass\AutoLinearize.ctl
    Autolinearize.ctl is the alphebetical first class's private data definition.  So what's going on?  I made all the classes dynamic and it gives me the error.  I made none of the classes dynamic and it gives me the error.  But actually I know I'm going to need at least some methods of all the classes dynamic because a couple of the methods get subpanelled in the program so I need the front panels.
    I've searched everywhere and I see no documentation at all about how to build LVOOP into an executable.  But clearly you need to do something special for this to work.  Can anyone help me? 
    -Devin
    I got 99 problems but 8.6 ain't one.

    OK I figured out what is going on.
    RULES FOR CREATING EXE’S WITH LVOOP
    1.      Do not put any lvclass or any “dynamic vi” of any lvclass in the “Dynamic vi’s and Support Files” section of the source files tab in the build window.  Yes I know they are called “dynamic vi’s” in the LVOOP structure and one would assume you may need the front panels etc., but somehow they get loaded in automatically and if you explicitly include them as dynamic vi’s I think they conflict with themselves somehow.  If you do this you will get the following error:
    Error 13 occurred at Invoke Node in ABAPI Dist read linkages.vi->ABAPI Dist Cmp Settings to Disk Hier.vi->ABAPI Get Settings From File2.vi->EBEP_Invoke_Build_Engine.vi->EBUIP_Build​_Invoke.vi->EBUIP_Build_Rule_Editor.vi->EBUIP_Crea​teNewWizard_Invoke.vi->EBUIP_CreateNewWizard_Invok​e.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  File is not a resource file.
    =========================
    NI-488:  Sharable board exclusively owned.
    Method Name: Linker:Read Info From File
    O:\Software\MfgTest\Galvo Test Station (GTS)\Classes\Tests\Auto-Linearize\AutoLinearize.l​vclass\AutoLinearize.ctl
    In this case “Autolinearize.ctl” is the first class definition in the build.
    2.      In the additional Exclusions section, you cannot use the “Remove as much as possible” option.  This disconnects typedef definitions, and I think it is misinterpreting lvclasses and trying to disconnect the class definitions, which breaks the application.  Of course, you don’t get any reasonable error message when this happens.  It will give you an error 1502 as shown below:
    An error occurred while building the following file:
    O:\Software\MfgTest\Galvo Test Station (GTS)\GTSExecutionMenu.vi
    The VI became broken during the build process. Open the Build Specification and enable debugging to include the front panel and block diagrams.
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 1502 occurred at ABAPI Dist Chg and Save VIs.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Rule_Editor.vi -> EBUIP_Item_OnDoProperties.vi -> EBUIP_Item_OnDoProperties.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  Cannot save a bad VI without its block diagram.
    “GTSExecutionMenu.vi” was my highest level vi that included any lvclass wires.  Maybe that’s why it returned its name.  Anyway what is really happening is some screw up where it breaks any vi containing any lvclass.  If you enable debugging the application will work, but then if you connect to it from the development environment it will suddenly break and you can trace down and see the broken class vi’s.  To fix this, the “Remove unreferenced project library members” option worked for me to keep the LVOOP intact.  Of course it blows up your exe a lot bigger because you are now including every variation of every polymorphic vi instead of just the ones you are using.  You shouldn’t have to do this.  There is a bug in the “Remove as much as possible” option which removes LVOOP definitions that aren’t possible to remove without breaking things.  I hope this helps for the next guy that tries to use LVOOP.
    -Devin
    I got 99 problems but 8.6 ain't one.

  • Where to get ADF Sample Applications with Documentation.

    Hi All,
    I am new to ADF.I have followed oracle tutorials to learn ADF.
    Now I am looking for some sample applications with documentation so I can build some applications in ADF.I did one procurement application using following link.
    http://www.scribd.com/doc/13088674/Oracle-ADF-11g-Learning-Application-My-Procurement-Application
    Also I got one more application from Baig's Blog.But documentation is not there.
    http://baigsorcl.blogspot.com/2010/07/sample-code-quiz-application-in-oracle.html
    I will be very thankful if you provide me the documentation of Baig's application or some other applications with documentation.
    Regards,
    SHD

    Hi SHD,
    U can find some samples and their documentions here http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html
    But learning the basics u can go through the developer guide and some hands on Application
    Ref : http://www.oracle.com/technetwork/developer-tools/adf/overview/index.html
    U can start ur learning here http://www.oracle.com/technetwork/developer-tools/jdev/overview/jdeveloper-reviewrguide-086026.html
    Developer Guide : http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/toc.htm
    make use the links below
    http://www.oracle.com/technetwork/developer-tools/jdev/overview/index-100269.html#adf
    http://www.oracle.com/technetwork/developer-tools/jdev/index-087798.html
    http://www.oracle.com/technetwork/developer-tools/jdev/viewlet-097827.html#adf
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html#adf
    Regards,
    Suganth.G

  • Getting a large file with 2 small ones

    HI,
    I'm playing with final cut pro 5 ...
    I created a very basic project with 2 movies (quicktime movie 320x240, 8.9 and 9.9 MB) done with my coolpix 3100 camera
    I added a transition at the beginning, and one between the 2 movies. (5s each transition)
    I select the Render ALL, then I export it into a quicktime movie with "current settings" "include audio and video" and "make movie self contained"
    I get a final file which is 1'10 length, 720x576 and 253.5MB long !!! (Codecs is DV-PAL Integer)
    is that normal to have such a big file ??

    Did you create a sequence with settings that matched your source movies? It looks like you edited your 320x240 quicktimes into a standard PAL dv sequence. DV is about 5 minutes a gig.
    Create a new sequence preset that matches your source movies as far as pixel size. For the codec, you might want to match your source files or choose an alternative.

  • Why does the persona that I created get very large when I post it even though its the correct dimensions?

    Every time we try and upload our persona, it shows up on screen very large. It seems like the dimensions are oversized and shows up on screen as only about 1/4 of the full design. Its like an extreme close up view of what what we built. We've built it to the specs provided on the site. If you want to check it out, the persona was created by Worth. Any suggestions on how to fix this?

    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
      Apple - iPod Repair price

  • All of a sudden, i am getting very frequent crashes with shockwave flash plugin. I use a PC - windows 7. help!

    I can't seem to stop flash plugin from crashing.

    We're sorry to hear that Firefox is crashing. In order to assist you better, please follow the steps below to provide us crash IDs to help us learn more about your crash.
    #Enter ''about:crashes'' in the Firefox address bar and press Enter. A Submitted Crash Reports list will appear, similar to the one shown below.
    #Copy the '''5''' most recent Report IDs that start with '''bp-''' and paste them into your response here.
    [[Image:SubmittedCrashReports-Win7|width=520]]
    <br><br>
    Thank you for your help!
    More information and further troubleshooting steps can be found in the [[Firefox crashes - Troubleshoot, prevent and get help fixing crashes]] article.

  • When my phone turns on it goes to the normal screen for 1 second and then it gets very large so you can only see a few icons

    When I turn my iphone on, the usual main icon screen shows for about a second and then it blows up so you can only see a few icons at a time.  How do you turn this off?

    Your phone might be on Zoom somehow, try just the simple "gestures" fix
    Double tap with 3 fingers on the screen, then drag down. That should at least zoom out. If that does not work, try scrolling through the screen, but using 3 fingers instead of 1.
    From there you should be able to access Settings>General>Accessibility>Zoom>OFF
    Hope this helps

  • HT1589 My laptop memory is getting very full, mostly with music in I tunes.  I have an external hard drive and I would like to move all the Itunes library to the external drive but I am afraid I will screw up I tunes and I won't be able to find and or syn

    My hard drive is filling up with music files in I Tunes.  I would like to move them to my external hard drive but I am afraid when I do that I won't be able to sync my music to my devices.  I have just added I cloud and signed up for I Match.  I wonder if this would allow me to move all my I tunes files to the external drive.  What will be the impact of this.  I believe I can set the default to the new location for future downloads

    Move the entire iTunes folder out to the external drive, e.g. as X:\iTunes where X: is the letter of the drive. Hold down shift as you click the icon to start iTunes and keep holding until asked to choose or create a library. Click choose then browse to the file X:\iTunes\iTunes Library.itl.
    tt2

  • How can I fix a problem witht my mouse pointer when it randomly gets very large?

    When I am using Firefox, at seemingly random times, my mouse pointer suddenly turns extra large. The only "fix" I have found is rebooting the computer.

    Thank you, this seems to have done the trick! Many thanks to all who took the time to reply.

  • I have just downloaded a new game from the apps store and not i am getting very large icons and have to use 3 finger to navigate the screens.  Please help asap

    As above. can any one give me any idea what to do?

    Double-tap with three fingers, then go to Settings/General/Accessibility and turn of the Zoom feature that you must have turned on. Then go read the manual: http://manuals.info.apple.com/en_US/iphone_user_guide.pdf for the answer to this and many other questions you will likely have.

  • Deploying a large Oracle BPM Application with multiple UI projects

    Hi everyone
    I'm working on a large application with Oracle BPM 11.1.1.5.0.
    I'm using JDeveoper 11.1.1.5.0 to build the application.
    The application has lots of user tasks with lots of UI projects (one for each user task).
    My problem is, each time I make a small change in the project, I have to deploy the whole thing, which includes one main project and five or six UI projects (for now) for the user tasks.
    As the application gets bigger I'm sure this will definitely become an issue.
    So my question is if I'm doing this the right way? or should there be a more efficient way?
    Thanks in advance
    Edited by: luke on Apr 17, 2012 12:16 AM

    Hi Luke
    1. Generally, there is NO need to have One UI Project for one individual Task. Say you have like 10 Tasks (.task files) like Initiator, Approver, Reviewer, LegalApprover etc etc. You can have just One UI TaskForms Project and have taskDetails.jspx generated for each one of these Tasks. This is the preferred way.
    2. Any Workflow Application should have just 2 deployers. Means one deploy is for actual Workflow stuff that will have the main BPEL or BPM Process, human Tasks etc etc. Basically all that goes into workflow project. And another deployer is the REST of the things means the TaskForms UI Project and any other supporting projects like EJB projects, utils projects, any WebServices projects (if you have WebServices). All these will be deployed as one SINGLE EAR.
    Lets take an Example from JDeveloper IDE point of view.
    1. Application Name: SalesOrderApp
    2. Workflow Project Name: SalesProcess (This is a a jdeveloper project of type BPM Project or SOA Project and has all human tasks, bpels, bpm process, business rules etc etc).
    3. UI Project: SalesTaskForms (This is a auto generated form for the very first Task that you choose. Then for rest of the Tasks use this same Project, to generate jspx for all other .TASK files. REFER online docs on how to do this. I will see if I can compile this list of urls for you).
    3. Supporting EJB Projects: MyEJBProject1 (Some EJB Project that connects to some backend database specific to your project)
    4. Supporting another EJB Service Project: MyExtServiceProject1 (Like another EJB Project, that pulls data from some external source)
    5. Some WebService Project: SalesCreditCardValidationWebService (Some WebService Project to be deployed as .WAR file that does some service).
    Try to apply SOA Concepts for each Service that your application needs. Instead of putting all the EJBs and everying in one single giant project, try to split them logically/business need wise and geenrate separate projects so that they can service as it is to other projects and other apps.
    Anyhow, coming back, in above Example, you should have jsut 2 Deployement: 1 is Workflow SCA JAR File and other is full EAR file.
    a) For the Workflow Project, right click and generate a Deployment profile to deploy just this workflow and NOT any other UI Projects.
    b) For each individual project genereate a deployment profile like MyEJBProj1, MyEJBProj2, MyWebService1 etc etc.
    c) For TaskForms project also, generate a deployment profile like SalesTaskForms. This will be a WAR file.
    d) At Application Level, create a new Deployment profile of type EAR and now assemble all the projects under this EAR except for the Workflow project.
    First you deploy Workflow SCA JAR file. You need to redeploy this again only when you make changes to workflow, humantasks etc etc.
    Deploy full blown EAR file that has all the stuff (EJB JARs, TaskForm WARs, WebService WARs etc).
    Anytime you change taskforms, or any java or ejb code, ReDeploy EAR file.
    You should have one JAR and one EAR to deploy at the end of the day. Infact this is how it should go into UAT and Production. They should not have multiple JARs, multiple WARs to deploy. The reason we have separate Workflow SCA Jar file is, bcos workflow will not change frequenly. And also older versions of SOA/BPM (before 11.5 FP) have a huge disadvantage. Everytime we deploy workflow project, it will make all existing process STALE unless you deploy with a diff version. This is not an issue any more for 11.5 + FP (Feature Pack applied). Hence be careful when you redeploy workflow project.
    Thanks
    Ravi Jegga

Maybe you are looking for