Delay when applying large, hierarchical type definitions

Hello,
I searched around using various terms, but couldn't readily find posts on what I'm experiencing.
Has anyone else noticed huge delays when applying large, hierarchical type definitions?  I've got about a dozen nested type definitions of clusters, each containing anywhere from 10 to 100 controls, and they're used throughout a large application.  When I open any member of that hierarchy, make a small change, and hit apply, I see the hourglass (spinning ring of death in Vista/7) for a good two to five minutes.
A short term workaround has been to close all dependent VIs and typedefs, and then make an isolated edit.  Then, if I open the whole application again, I see some compiling taking place, but it seems to take a lot less time than when the whole application is open.
I could have sworn that I read a discussion by some others commiserating about this at some point, but now I can't find it.
Has this been addressed, and has anyone heard if there's any development effort to improve this?
Thanks,
Jim

Hi Fred,
Thanks for getting back to me on this.
> You could use more specific typedefs and not a massive one to pass data through VIs.
It's funny, I've actually adopted using larger typdefs in the last year or two for architectural simplicity, and that's when I've noticed this becoming a problem. In fact, for what it's worth, right now I'm using a data reference to store the "data dictionary" (large typedef) but that doesn't really help the issue.
From an architectural sense, it makes things easier for me because I have much fewer wires to pass around most of my data is in one place.
> Or you could pass a queue reference to the subVIs and have the queue be made of of elements that are the large type definition.
Actually, I'm using a data reference right now, which is somewhat analogous to what you're suggesting. (Maybe not? I also use queues and notifiers depending on the situation.) I haven't really seen this technique help the issue; I'm still noticing the large delays, but only when editing the typedefs.
The only way I've really found relief is to separate the large typedef into smaller ones and pass them around separately. This is kind of a pain because it means I have many more references to data structures to keep track of.
> If this is causing major problems, let me know, and I'll pass along your concerns to R&D.
Actually, if I'm to be honest, it really is starting to become a hassle. I hit apply and end up working on something else for a few minutes while the compiler chugs away. I'd be really interested in an improvement in this area. If it makes things easier, I can discuss this via email and upload an application I'm working on as an example. (Multiple large apps I'm working on exhibit this behavior)
Thanks again for your help.
Regards,
Jim

Similar Messages

  • High CPU and Delay when applying metadata

    Hi All:
    I have an issue where my CPU hits 60% when applying keywords. This can be when I apply it to one image or to 100s. Obviously, when I have more pictures selected or more keywords, there is a much larger delay.
    Ideas from anyone?
    Thanks

    Hi All,
    There is a workaround to resolve this issue. As it is related to modifying registry, please be very careful and take backup of your registry first.
    The workaround is to set the value of "Disable Performance Counters" to 0 @ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance
    If this registry entry is not present, create one. Meanwhile, we are working on fixing this issue.
    Hope this helps!
    Thanks,
    Deepika
    PS: Edit the Registry at your own risk. Inappropriate changes to the Windows Registry can disable the operating system! To safeguard against such an accident, back up your existing registry by choosing Registry » Export Registry File after launching the Registry Editor and before making any changes

  • HT4623 Anyone experiencing MAJOR lag/delay when they try to type anything at all?

    Having problems typing normally in IOS7. Anyone else experiencing a delay when typing or texting or doing anything involving entering text?

    Good afternoon
    Here is a useful dis ussion.  Did you try this?
    https://discussions.apple.com/message/23016265#23016265
    Cheers

  • [Applicati​on Builder] What does "disconnec​t type definition​s" accomplish​?

    Hi all,
    Inside the Build Specification properties, there's an option "Additional Exclusions" -> "Disconnect type definitions".
    The only piece of documentation I've found is at http://zone.ni.com/reference/en-XX/help/371361H-01​/lvdialog/additional_exclusions_sd/ but it's not very descriptive. It suggests that disconnecting might cause front panel objects to be displayed incorrectly. Is this the case?
    What does this option do? Its existence suggests to me that type definition info persists inside a compiled LabVIEW application, unless we choose to disconnect them.
    When should I disconnect, and when should I leave type definitions alone?
    Thanks in advance!

    I only know one use case for this option: when application builder throws errors during builds or exe itself doesnt work.
    One reason to use it is when you use Network Shared Variables with typedefs - I recall problems with shared variables not founding theirs typedefs after build. This option also happens to fix more exotic problems - see LV2014 bug fixes: 
    426523
    A specific large project fails to build with a GenIL error and then crashes if you do not select Disconnect Type Defs
    So, other than to workaround app builder problems - I don't know any other reason to mark Disconnect Type Definitions.

  • Passing a reference to a type definition to a SubVI

    I have created a type definition that I would like to use across my application. This particular type definition is also the front panel control to my top level VI. I wanted to pass a reference to this control to my SubVi's so that they could dereference as needed and in very rare cases update the values on the front panel. However, as I built the application I noticed that I was breaking the control reference as I updated the type definition. This implies that they type of the reference changes as I change the type definition.
    How do I go about building the reference I need or is there some other way to do this that works just as well. Even if I can't make a reference to the control that is tied to the type definition, I'm willing to pass in a variant who can house the reference as long as I can build the data type (the reference) inside my SubVis.
    Solved!
    Go to Solution.

    Okay, so I tried all three approaches in a SubVI, here's what happened.
    My approach was simply to create a Type Def control, right-click and create a Reference. Then create a control from that reference by right-clicking the output of the reference and selecting the Create Control option. I then pasted this 'cluster' reference into my SubVi, made it an input and then wired up the reference in the parent to the control in the SubVi.
    Result: This breaks when you update the Type Definition.
    Next, Ben's approach (or my best effort at doing what he suggested). I created a control from reference to the type def. I cut it from the parent VI and pasted it into a new type def. I then put the type def in the SubVI and set it as an input.
    Result: This breaks when you update the Type Definition (but it actually takes a bit longer for the error to propogate).
    Finally, Christian's solution (or my best effort). I took the type def reference and put it through a To More Generic Class guy, casting it to a Control Refnum. I put a Control Refnum on the front panel of my SubVI and wired it to a To More Specific Class guy. I created a control of the type def in the subvi, hid it, and created a reference. I wired the reference to the more specific guy and verified I was getting the right data.
    Result: It works!
    It's possible I just didn't understand how to make the reference type def you were referring to Ben. I would prefer a method with less verbage. I pass this refnum into a class which holds it. Since I can't replicate the type exactly prior to run time (i.e. create a control that is exactly a reference to the type definition of my front panel), I have to save the reference as a Control Refnum and cast it every time I need it (i.e. create a control from the typedef, create a reference frome the type def, etc). More verbage than optimal, but still good!
    Thanks for the help.

  • Why my iphone produces a bug after it renew for OS5.1.1. The bug is when I use message, type a Chinese word, and then using a releveant word, then the program automately closes. Every time I try the same procedure, it definitely closes.

    Why my iphone produces a bug after it renew for OS5.1.1. The bug is when I use message, type a Chinese word, and then using a releveant word, then the program automately closes. Every time I try the same procedure, it definitely closes.

    Nobody knows? Not even administrators?
    Please it would be really nice to have help on that to take all the benefit of the remote app.
    Thank you very much in advance.

  • Itunes delays ONLY when playing mp3's. Also it delays when I move any file type into a playlist. Help! I'm about to go back to Windows Media Player!

    Hi friends! Like I said Itunes delays ONLY when playing mp3's. Also it delays when I move any file type into a playlist.
    Here's what I've done so far;
    I 've checked my external hardrive (by playing it off my internal instead), I've tried reinstalling (although it wasn't an uninstall), I've tried clicking on all the neccesary boxes (let itunes organize files, copy files, consolidate, and reorganize), I've tried different sound cards, I've tried moving files quickly (as some have said this works). I'm not sure what's wrong. I have 7000 songs.
    Any help would be great!

    Have you tried installing Media Manager on another computer and streaming the songs from there?
    How about smaller playlists? See the same problem?
    Kevin
    Verizon Telecom
    Fiber Solution Center
    Notice: Content posted by Verizon employees is meant to be informational and does not supercede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • There is a huge delay when i type a message or anything on my phone, after installing ios 7?

    How do I make my phone faster?? Since i installed ios 7 there is ahuge delay when i type anything into my phone. Someone suggested going to settings> icloud> documents and data and switching this from off to on. Mines is already turned on, so will i lose my stuff if i switch it off and on again? Someone help please

    Turning it off will only remove documents and data, not your contacts and stuff. The data it removes from the phone will also stay on your iCloud account and return when the switch is turned on.

  • When opening DIR files I get a long delay while Director "Builds True Type Fonts"

    Running 11.5 on a Mac OSX 10.6.8
    When opening DIR files I get a long delay while Director "Builds True Type Fonts"
    Anyone know how to work around this?
    I've got all the fonts in my library and embedded in Director.  (Do I need to dump them from my DIR? Dump and reinstall?)

    Two bits of advice:
    1) Pare down your code to no more than 30-50 lines. Enough to compile and show the problem, but not so much as to make our eyes bleed, and for no one to want to read your post or help you.
    2) You would be wise not to state that your problem is "urgent". Even if it is urgent to you, realize that it is not urgent to us. Many here take offense to this as it implies to them that a) the poster thinks that his post is more important than everyone else's, and b) that the poster wants to put pressure on the volunteers who come here to help on their own free time. Just a friendly word of advice.
    I'll be happy to help when you've posted a reasonable amount of code. Good luck!

  • How do you turn off larger dynamic type on the iphone4 when your screen orientation is locked (vertically)?

    So I have the iphone 4 with the latests update ios7.
    So I went on settings > general > accessibility > larger type.
    And I clicked "on" for "larger dynamic type"
    Now my font is so big I can't even see apps that I have and such
    I want to turn it "off" but my screen orientation is locked! (I can't move my phone horizontally) I think if I can move my phone horizontally I'll be able to see the on/off button for larger dynamic type.
    I tried sliding the bottom upwards to turn off screen lock orientation but it's not on my screen because my font is set to a really big size that the "screen orientation lock button" didn't make it to the screen

    Turning on Dynamic type and increasing it shold not have that effect.
    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.

  • EEWB: Change tab tittle when creating an extension type ACTIVITY_H

    Hi CRM Gurus,
    I am using transaction EEWB to extend the object BUSINESS_ACTIVITY. There are two extension types: CUSTOMER_H and ACTIVITY_H. Both of them create an additional tab that contains the new fields. I have two questions about this:
    1.- Which differences exist between them?? When must be
        used one and when the other? Can I use both at the
        same time?
    2.- With the method CRM_CUSTOMER_H_SET_TITLE of
        the  Badi definition CRM_CUSTOMER_H_BADI, you can
        change the tittle of the additional tab when using
        CUSTOMER_H extension type. But when you are using
        ACTIVITY_H extension type, instead   
        CRM_CUSTOMER_H_BADI the system triggers
        CRM_ACTIVITY_H_BADI, and that Badi doesn´t have any
        method to change the tab tittle. Anybody knows how
        to change the tittle tab in this case???
    Any suggestion will be of great aid.
    Thanks in advance.
    Rosa

    Carlos,
    The difference between ACTIVITY_H and CUSTOMER_H is very simple:
    CUSTOMER_H is an SAP delivered segment of the business transaction to contain CUSTOMER defined Header fields for the business transaction.
    ACTIVITY_H is an SAP delivered segment of the business transaction designed to hold data specific to business transactions that have a business object type of "Activity"
    It is possible to use both at the same time.  The normal practice is to use CUSTOMER_H for any new customer fields.
    The reason why you don't have a BADI method to change the title of the fields on the tab that corresponds to ACTIVITY_H is that the CUSTOMER_H badi is designed to help "build a tab from the ground up".  In other words the ACTIVITY_H is used to help reflect new behavior in that segment, while CUSTOMER_H badi is used to define how that segment will behave.
    The simple solution is to use CUSTOMER_H.  I really have never seen a valid reason to enhance the other segments of the business transaction header.
    Let me know if you need additional clarification,
    Stephen

  • What's wrong with this content type definition?

    Could someone tell me what's wrong with this content type definition? When I click "New Folder" in a custom list, it should bring two fields 1) Name 2) Custom Order. However in my case when I click new folder, I see 1) Member (which is totally
    weird) 2) custom order. Where is it getting that Member field from?
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Parent ContentType: Folder (0x0120) -->
    <ContentType ID="0x012000c0692689cafc4191b6283f72f2369cff"
    Name="Folder_OrderColumn"
    Group="Custom"
    Description="Folder with order column"
    Inherits="TRUE"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{35788ED2-8569-48DC-B6DE-BA72A4F87B7A}" Name="Custom_x0020_Order" DisplayName="Custom Order" />
    </FieldRefs>
    </ContentType>
    </Elements>

    Hi,
    According to your post, my understanding is that you had an issue about the custom content type with custom column.
    I don’t think there is any issue in the content type definition, and it also worked well in my environment.
    Did you have the Member field in the project?
    I recommend you create a simple project only with one custom Order column and one custom Folder_OrderColumn, then you can add more fields one by one.
    By doing this, it will be easier to find out the root cause of this error.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Bind FPGA host reference to type definition in labVIEW 2012 crashes labVIEW

    Hi,
    I am using FPGA target device 5641R and labview FPGA 2012 with 5640R ver 1.7.
    On the configure window of open FPGA VI reference function, choosing the dynmaic mode shows broken arrow when wired to the 5640R configuration VIs (i.e. Configure timebase, Configure ADC default, Configure ADC NCO functions). So i tried the other option which is binding the FPGA host reference to type definition and choose the control from path C:\Program Files\National Instruments\LabVIEW 2012\instr.lib\ni5640R\Configuration\NI-5640R VIs\ni5640R FPGA VI Reference.ctl. But after that when i try to save the VI on which open FPGA VI reference function is placed, labVIEW crashes. I am unable to figure out the reason. Earlier I was working with labVIEW 2011 and it was working fine there. Any suggestions would be highly appretiated. 
    Please see the attached images for more details.
    Thanks
    Attachments:
    1.png ‏33 KB
    2.png ‏71 KB
    3.png ‏40 KB

    Check out this thread.  It looks like someone else ran into a similar issue and made changes that fixed their application.
    http://forums.ni.com/t5/IF-RIO/correct-5640r-template-use-recommendation/td-p/1331918
    Jeff B.
    Applications Engineer
    National Instruments

  • Delay when using BC partition in VMware Fusion

    Hi everyone,
    I've been wondering about this for months now and finally decided to ask for your experiences.
    When using my Windows (XP Pro 32bit) Boot Camp partition as a VM in Fusion I always get a delay when the desktop appears and the taskbar items are loading. I can see that the VM Tools seem to be loading (taskbar icon) while this is happening. This usually takes at least 10-15 seconds on my MBP (C2D with 4 GB RAM) and it has been the same for the last few versions of OS X and Fusion.
    Is this delay normal when using the BC partition? It definitely isn't there when booting a regular VM. If so, how long does it take for you?
    Thanks!
    Björn

    Nope, KBDMGR.EXE is located in "Program Files" and autostarted via the RUN registry-entry. It's seemingly not even a real driver, but merely a bridging process that administers the drivers.
    If you run bootcamped Windows without KBDMGR you cannot use the special function keys (brightness, loudness etc) and at least in Vista you have to do some manual settings every time you start Windows in order make tap-to-click usable without KBDMGR (a better and easier way is to start KBDMGR once and then stop it again if you don't want/need it).
    Manually enabling tap-to-click and chosing the Boot-OS is possible without KBDMGR being loaded even once, you can just call the settings application from Windows/System32. The Readme coming with my Script explains how to find that and possibly use a keyboard- or icon-shortcut for that.
    Theoretically it can be stopped/killed via Process-Manager and started manually by just calling the exe file. Practically that only works as long as the RUN entry in the registry remains intact and points to an existing file.
    Along other things my script explains how to replace KBDMGR.EXE with a dummy file which in turn allows to start Windows without it and later loading it manually if needed (preferably via a keyboard- or icon-shortcut as described in the Readme of my script).
    Personally I use Right-ALT+, for opening the Settings and Right-ALT+. for switching KBDMGR on/off (along with switching the F-Keys from Standard to Special functions alongways). Works like a charm.
    Message was edited by: T1mur
    Message was edited by: T1mur

  • How can I modify the "Type definition​s" of "Function Prototype" if I want build a DLL in Labview 8.5.1.?

    Hello,
    We have a library with several VIs (API - Interfaces to our Real Time Target). This VIs we provide to our customer to generate own VIs to control the Real Time Target.
    Now we want to provide the functionality of this VI-library as DLL to our customer. The problem is, that labview use self definite name of type definitions. Also if I use "strict Type definition".
    Example:
    void GetOutputValues(VARIANT *Scale_In, int32_t ModelNr, uint16_t SignalID[], TD1 *errorIn, VARIANT *Scale_Out, TD2 *Data, TD1 *errorOut, int32_t len)
    It is possible to modify "TD1" and "TD2"? I want to give useful names.
    Greetings
    Steffen

    Hi Steffen,
          Try editing the .h file as follows:
    CHANGE FROM:
    typedef struct {
     LVBoolean status;
     long code;
     LStrHandle source;
     } TD1;
    CHANGE TO:
    typedef struct {
     LVBoolean status;
     long code;
     LStrHandle source;
     } TD1;
    typedef struct {
     LVBoolean status;
     long code;
     LStrHandle source;
     } LVErrorCluster;
    then your GetOutputValues prototype becomes:
    void GetOutputValues(VARIANT *Scale_In, int32_t ModelNr, uint16_t SignalID[], LVErrorCluster *errorIn, VARIANT *Scale_Out, TD2 *Data, LVErrorCluster *errorOut, int32_t len)
    If your source-code doesn't refer to "TD1", then you probably won't need to keep the TD1 prototype!
    Cheers.
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

Maybe you are looking for

  • Link to BI Publisher report with parameters

    I want to link from one BIP report to another. I have created a BI Publisher report using the Layout Editor. Using the following link, I can connect to the BIP report when directly pasted into the address bar in firefox. http://xxxxxxxxx/xmlpserver/S

  • How to split a table in messages

    Hi, I've made a BPM which consumes 2 BAPIs. The first BAPI returns a table like this: <?xml version="1.0" encoding="UTF-8" ?> - <ns1:MT_Search xmlns:ns1="http://www.prueba"> - <E_COMP_TAB>   <IBASE>1</IBASE>   <INSTANCE>1</INSTANCE>   </E_COMP_TAB> -

  • How to handle attachment in Web Services?

    is there any way to handle attachments in JCAPS Web Services? If you have any white paper/documents please provide me link? Thanks

  • How to cancel an UIView animation?

    If I have started an UIView animation using the UIView animation methods, how to cancel the animation while it is being executed?

  • JDeveloper vs. CVS

    We're having quite a lot of hastle sharing a workspace between two programmers using CVS to do the transfers. The problems appear as update conflicts, especially on .jpr files and other XML configuration files which JDeveloper maintains without telli