Performance Profiler with Sub-Panel linked VI's

I've got a Main vi which contains a tab control, each page holding a subpanel linked to a SubVI. When using the Performance and Memory Profiler my Main.vi is the only one that shows up, so the timing information isn't very useful. If I get a Snapshot while the profiler is running it shows the linked subVI's as being in memory, but doesn't show any timing information on them (All 0.0's for all vi's including Main).
Am I doing something incorrectly?
Attachments:
Profiler.jpg ‏50 KB
Snapshot.jpg ‏58 KB

Looks like you are doing everything correctly.  The problem is somewhere between how the SubPanel deals with VIs in memory, and where the Profiler gets its data.  You should be able to see stats for your main VI once you stop it, but not the subVIs you are loading into the panel.  Sorry if this isn't what you were looking for, but at least we can say that it is not you doing anything wrong.  I would head on over to the Product Suggestion Center and submit this (these are taken seriously!).  It's certainly a valid use case that may not have been considered yet.
Cheers, 
Brian A.
National Instruments
Applications Engineer

Similar Messages

  • Vi's with sub panel

    hi
    i want to run an aplication on fp-2010 which have sub panels(panel embedding)
    but i got the following problems
    1.vi's with sub panel are not loaded on fp-2010
    2.and not supported by Lab VIEW Real Time
    can any one help me in this regard or suggest any other method that i run my application with fp-2010
    OR can i use any other tecnique which give the same functionality as sub panels and compatible Lab VIEW Real Time
    regards
    mazhar

    duplicate post

  • Best technique for laying out a JPanel with sub panels...

    Okay, you're probably going to think this is a nit-picky question, but I seem to do it different each time I have to solve this problem, and neither of them feels like they're obviously the "right" way to do things, so I'm asking for how you all do them.
    Suppose I'm making a panel that's going to have several other panels on it. For example, let's say that the main JPanel is going to use BorderLayout and then there's going to be a sub-panel with a bunch of radiobuttons.. and another with some textboxes, and another with some jbuttons, etc.
    There are a few ways you can do it:
    Method #1
    1 Instantiate main JPanel
    2 Instantiate a sub-panel
    3 add() the sub-panel to the main (before it has anything)
    4 Populate the sub-panel with compnents
    5 Repeat 2-4 for all other sub-panels
    Method #2
    1 Instatiate main JPanel
    2 Instantiate a sub-panel
    3 add() it to the main panel
    4 repeat 2-3 for all sub-panels
    5 populate the first sub-panel with components
    6 Repeat #5 for all sub-panels
    Method #3
    1 Instantiate a sub-panel
    2 Populate the sub-panel with components
    3 Repeat 1-2 for all sub-panels
    4 Instantiate main JPanel
    5 Add populated sub-panel to main JPanel
    6 Repeat #5 for all sub-panels
    Method #4 (same as Method #1 except #3 and #4 are switched)
    1 Instantiate main JPanel
    2 Instantiate a sub-panel
    3 Populate the sub-panel with components
    4 add() populated sub-panel to main panel
    5 repeat 2-4 for all sub-panels
    They'll all work just fine when you initially write them. What I'm after is the one which:
    1) Is the most readable later, and
    2) Is easiest to make changes to if you want to change the way your overall panel looks (ie, least chance of having something go wrong because you didn't realize that you need to make a change in two different places in the code instead of one, etc).
    Of these methods, do any of them strike you as either "Sure, that's the only way to really do it!" or "Oh man, if you did it *that* way, you're in for major headaches"?
    Thanks in advance,
    - Joe

    Well, my code generally would look something like this:
    add(createToolBar(), BorderLayout.NORTH);
    add(createApplicationPanel(), BorderLayout.CENTER);
    add(createStatusBar(), BorderLayout.SOUTH);The createApplicationPanel might then be broken down into sub methods depending on the complexity of the application.
    So I guess that would be your method 4.
    The key point to remember is that you want create and add all the components and panels BEFORE you do your frame.pack() and frame.setVisible(), then you shouldn't have any layout problems.

  • Opening vi in sub panel

    hello,
    i think question has been posed multiple times but i don't find post talking about behavior expected
    i have two vis that can be called vith a main i would like to call them using arguments (init, stop, ...) but 
    as they are played alternativitely  i would like to see panels not in new front panel but in  common sub panel of main ...
     Best regards
    Tinnitus
    CLAD / Labview 2011, Win Xp
    Mission d'une semaine- à plusieurs mois laissez moi un MP...
    RP et Midi-pyrénées .Km+++ si possibilité de télétravail
    Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
    Don't forget to valid a good answer / pensez à valider une réponse correcte

    Thank you
    me again
    there is no way to display   for example vi1 or Vi2  in a sub panel without caliing them with there explicite filename ?
    i'm interested with sub panel not for dynamic calling but for common window of vis   used in a main prog 
    Best regards
    tinnitus
    CLAD / Labview 2011, Win Xp
    Mission d'une semaine- à plusieurs mois laissez moi un MP...
    RP et Midi-pyrénées .Km+++ si possibilité de télétravail
    Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
    Don't forget to valid a good answer / pensez à valider une réponse correcte

  • Vit's not loading in sub panel in executable

    I have turned a project into an executable. This executable acts as a server and the user interacts with it through a web browser. There is a subpanel which loads different vit's front panels depending on which button is pressed. I have solved the path issues (thanks to help from you guys). Is there an issue with sub-panels and vit's? (I have built a simpler application which loads two vit's into a subpanel alternatively and its working fine). So what might be the problem? (The executable is not outputting any errors; the application runs fine in development mode. I have used OpenG Commander to download all the libraries and vi's through it and integrated them into LabVIEW (8.2). Could it be causing some problem?

    Thanks Ben for the help!
    Yes Ben I have added all the vit's in the "Dynamic vi's and support files" section of the build properties dialog box. Yes the front panels load fine if not being loaded in the sub panel. Actually this application runs through a web server. And all the panels load and unload inside the browser. The applicatio works fine in development mode but doesn't work as expected when turned into an executable. So as a last resort I converted all vit's into seven vi's each (by appending numbers to their name) and then used a hidden control to find out which one to call. Its working now but only seven users can log onto the server at any given time. So if it could work properly somehow it would be so nice (and soothing to my aching mind which has been battling (and losin so far) the problem but to no avail).
    Thanks for the help!

  • Handling User Events in sub panel vis and main vis with same Event reference Number.

    Hi All, Iam trying to work to handle events in both subpanel vi and main vi.
    I have a main program, and 2 sub vi. I will load the sub VI in 2 sub panels in main vi. Each sub pael vi has controls on it.
    I have created 2 User events for 2 sub panels vi. One user event consits of a Cluster with 2 Booleans (x & Y) and Other User Event consists of cluster of 2 unsigned 8 Numbers (a & b). These are created and registered in the main Vi and event register refnum is passed to the subpanel vi from the main panel vi.
    I have Event structure in main panel and sub panel vis.
    In one sub panel vi, When the value of one boolean(i.e. X) in the clusters changes, the Events structure in sub panel vi should perform some operation in sub panel vi only. When the value of other boolean (i.e. Y) changes it should perform some operation in main vi. I will try to Generate user event with the x value and Y value changed based on the control clicks in the sub panel vi.
    The OTher panel vi should behave in the smae way when the a & b value changes.
    The "Generate User Event" is working fine some times and sometimes there in no event triggered in the sub panel vi or main vi.
    Please let me know what is the problem Ramesh.

    There is a lot of talking, but not much understanding.  It'd be better if you posted some example VI's of what you are trying to do so that the words will make sense.
    One thing I can tell you is that you don't want to have two event structures handle the same event reference number.  You want to have two event registrations with each one going to its own event structure.

  • Problem with multiple sub-panels through Enum case structure: "The VI is not in a state compatible with this operation"

    Hello,
    I am using LabVIEW 8.0 and I am attempting to create a sub-panel that displays the front panel of a sub-vi depending on the selection made by the user via the Enum dropdown menu.  I have wired the Enum to a case structure and applied identical coding to each individual case structure except for obviously changing the sub-vi source.  However, I receive an error "The VI is not in a state compatible with this operation."  I was able to successfully make a single sub-vi work within a sub-panel using a true/false case structure and the exact same coding.  However, now that I am using an Enum box wired to a case structure, I receive this error.  I have attached my block diagram as well.  Could anyone assist me as to where it is that I am going wrong?
    Thanks in advance!
    Solved!
    Go to Solution.
    Attachments:
    enum subpanels.JPG ‏22 KB

    torm wrote:
    I have attached my block diagram as well
    I only see a picture. Can you attach the VI instead? At what point do you close the reference?
    torm wrote:
    I have wired the Enum to a case structure and applied identical coding to each individual case structure except for obviously changing the sub-vi source.
    Well, if the code is identical except for the source, only the source should be inside the case, right? Why duplicate code?
    LabVIEW Champion . Do more with less code and in less time .

  • ActiveX controls disappear when VI is loaded in a Sub-Panel with Start Modal Dialog usage

    Hi,
    I have a subpanel in a VI (VI1) in which another VI (VI2) is loaded. VI1 is used as a module for an Action step in TestStand. VI2 has ActiveX controls like ExpressionEdit and Adobe PDF reader etc. VI1 loads VI2 in a sub-panel and calls Start Modal Dialog.vi. I have set 'Show front panel when called' to true for VI1 so that the VI pops up when the sequence is run. When the sequence runs and when the Start Modal Dialog VI is called from VI1, all ActiveX controls in VI2 (loaded in the sub-panel) disappears. Here is the screenshot of the frontpanel of VI1 when the sequence is run:
    This problem occurs in TestStand 4.2.1, TestStand 2010 and TestStand 2010 SP1 (as far as I have tested. May occur in older versions too). In the attached file, VI1 is 'ExprEdit Test.vi' and VI2 is 'SubpanelLoad.vi'. The attached sequence is developed in TestStand 2010 SP1.
    How can this issue be solved?
    Thank you,
    Ganesh Kumar
    Solved!
    Go to Solution.
    Attachments:
    Subpanel Load ExpressionEdit problem.zip ‏23 KB

    Hi,
    An update on this issue: I tried changing the order of loading the VI in the SubPanel and the start modal dialog. I called start modal dialog and then loaded the VI (VI2) in the SubPanel. When I ran the sequence, the activeX controls did not disappear (I was pretty sure that the ActiveX controls in VI2 would not disappear since I am calling Start Modal Dialog before loading the VI in the Subpanel). Then I just changed the sequence of operations back to the previous order (loading the Subpanel with the VI and then calling the Start Modal Dialog). When I ran the sequence, the activeX controls where still displayed. But when I ran the sequence with the VI1 backup (that I had taken before making all these modifications) the activeX controls were not displayed. I a nutshell, I now have 2 versions whose codes are the same. But when I run the sequence with action steps for these VIs, the activeX controls disappear when the unmodified backup VI runs and does not disappear when the modified VI is run. I have attached the files that I used along with the sequence file. The details are as follows:
    ExprEdit Test (Not Working).vi - The unmodified backup VI for which the ActiveX controls disappear.
    ExprEdit Test (Working).vi - The modified VIs in which the ActiveX Controls do not disappear (But same code as ExprEdit Test (Not Working).vi).
    ExpreEdit Test.seq - The sequence file containing 2 action steps one each for theabove mentioned VIs.
    SubpanelLoad.vi - The VI that contains activeX controls and is loaded in the SubPanel.
    Note that the sequence is created in TestStand 4.2.1.
    Thank you,
    Ganesh Kumar
    Attachments:
    Subpanel Load ExpressionEdit problem.zip ‏36 KB

  • Hide/Show a Panel group or Panel Box with a command link

    I need to show and hide a panel group/box that has a lot of components inside ..with a command link ...I need to do this with partial submit ....please advise.
    <af:commandLink >
    hide the panel box with all the comps inside it ..change commandlink text ....
    use the same command link to show the panel box and change the command link
    text back
    </af:commandLink>
    <af:panelGroup layout="vertical">
    <af:panelBox>
         <af:panelGroup>
    ALOT of components .......
         </af:panelGroup>
    </af:panelBox>
    </af:panelGroup>
    I tried with partial trigger ..I tried everything i know ..it did not work .....it only worked I do a I full submit and setting some processScope(session) variables ..
    Thanks.

    Hi,
    - have a managed bean in session scope
    - define a boolean variable that is set to true
    - expose the variable through a public method
    - use EL on the panelBox rendered property to link to this boolean method
    - define an action listener on the command link and set the autosubmit property to true
    - use the action listener to set the boolean value
    - define a value for the ID property of the command link
    - set the ID vaule to the PartialTrigger property of the panelGroup component
    Frank

  • How to manually link Facebook profiles with people in my Contacts?

    I have switched from 9900 Bold to z10 but I can't find the "link this contact to FB" option anywhere.
    I know that z10 will eventually link all Contacts with FB, but from what I have read "NOT ALL OF THEM" because some of them don't match the names on FB with how I created them in Contacts. 
    Is there a "manually" way of linking Facebook profiles with appropriate Contact entry?   

    If you Go into your Contacts(icon), swipe from top down, settings, turn on show account in contact list and make sure facebook is on.  Once you do that, it will add your facebook contacts in the contacts list.
    Bring up the facebook contact now with search in contacts, open contact and there is an option to link. then select the contact you want to link to. Hope this helps.

  • Having trouble with flash and linking to Sliding panels - PLEASE help

    Having trouble with Sliding panels and flash. Otherwise everything works fine but when I'm trying to implement the link
    <a href="#" onclick="sp1.showPanel('panel1'); return false;">Panel1</a>
    to a flash button I get confused. I have tried following
    on (press) {
    getURL("javascript:sp1.showPanel('panel1');");
    and it did not work. What would you suggest? I am desperate. Please help me! Any suggestions are highly appreciated!!!!

    Thanks for your answer!
    I have tried both sp1.ShowPanel('panel1'); and window.sp1.ShowPanel('panel1'); they both give blank window with [object]
    I have found a solution that works in other browsers, but not in IE. Well basicly it works, but after a few clicks IE freezes.
    on (press) {
    getURL("javascript:sp1.showPanel('panel1'); void(0);");
    Would you happen to have a solution other than that? I believe that the void(0); causes the IE to freeze.

  • FB4 Performance profiling - what's up with [tincan]?

    Hello folks,
    I just profiled my application in FB4 and when viewing the performance profile that was recorded there is an entry with name "[tincan]", which claims around 70 to 90% of all time.
    Reading blogs etc I found that tincan is the time spend on rendering a video?! This doesn't make sense, of course, and my conclusion at this point is that profiling in FB4 is useless.
    Any help? Thanks!

    Hey folks,
    any thoughts on this one?

  • Linking my Contact Profile with my BBM Profile...

    Just bought a new Bold 9700 and loving it. 
    I managed to create multiple Contacts Profiles, BBM Profiles, and link it all to Facebook. 
    I have my own personal profiles which, at one point, were linked to my Facebook profile and were using my Facebook profile picture.
    Subsequently I decided to change my BBM profile pic to a custom one, didn't like it, and wanted it changed back to my Facebook profile pic.  I didn't know how to accomplish this, but thought that if I un-linked my BBM profile from my Contacts profile (which was still using by FB profile pic) and then linked them again then my BBM profile pic would automatically reset to my FB pic. 
    However, I cannot, for the life of me, figure out how to connect or link or whatever my Contact Profile with my BBM Profile. 
    Can anybody offer some help?  I feel like I'm going crazy over here.
    Thanks in advance,
    Peachey

    I read your post prior to posting this. I agree that on the long term, a single profile would be cool. But I also like the differences of forums and communities, and having diffrent providers might be the prize you need to pay for this.
    I'm more interested in short-term workarounds at the moment. Philosophically I also like to have a cloud identity, so I'm fine with a set of options to interlink my profiles. All the profiles offer some options to link to some web2.0-services (facebook, twitter, icq), the community profile has a field for the forum profile.
    I also don't want to just discuss this on a technical level, but in the field of information management. If someone clicks on my profile, what information might this person be intersted in (and which information I want to provide). Well, it wont be a nice woman looking for a data but more likely some other engineer/technican/scientist or someone from a HR department that wants to check my technical expertise in different fields. So for them I would like to display a kind of top-ten charts where I am good at or interested in.
    BTW: A personal messanger would be cool for this as well, so I could for example contact someone that was pretty active on the forums for let's say SMTP and directly ask this person if he/she can help my with my own SMTP problem.
    I've seen this (some time ago) completley HR related on the joelonsoftware blog, where they where introducing a service (pretty expensive) for HR-departments where they could check the profiles (CVs) against the activity on the stackOverflow.
    Don't misunderstand me, I'm not currently looking for a job, I target this with a technical knownledge-sharing intention. If I know that a memeber of the forums has some expertise I need, I'd like to have a look if this person hasn't founded a community for exactly this topic before asking.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Using Flex Performance Profiler for Profiling Flex  with Java Applications

    Hi , I am planning to use Flex Profiler to profile my Application .
    I have developed a sample Application using Flex MXML ,some ActionScript classes for Events and Cairngorm , Java , Oracle as database and Blazeds . 
    Can i use Flex Performance Profiler to Profile my Application . ?? I am asking this question as i ad read the below line from Adobe site and My Application includes java Methods 
    "You can use the profiler to profile ActionScript 3.0 applications " Can anybody please tell me What does this mean ?? and can i use the Flex Performnace Profiler . Please suggets me .

    Thanks Karl for the prompt response .
    I am making a call to a Java Method from my Action Script function , or getting data from Java Method into the ActionScript function .
    So my question  is , will the Flex Profiler will be applicable in this case as it internally calls Java Methods .

  • How to remove sub panel scrollbars with LabVIEW 2009-SP1?

    I did a search and found this thread on the subject: http://forums.ni.com/t5/LabVIEW/subpanel-scollbars-in-labview-8-0/m-p/284503/highlight/false#M149983
    I double checked that that the horizontal and vertical scrollbars were not selected in the Customize Window Appearance and they were not selected as shown in the image below.  You can see the nasty scrollbars in the front panel in the image at the bottom.  Of couse, since the code / sw cannot be shown, it has been painted over but you can still see the scrollbars along the frame of the sub-panel.
    Customized Window Appearance settings:
    Scrollbars are seen at the bottom & right of the sub panel frame
    Solved!
    Go to Solution.
    Attachments:
    WIndowAppearance.PNG ‏22 KB
    scrollbars.PNG ‏33 KB

    Just ran into this myself.  (To complicate matters, forgot that one of my debug tools turns the scroll bars back on upon program exit.)  "Off While Running" works, too.  You can insert this code onto the diagram of any VI that will be called in a subpanel.
    Thanks for the tip.
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs

Maybe you are looking for

  • Can't install fonts in user/library/fonts folder

    I have a problem which has a number of different symptoms (I presume they are related as they all started at the same time): I can't install any fonts into my user/library/fonts folder. Or, rather, I can install them but they vanish about five second

  • Cannot migrate zones - sysunconfig error

    Hello, We are experiencing sysunconfg errors during migrating local zones. Environment is Solaris 11.2 with OC 12.2.2. FINE: thr#4660826:"JM-pdenld01a.4296.1.38423.37039_dvpxld01-oc-ad1ee35f/192-168-200-24-1ab4e5c/com.sun.hss.domain:name=NORM-localho

  • Writing on a frame.

    Hello. any one know how to write string/s on a frame? what method do I need to use? what class? Thanks in advance , Gonen

  • Can I use photoshop cs5 on a 2013 iMac?

    I have a new 2013 iMac running Mavericks OS and want to run photoshop cs 3 cs 4 or cs5. Is that possible? Also, is there anyway to install snow leopard on my harddrive and run photoshop cs2? Thanks

  • Running total required but with different timing

    Hi All: I am using Oracle9i Enterprise Edition Release 9.2.0.6.0 I want to write a query to display the statistics report with running total. I have written following query that return last 60 minutes activities. SELECT se.tserv_id, sum(decode(eu.cat