Can I use SubPanels to display and run multiple executables from the same GUI?

I have two Labview executables that performs some A/D I/O, each using an independent USB-6008.  I would like to run both of these executables from a single UI.  Is this possible usin SubPanels?  Or some other method?
I found KB regarding exe's and VI Server but can't seem to get the suggested workarounds implemented.
http://digital.ni.com/public.nsf/allkb/8545726A00272EB0862571DA005B896C?OpenDocument
I am using Labview2009
Thanks
Dan
Solved!
Go to Solution.

DBerry wrote:
No, of course I am not sure yet.  I have only begun testing this method. 
Not sharing common hardware (separate USM-6008s).
Here is the whole picture:
I have developed a top-level VI that performs Daqmx IO using a single USB-6008.  The top-level VI references a Project Daqmx Task that points to the desired 6008.  I would like to create a single UI that uses this top-level VI to control twoUSB-6008s simultaneously.  I thought I could build the top-level VI into 2 separate exes, where the only difference between the exes is the hardware it points to (one exe to each of the 6008s).  But I have been unsuccessful at running these two exes within a single UI.  I attempted use subpanels on a tab control to do this but I am unable to obtain a reference to the top-level vis once they have been built into an exe.  I have also tried building a dll and exporting the top-level vi from the dll build but i can't seem to get that to work either.  In both of these cases my Open VI reference function returns errors (Error 1445).  I am aware of the changes in referencing VIs from within an exe/dll since LV8.2 - http://digital.ni.com/public.nsf/allkb/8545726A00272EB0862571DA005B896C
The link seems to suggest that I should be able to obtain a reference to the top-level vi within the dll but I can't get it to work.
So I then moved on to the above method (making all the subvis reentrant).  I just haven't figured this all out yet.
If you have suggestions on other problems I may run into please share.  I think I can eliminate my FGs but haven't gotten back to this yet.
Thanks
Dan
When I am designing apps of the type you described I have kept the ned goal in mind from the begining since of the issue you are mentioning. I also don't want to tell you to throw it all away and start over. So with that in mind I have been looking at your posts and only offering the least destrutive ideas first. With that in mind I would like to invite yo uto look at the code i posted in this thread (reply #18 has a zip).
That code shows how to realize un-dockable GUI regions but it passes the ref of the top level VI to a reentrant VI it instanciate for each undockable region. It may have enough hints and technique to give you some ideas that will work for you.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Can I use a magic mouse and apple track pad at the same time with my iMac

    Can any one help with my above question

    Yes, you can use the magic mouse, trackpad and wireless keyboard at the same time.
    Captfred

  • Can I save both DVD-R and DVD-Video files onto the same DVD?

    Can I save both DVD-R and DVD-Video files onto the same DVD?

    Hi Stan,
    I just want the user to be able to run my video clips either on a 
    computer or on a standard DVD player. It would be nice to include both 
    formats on a single disc. I am new to this and am not sure what format 
    is most widely used for standard DVD players. Thanks for your response 
    and any guidance you can give me.
    Quinn
    Quoting Stan Jones <[email protected]>:
    Stan Jones http://forums.adobe.com/people/Stan+Jones created the discussion
    "Re: Can I save both DVD-R and DVD-Video files onto the same DVD?"
    To view the discussion, visit: 
    http://forums.adobe.com/message/4996961#4996961

  • Is it possible to use both an ILB and an ELB (listening on the same port) in the same Azure cloud service?

    I'm building a test Lync deployment on Azure; yes, I know this is not supported, hence "test".
    Lync Front-End servers expose two set of web services, one for internal users and one for external ones; they listen on different ports (443 and 4443) on the same servers; when external services are published, you need a reverse proxy or a port forwarding
    in order to map port 443 of a public IP address to port 4443 of the Front-End server(s). When you have multiple Front-End servers in a pool, you also need to load-balance them.
    So, a typical Lync deployment looks like this:
           Internal users
                     |
                   443
                      |
              Internal LB
            192.168.0.20
            443         443
              |               |
       Lync FE 1     Lync FE 2
    192.168.0.21 192.168.0.22
              |               |
          4443        4443
              External LB
           Public IP Address
                     |
                  443
                     |
           External Users
    This should be easily replicated in Azure, as it supports both external load balancing and internal load balancing. They are even supported together in the same cloud service, so this configuration should be easy. However, it looks like "should"
    is the keyword here.
    After creating the external load balanced endpoint (which listens on external port 443 and forwards to port 4443 on the servers), I'm trying to create an internal load balancer and add internal endpoints to is; however, while the ILB can be created successfully,
    adding an internal endpoint listening on port 443 and forwarding to port 443 on the servers fails miserably, with an error stating that port 443 is already in use by another endpoint:
    Update-AzureVM : BadRequest : Port 443 is already in use by one of the endpoints in this deployment. Ensure that the port numbers are unique across endpoints within a deployment.
    For reference, my commands are:
    Add-AzureInternalLoadBalancer -InternalLoadBalancerName "LyncILB" -ServiceName "LyncFrontEnd" -SubnetName "LabSubnet" -StaticVNetIPAddress 192.168.0.20
    (This completes successfully)
    Get-AzureVM LYNCFE1 | Add-AzureEndpoint -Name "Https-Int" -Protocol "tcp" -LocalPort 443 -PublicPort 443 -LBSetName "HttpsIntLB" -DefaultProbe -InternalLoadBalancerName "LyncILB"
    (This fails)
    The existing external endpoint is configured as such:
    Get-AzureVM LYNCFE1 | get-azureendpoint
    LBSetName : HttpsExtLB
    LocalPort : 4443
    Name : HTTPS-Ext
    Port : 443
    Protocol : tcp
    Vip :
    ProbePath :
    ProbePort : 4443
    ProbeProtocol : tcp
    ProbeIntervalInSeconds : 15
    ProbeTimeoutInSeconds : 31
    EnableDirectServerReturn : False
    Acl : {}
    InternalLoadBalancerName :
    IdleTimeoutInMinutes :
    LoadBalancerDistribution :
    The error doesn't even make a lot of sense; the external load balancer listens on a public IP address, while the internal load balancer listens on a private IP address in the internal network; there
    shouldn't be any conflict here... however it looks like there is one instead.
    Why doesn't this work? Am I doing something wrong, or is Azure networking just being silly as usual again?

    Hello Massimo Pascucci,
    The issue that you are facing when creating an endpoint with internal loadbalancer is the limitation of not allowing same ports to be listening under a single cloud service. This reason for this is that there is a limitation of only one private IP (Also
    known as the Internal load balanced IP) per cloud service.
    There is also a limitation on the Internal load balancer more than one port to be published per load balancer:
    You can leave your feedback by following the link below:
    https://social.msdn.microsoft.com/Forums/en-US/1805c5a0-3906-4cd6-8561-9802d77e0ae5/is-it-possible-to-use-both-an-ilb-and-an-elb-listening-on-the-same-port-in-the-same-azure-cloud?forum=WAVirtualMachinesVirtualNetwork
    Refer to this article for more information on Internal load balancer:
    http://azure.microsoft.com/blog/2014/05/20/internal-load-balancing/
    Thanks,
    Syed Irfan Hussain

  • TS3280 How can i enable both paired bluetooth and ios keyboard input at the same time?

    How can i enable both paired bluetooth and ios keyboard input at the same time?
    This is needed for the app im working on. Need some user input via keypad as well as scanner input via a paired bluetooth scanner.

    You probably should not be using a keyboard bluetooth profile for a scanner, I am not a developer for apple so do not know the location for you to find out the correct profile you should be using for an input device that is not a keyboard. Sorry,
    I am sure if you navigate the apple developer site you will probaly finmd what you're looking for.
    https://developer.apple.com

  • Can I have an ATT account and a O2 account on the same Iphone?

    Can I have an ATT account and a O2 account on the same Iphone? So that when I am in the UK I use the O2 sim card and in the states use my ATT sim card? I would basically have two valid authorized accounts on one Iphone.
    Allan

    I don't believe that the phone would recognize the other sim card as legit. The US iPhone is locked to ATT and the UK iPhone is locked to O2.

  • How can u have lock rotation off and mute feature off at the same time

    How can u have lock rotation off and mute feature off at the same time

    Maybe this will help. The link at the bottom is the same one that was posted above.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • Can i sync an iphone 4 and a ipad 2 with the same itunes library?

    can i sync an iphone 4 and a ipad 2 with the same itunes library?

    Open itunes. Plug in ipad.  Select what you want to sync.  Sync.
    iPad 2 User Guide (For iOS 4.3 Software)

  • Can you use home share where there are 2 itunes on the same computer but under different user profiles?

    Can you use 'Home Share' where there are 2 itunes on the same computer, but under different user profiles?

    check out method one from this support article -> How to use multiple iPods, iPads, or iPhones with one computer

  • Did anyone else notice the new Iain Banks Audiobook Use of Weapons appear and then quickly disappear from the store a few days ago, or did I imagine the whole thing?

    Did anyone else notice the new Iain Banks Audiobook 'Use of Weapons' appear and then quickly disappear from the store a few days ago, or did I imagine the whole thing?

    Did anyone else notice the new Iain Banks Audiobook 'Use of Weapons' appear and then quickly disappear from the store a few days ago, or did I imagine the whole thing?

  • Can I install Web Standard CS4 and Design Standard CS4 on the same machine?

    Can I install Web Standard CS4 and Design Standard CS4 on the same machine?  My company purchased me a copy of one, and I have a personal copy of the other.  Wanted to make sure there wouldn't be any serial number problems in any case...thanks!

    Yes, but do a custom install to choose the apps to install to avoid any possibility of conflicts.
    Bob

  • Can i use an itunes gift card to buy things from the games im playing?

    can i use an itunes gift card to buy things from the games im playing?

    how do i do that? .. im playing clash of clans..

  • How can I delete my apple id and create another one with the same email?

    How can I delete my apple id and create another one with the same email?

    So sorry; somehow I forgot to provide the link.   Here it is ...
    Frequently asked questions about Apple ID
    Again, my apologies.

  • Disallow running multiple instances of the same web start application..

    on the client? I have an application that is launched on the client by clicking on the link to the JNLP file. The problem is that I don't want the application to launch twice if the user clicks the link twice. Is there a way to keep web start from running multiple instances of the same app?
    I don't want to just disable the button after it is clicked because then the user won't be able to get back in if they need to.
    Any help out there?
    Thanks,
    Melanie

    The way I do this is to try connect to an obscure port number on the localhost at startup.
    if this connection succeeds I assume the app is already running. otherwise the program continues and registers as a server at that port number.
    I actually take this a little bit further by registering a web server at this port (I use the Brazil server), That way if the program finds an instance of itself running it can send a message to the web server and ask the program to do something (like start another window if,for instance you wanted to allow this but only within the same VM).

  • How could I play and transmit a stream from the same camera

    How could I play and transmit a stream from the same camera?

    Hi,
    As I said, you can use the method getVisualComponent() of the Processor to get a preview Window.
    You create a Processor, prepare it to generate an appropriate output DataSource for what you want to do (saving, TXing, etc).
    Then, for this Processor you extract an AWT Component where the stream will be previewed using the method getVisualComponent().
    Some of the player examples in the JMF guide use this technique. I'm still not write my own player. I'm using an adaptation of the RTPPlayer, but I'm planning to use the above technique to create a Player where I can apply some effects to the stream and then save it if the user wants to.
    If someone already did that, please, correct me if my procedure isn't right!
    By the way, thanks for your help! I was using the DataSource returned from Manager.createCloneableDataSource only to create the clones. I was feeding my main Processor with the original DataSource. That was the problem!
    RGB

Maybe you are looking for

  • Having software problem, Windows 7 Home, how to format and reinstall

    Having software problems, Windows 7.  I have the HP  P6510 desktop. I have backed up my data to ext. drive, and  I have the Windows 7 Home CD which I purchased.  Most of the reading I've done to "format & reinstall" seem to say I don't need to format

  • APEX for XE and PL/PDF

    Hi All, I have started to test PL/PDF, and have it creating a BLOB etc in a table. My issues is with XE (as it is meant to be supported), is how to display the pdf (currently stored as a blob in the database). The blob table doesn't have any "ID" as

  • Is there a way to cycle a while loop on its own and only controlled by the number of cycles?

    Hello everyone,  Newcomer here, recenlty just took core 1 and 2 the past couple of months is there a way to cycle my while loop so that the daq assist receives the same outputs from the list box table? So pretty much I need the VI to be able to read

  • Editing Multiple Sheets

    Is there a way to edit multiple [Shift-Select] Sheets in Numbers. Specifically I have a dozen individual sheets that I'm trying to adjust the margins on and print without gridlines. I know how to do this on an individual sheet but it's rather tedious

  • Which flash version does Encore CS6 use?

    Hello all, Could someone please tell me which Flash version Encore CS6 uses to encode a flash build? I need to deliver a flash video in flash 10 or higher, but I cannot find any info on this. Also, if Encore CS6 encodes in a lower version of flash, i