Any way to show a subvi's frontpanel within its parent with out the cumbersome "subpanel"?

I'm writing an application, where several loops are running in parallel (e. g. read sensor data, receive UDP packets, send UDP packets, wait for input). Except for some configuration data, the loops are completely independent from each other (occasional communication is done via queues). Each of the loops will run indefinitely until told to stop by commands to a queue and is in its own subVI (otherwise the main blockdiagramm just containing the overall state machine would start to grow outside the screen, which is even worse than having to scroll in a text based language). Each of the subVIs also shows some information (status, sensor data, graphs, debugging).
So the big question is: how can I show all these subVIs information in a single window?
Using the "subpanel"-container is pretty much out of question. It adds almost as much clutter to the blockdiagram than the loops would do themselves (with "create vi reference", "insert vi", "run vi", "remove vi"; and that for every parallel subVI) and makes the code harder to maintain. Even worse, Labview is no longer able to tell me if one of the subVIs is currently broken (e. g. because there was a change in a typedef that requires changes in a subVI) until I run the complete program (or open each of the subVIs individually). Getting parameters into and out of the VIs isn't easy either that way (no more simple terminals).
I thought about making the subVIs' appearance titlebar-/menu-/borderless and floating and hardcoding a pixel position for all of them. But I can't really control what resolution the PCs running this program will have. So I fear they will be all over the place with no possibility for the user to move them around. This would also mean the main windows would always have to stick to the top left, which in itself would annoy users.
I remember having this problem already. My solution at this time was to make a copy of every frontpanelobject of the subVIs on the main VI (thereby cluttering the blockdiagram with heaps of unconnected terminals), creating a reference to that object, bundling them all together and writing it in a global variable. Then every subVI would pick out the references it needed and change the value with the value property node. Globals and changing the value per reference both being pretty bad Labview practice, it was still more manageable than dynamic calls to subVIs (which the subpanels comes to, although it shouldn't be needed). What making this approach not very practical this time, is, that some of the subVIs (and what they show) may be developed by other developers. This would mean for every frontpanel object they add/change/remove a reference needs to be added/changed/removed. While the reference list will be it's own cluster typedef, still all other subVIs will have to be updated, too.
Maybe I missed something. But is there really no simple option like "show frontpanel when loaded at this position within parent frontpanel"? Would make things soo much easier and way easier to maintain.

mikeporter wrote:
I'm sorry I'm not aware of any "cumbersome" subpanels - unless of course you don't know what you're doing. There is this wonderful invention called a "subVI" that can be used to organize and simplify your code, or are they too "cumbersome" as well? You should really learn a bit about what you are pontificating over before you start running off at the mouth.
Mike...
I didn't want to step on your toes. No need to get personal.
Subpanels make some additional code necessary that hasn't got to do anything with the actual program. And I AM using subIVs as I wrote in my first post, which is exactly the root of the problem.
Nevertheless I now solved it in a way that comes close to what I wanted. I don't know if some of you meant your suggestions to be understood that way (at least I didn't ). The subVIs will now "insert" themselves (via invoke node) into a subpanel on the main vi, which they are given a reference of at call. This adds minimal aditional code, especially on the main VI which I want to keep as clean as possible. By clustering the panel reference into the parameters the subVIs are already given (not used in the example I attached below), there isn't even a change on the terminals of the subVIs.
I got to check now if this works well with event structures within the subVIs or if it can create the same problems like multiple event structures within a single VI.
So no global variables anymore and no writing values by property node. I don't know if this just wasn't possible in previous Labview versions I had a try at that (I guess it was 8.6 and/or 2009) or I just didn't come up with the idea back then.
And if the text wasn't that helpful, here are two screens:
Parent VI:
SubVI:
Attachments:
main.png ‏2 KB
subvi.png ‏5 KB

Similar Messages

  • Is there any way of moving music from ipod to a new computer with out the old computer?

    i have an older ipod. the computer i set it up on is dead and gone. is there anyway to keep the music on it and put more on it with a new computer?

    See this excellent user tip from another forum member turingtest2 outlining the different methods and software available to help you copy content from your iPod back to your PC and into iTunes.
    Recovering your iTunes library from your iPod or iOS device
    B-rock

  • Is there any way how i can download and run Window based games, with out installing Windows-thus Bootcamp? and if so, is it free?

    is there any way how i can download and run Window based games, with out installing Windows-thus Bootcamp? and if so, is it free?

    No, you must install Windows to run Windows software. You do not need to use Boot Camp (yes, it's free because it comes with OS X.)
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • In Address Book, any way to Show/Hide groups from view in the "ALL" view?

    I have groups of contacts in Address Book (v4.0.4) that I plan to use in the future, but right now having to wade through and past all of their individual entries when I am scanning my contact list in the "All" group view. Is there any way to Show/Hide these sub-groups with a visibility check-box? The sub-group name would still be there in the group list (to remind me that it exists and make it visible if desired), but I would have a lot less clutter and scrolling the rest of the time.
    I know I can export groups in vCard format and re-import later, but a lot of my original custom fields for the contacts are lost in the process. Is there a 3rd-party plug-in? (Apple, are you working on something like this?)

    Hi Mike, My Address Book app is behaving correctly (maybe I'm not).
    I'm just saying there are times when I want to see "most" of my total collection of contacts, maybe just for the purpose of creating new groups at particular time and want to see at one time the pool of contacts I have to choose from. There are groups that I very seldom need to use, so it would be a way of putting those groups (and their contacts) into "cold storage."
    I also may want to do searches from among most of my contacts, but also I may want to eliminate certain other particular groups from that search pool. That is the reason for wanting to do the "Show/Hide" thing. It is a way of displaying a logical "ALL" minus "SOME", which is the basically same thing as displaying the logical "UNION" of more than one group of contacts at one time. Can this be done?
    Is there a way to open alternate address books, from within the same Address Book app (and logged in as the same user)? That would allow me to truly isolate my work list from my home list.
    One answer to this occurs to me: I could create different log-ins on my PowerBook, and build the different variants of the Address Book I might want into each login and use Fast User Switching to get into each list of contacts. That seems like a lot of extra work . . . and logging in. Any suggestions?
    Scott

  • Any way to show more than two slides at a time on the secondary display?

    During a presentation, is there any way to show more than two slides at a time in the secondary display? Sometimes during a presentation i have to go back to a certain slide without notice (usually no more than ten slides behind or in front of the current slide)
    Thanks in advanced...

    Nope. But you can jump around easily enough. Just type in the number of the slide you want (or any number, really, because you can then use the arrow keys to scroll to the correct slide), and hit return.

  • Is there is any way to show the nomber of shares of any post in facebook page using android view not desktop view

    is there is any way to show the nomber of shares of any post in facebook page using android view not desktop view

    Sorry, its not related to Mozilla Profucts.

  • Is there any way to show the file name super imposed on the slides?

    Is there any way to show the file name super imposed on the slides in Premiere Elements 9?
    I am setting up pictures as slide show along with some movie clips but wanted the desctiptive file names appearing with each picture.
    Thanks!

    Yes. In Timeline mode, you add it to an upper video track as a title.
    I show you the basics of titles in the Basic Training tutorials at Premiere Elements support site Muvipix.com.
    http://forums.adobe.com/thread/537685?tstart=0

  • Is there any way that I can have songs in an iTunes Playlist without having the songs play in my regular music list.  For instance: can I have a Playlist of Christmas songs without having them play in the routine shuffle of my music library?  Thanks -Rog

    Is there any way that I can have songs in an iTunes Playlist without having the songs play in my regular music list.  For instance: can I have a Playlist of Christmas songs without having them play in the routine shuffle of my music library?  Thanks -Rog

    Select the songs, press CTRL+I to Get Info, on the Options tab set Skip when shuffling to Yes.
    If you want to the hide the songs from your main music view you could consider changing the media kind to audiobooks or podcasts if you don't mind the side effect of them showing up there instead.
    tt2

  • On iTunes 11, how can I access home sharing if the music is from a CD? Is there any way I can download these songs if (A) I no longer have the CD, or (B) I do not want to pay $25 a year for iTunes Match?

    On iTunes 11, how can I access home sharing if the music is from a CD on a different computer using Home Sharing? Is there any way I can download these songs if (A) I no longer have the CD, or (B) I do not want to pay $25 a year for iTunes Match?

    Yes, you can copy songs that you ripped from a CD to your Home Sharing computer.
    Turn on Home Sharing first on both computers.  To do that, go to File > Home Sharing > Turn on Home Sharing.  Enter your Apple ID and password.
    Now go to your computer that you want to copy the songs to and connect to your Home Share.  You can do that by clicking on the popover button located at the left top corner right below the play control buttons.  Click on it and scroll to the bottom until you see your Home Share and select it.
    Go to Music in your Home Share.  Select the songs that you want to copy in your Home Share and click Import at the bottom right corner.

  • Is there any way to do a mass copy and paste of song titles from the "name" column to the "sort name" column? I know it can be done with individual titles but I have over 6,000 titles in my library.

    In iTunes, is there any way to do a mass copy and paste of song titles from the "name" column to the "sort name" column? I know it can be done with individual titles but I have over 6,000 titles in my library.

    Thank you. I have heard of Logic Pro 7, but I have never personally used it. I'm still growing in the world of Composition, and I know that it is something I will be studying in one of my Computer Music classes coming up for my degree. I think it is something I will look into getting once I can justify the price of it. I guess for the time being, I will continue to play and grow in my ability to use and take advantage of GB, and then see what I can do about or with Logic Pro when I'm ready. The thought of spending $1000 for a program is hard to bite, because I've already spent a lot to produce my music, not only electronic music, but also chamber music and so on. I had no idea it would be so expensive to dive deep into the world of composition! lol.
    Finale 2007: $500
    Sibelius 4: $500
    Jam Packs: $400
    Midi Keyboard Interface: $100
    PowerBook: $1700
    Printer for printing scores and analysis: $150
    Logic Pro 7: Oy!
    As you can see it adds up very quickly...that doesn't even include my personal instruments and study materials.
    Thank you for your input, as I haven't really worked much with LP, and therefore didn't know which features are available. I will talk with some of my Composition buddies, and professors and see what they have to say as well, and who knows, I may be able to get the express version through one of them.

  • Thunderbird puts a new message at the end of the thread. Is there any way of changing this preference to listing new message at top of the thread?

    Thunderbird puts a new message at the end of the thread.
    Is there any way of changing this preference so that new messages are displayed at the top of the thread.
    This is is more logical. You need to see new message in thread directly, rather than scanning to end of thread to see what is there.

    No it is not possible. The newest message is attached to the message it is in reply to.
    The conversations add-on might better suit your needs. see https://addons.mozilla.org/thunderbird/addon/gmail-conversation-view/?src=ss

  • I have bought a used macbook, to bad i do not have the admin password. is there any way to bypass this issue with out the Mac OS X disk? (without loosing my obtained files?)

    i have bought a used macbook, to bad i do not have the admin password. is there any way to bypass this issue with out the Mac OS X disk? (without loosing my obtained files?)   I NEED HELP BADLY PLEASE....

    What version of the Mac OS X are you running. Go to the Apple in the upper left corner and select About This Mac and post the version.

  • My on/off button does not appear to be working on my iphone 3.....is there any way around this....anyway around this?...the phone also periodically just switches off.

    my on/off button does not appear to be working on my iphone 3.....is there any way around this....anyway around this?...the phone also periodically just switches off.

    Likely a hardware issue... no way around that except to get it repaired or don't use it (the button).
    Try restoring to solve the switching off problem.

  • Is there any way to set a password so that txt messages only open when the password is entered

    Is there any way to set a password so that txt messages only open when the password is entered?
    Please help! Thanks for reading:)

    Hello Damien,
    There is an option to set a passcode for the entire iPhone.  You can use the following steps to set this up:
    You can configure a passcode for your iPhone, iPad, or iPod touch using Settings > General > Passcode Lock.
    Once enabled, you will be prompted for the passcode whenever you:
    Turn on or restart the device
    Wake the device
    Unlock the screen
    Note: You can specify the amount of time the screen must be locked before requiring a passcode.
    You can find the full article here:
    iOS: Understanding passcodes
    http://support.apple.com/kb/ht4113
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Is there any way i can reset my i pod or open it with it being disabled and i dont have password, is there any way i can reset my i pod or open it with it being disabled and i dont have password?

    is there any way i can reset my i pod or open it with it being disabled and i dont have password, is there any way i can reset my i pod or open it with it being disabled and i dont have password?

    You will need to restore your iPod from the same computer that you most recently synced to.
    Read this: http://support.apple.com/kb/ht1212
    If you can't sync then you will need to try recovery mode.
    Read this: http://support.apple.com/kb/ht4097

Maybe you are looking for

  • Why does a black warning triangle appear where my photos should be?

    trying to move photos into files to place on a zip drive.  All "events" have moved successfully except for 2 events that will not allow me to move them into a file.  When I click on the event in iPhoto gallery, the photos appear at the bottom of my s

  • Devices Not Showing Up in Device Manager After WinXP Install

    I installed Windows XP Professional CD after re-formatting and partitioning the hard drive in my ThinkPad T42 (2378-FVU). After finishing the install and running Windows Update for an eternity, Device Manager still can't detect several items.  (I was

  • 1Z0-450 preparation

    Dear all, I'm preparing for 1Z0-450 by reading the docs and practicing the development so far. Is there any recommended practice software for the test? I know that Oracle doesn't recommend any for this test.... best regards, Val

  • 10g Tutorial Problems

    Hello, I'm try to follow steps of "Experience Application Development Framework (ADF) productivity" tutorial for jdeveloper 10g, but can't create the master detail in the jsp page. Anybody finished this tutorial successfully?

  • Unable to open some Powerpoint 2010 PPTX files which were emailed to me

    A presentation created by a colleague was emailed to me via Outlook 2010. After saving the file (save attachments) in a folder, I cannot open the PPTx file. I get the following error ina dialogue box:      Powerpoint found a problem with content in X