How to reopen and display more than one instances of the same subvis?

I know this has been discussed a lot before. But my task is a little bit different from what has been mentioned. What I want is, click a button to open one front panel by calling one subvi with one parameter, and while the first one is open, click another button on the main vi to open another front panel for the same subvi but with different parameter. Is it possible? I attach my preliminary program, and hope you guys modifiy them to make what I want done. Thank you.
Attachments:
caller.vi ‏26 KB
callee.vit ‏38 KB

Check out this answer from a previous thread;
http://exchange.ni.com/servlet/ProcessRequest?RHIV​EID=101&RPAGEID=137&HOID=5065000000050000007BDD000​0&HTHREAD=000056699&UCATEGORY_0=_49_%24_6_&UCATEGO​RY_S=0
Giving each instance different start paramters is just a matter of making a functional global that holds the startup parameters (e.g. as a flattened string) and allows the new VIs to search for the data that belongs to them...I make a copy of the VI, insert the data for that instance into a 2D string array; in the first column I put the name of the new instance, in the second column a flattened version of the inut parameters..the first thing the instances do when they are run is to call the functional global with their name as input and search as the chosen functio
n...the global finds the row contining the name and sends out the parameters...It can then either erase the entry for that VI immediately, or you can let the instance send a delete command when the instance terminates instead...if you want access to the startup parameters other places as well as long as the instances exist... Using a flattened representation is off course not necessary.
You can use VI server to set controls when you run the new instance, but that functionality is not supported in built applications...hence the use of a functional global instead...
MTO

Similar Messages

  • WebLogic Error : Registered more than one instance with the same objectName

    HI there, I'm facing a big problem. I have two environments installed on the same physical machine.
    I have ALSB and WLI servers running out there.
    Environment 1 - WLI port running at 7011 domain name : stp_wli_domain and ALSB port running at 8011 domain name: stp_alsb_homo1 - folders- stp_wli_domain / stp_bea_alsb_homo
    Environmnet 2 - WLI port running at 7211 domain name : stp_wli_domain2 and ALSB port tunning at 8211 domain name : stp-alsb_homo2 - folders - stp_wli_domain2 / stp_bea-alsb_homo2
    Everything was working fine, but these days I had install new deployments on both environment and I got this error :
    java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : stp_wli_domain:ServerRuntime=wli_wls01,Name=stp_wli_domain,Location=wli_wls01,Type=AIRuntime new:com.bea.wlai.management.AIRuntimeMBeanImpl@bcf22dc existing com.bea.wlai.management.AIRuntimeMBeanImpl@de02e6c
    The weird is : There is no same object name, as you can see, domains are different, folders are different and ports are diferrent, including multicast addresses.
    Have you guys seen this before ?
    I'm under pressure here, 'cause some projects had stopped to work.
    Please I would appreciate any help.
    Tks.
    Edson

    HI there, thanks for attention..
    See ...
    There's a lot of confusion with these env's .
    I did not built this, so... I'm cleaning my hands.... anyway... :)
    I must fix....
    Well basically if we have two env's, so we have different project each one right ?
    Ok, but I was told that if you have on the same network and same physical machine the name of AdminServer as "AdminServer" in all domains, so it goes with problems... I never heard about it... but is a good practice you put the names for example :
    WLI - WLIAdminServer
    ALSB - AlsbAdminServer
    WLI2 - WLiadminServer2
    ALSB2 - ALsbAdminServer2
    I would do it.. this way..
    But how it wasn't me...
    We got..
    WLI - WliAdminServer
    ALsb - AdminServer
    WLI2 - AdminServer
    ALsb2 - AdminServer
    Have you got it ?
    So... I was told that this could be a problem, almost all AdminServers with the same name... guess what ?Some Projects are back to work. but not at all.. only some.. so I 'm breathing better now... but I would like to know if you seen this before ?
    I would appreciate your help again.
    Unfortunately there's no detailed stack trace to track this
    Tks.

  • How to display more than one data on the same page?

    Hello all,
    I have a question that is if I want to choose more one data on the same page and the data is selected from the same column.
    I.E I want to tick more than one boxes in the page but the data is selected from the same column.

    Select all the item to burn... right click...
    Or
    Place all items into a folder and burn the folder to the disc.
    Or
    Make a Burn Folder in the Finder (place items into the folder) and burn from there to a disc.

  • Can you display more than one library from the same account?

    If I open iTunes on two computers in my house, I can only show one library on my apple tv. When I turn on the second computer, the first library goes away.
    Can you show one at the same time?
    Thanks

    Welcome to the Apple Community.
    Yes you can share more than one library at a time, just make sure that the homesharing ID and password you use for each one is the same on all of the libraries.

  • Can the iphone maps display more than one pin at the same time?

    For example, on a recent trip to New York I preloaded bookmarks of all the places I wanted to visit into the iPhone Maps. I then wanted to see where they all were in relation to one another so I could decide which one to go to next (MOMA, Guggenheim, Metroplitan Museum of Art for example). Is it possible to have the map display them all at the same time?

    DaVBMan wrote:
    Are you sure about that Andrew. I see no option to toggle on all my bookmarked pins. I can pick one to show and it shows up. But if I pick another, the previous one will go away. Only doing a search for stuff in an area will Google Maps show multiple pins, but I see no way of making all your saved bookmarks show up.
    Did it on mine just now but I also did a very small location here in Sacramento. Dropped a pin in 1 city, Bookmarked, Dropped a few others and bookmarked at least 6 cities in the general Sacramento area, zoomed out just a bit and saw 6 red Pins. Which are all bookmarked.
    If I could snap a photo of my screen I would post it.

  • Display more than one Graph in the same page along with report datails

    Hi,
    I have  to display 3 lines out put along with the 3 GRAPH’s  below corresponding to the 3 lines  in the same page of a the report output. .How do i achieve this?  The function modules like ‘GRAPG_2D’,   ‘GRAPG_3D’ brings the graph in separate pop up, but I want all the 3 graphs in the same page along with the some text above those graphs (ie my report details in 3 lines).
    Could you please let me know how to achieve this?
    Waiting fro your kind suggestions,
    Regards,
    Steve

    Hi,
    Refer to the following code to display graphs in report.
    DATA: BEGIN OF ITAB_DATA OCCURS 0,
    DATANAME(15),
    QUANTITY1 TYPE I,
    QUANTITY2 TYPE I,
    QUANTITY3 TYPE I,
    END OF ITAB_DATA,
    BEGIN OF ITAB_OPTIONS OCCURS 0,
    OPTION(20),
    END OF ITAB_OPTIONS.
    ITAB_DATA-DATANAME = 'Electricity'.
    ITAB_DATA-QUANTITY1 = 55.
    ITAB_DATA-QUANTITY2 = 62.
    ITAB_DATA-QUANTITY3 = 59.
    APPEND ITAB_DATA.
    ITAB_DATA-DATANAME = 'Gas'.
    ITAB_DATA-QUANTITY1 = 35.
    ITAB_DATA-QUANTITY2 = 52.
    ITAB_DATA-QUANTITY3 = 44.
    APPEND ITAB_DATA.
    ITAB_DATA-DATANAME = 'Water'.
    ITAB_DATA-QUANTITY1 = 18.
    ITAB_DATA-QUANTITY2 = 22.
    ITAB_DATA-QUANTITY3 = 19.
    APPEND ITAB_DATA.
    CALL FUNCTION 'GRAPH_MATRIX_3D'
    EXPORTING
    COL1 = 'Jan'
    COL2 = 'Feb'
    COL3 = 'Mar'
    TITL = 'Utility Expenses in US$.'
    TABLES
    DATA = ITAB_DATA
    OPTS = ITAB_OPTIONS
    EXCEPTIONS
    OTHERS = 1.
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

  • How to load and unload more than one external swf files in different frames?

    I do not have much experience on Adobe Flash or Action Script 3, but I know the basics.
    I am Arabic language teacher, and I design an application to teach Arabic, I just would like to learn how to load and unload more than one external swf files in different frames.
    Thanks

    Look into using the Loader class to load the swf files.  If you want to have it happen in different frames then you can put the code into the different frames.

  • Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes? Both my daughters have ipods, my wife has one

    Dear All
    Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes. My daughters have a different generation 'nano' each & my wife a 'shuffle'?
    Many thanks

    Click here for options.
    (69081)

  • I have more than one copy of the same song in my iTunes. Some have the icloud symbol next to them and some do not. I need to clean this up but I am afraid to delete the songs for fear I will lose them.

    I have more than one copy of the same song in my iTunes. Some have the icloud symbol next to them and some do not. I need to clean this up but I am afraid to delete the songs for fear I will lose them. Please help! On top of that my Mac keeps telling me my start up disc is full and I am deleting stuff like crazy!

    Welcome to the  Discussion Forums
    It won't be a problem if you delete your extra copies.
    I don't download very much to my tv, I do sometimes if I'm in bed but usually I do it from itunes. However if you have not fully downloaded something to the tv it is possible to start the download from itunes as well, you have likely activated 'check for downloads fin itunes in some way, could be by opening itunes, selecting 'check or downloads' from the advanced menu or that you simply have automatically check for downloads set in your prefs and it has checked coincidentally.

  • How do I view more than one image at the same time in CS6?

    How do I view more than one image at the same time in CS6?

    Hi there
    If you go to Window > Arrange you can choose from several view options. Below I have selected Two-Up Horizontal since I have two images, but you can select other options if you have more than one image.

  • Can i back up more than one iphone onto the same computer and keep data separate?

    can i back up more than one iphone to the same (pc) computer and keep the data separate?

    http://support.apple.com/kb/HT1495

  • More than one library (on the same computer) open?

    In the new iTunes 9 it is possible to access several libraries on my home network from the open iTunes window, which is really cool. I wondered if this means it may now be possible to have access to several libraries on the same computer (or connected drives) at the same time. I use 3 different libraries on my work PC and my mac at home and the process of shutting down iTunes, holding down shift/option, reopening itunes, selecting library is rather cumbersome. Having each of the libraries accessible the same way they are for other libraries on the network would be really useful.
    Is it possible?

    pajagsfan wrote:
    Can I create more than one library on the same computer?  Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her.  When I deleted my albums from her library the disappeared from mine. (I think?)
    I know it's Valentine's Day, but before you get your wife fixed up the first thing you need to do is recover the deleted albums for your own library.  See if the files are elsewhere on your hard drive, or in the Recycle Bin.  When you find them, get them back into your own library.  Now you are ready to help your wife.
    As noted above, you can have two libraries in one Windows user account via the Shift-Start approach, but if you both use your libraries regularly, that becomes annoying quickly.  It is better to set her up with her own Windows user account. She can have her own iTunes library there.
    Get a copy of your entire iTunes folder to start her off.  She can delete stuff she doesn't want without messing you up.

  • Drill down more than one characteristic at the same time.

    Hi,
    Is there any way to drill down more than one characteristic at the same time?
    When I drill down by 0cust_sales I would like to have drilled down: division/distrchan/salesorg/cust_sales without having to do that one by one.
    thank you!

    Hi,
    This cannot be done unless these characterstics are related to each other in some way as Charactertics & Display Attributes.
    The reason being when you drill down the 0cust_sales , there is no link from 0Cust_sales to the other characterstics hence there is no prompt for these characterstics to be drilled down.
    However, a smiliar thing might be acheived by adding these chareacterstics into the 0cust_sales in teh query designer by dragging n dropping them over 0cust_sales. you can try this and see if this is close to your requiremetn.
    Kind Regards,
    Tapish

  • HT1657 Can you rent more than one movie at the same time?

    Can you rent more than one movie at the same time on itunes?

    I think Justin is correct and you should have statistics in place and a reasonable partition scheme so that the optimizer selects the correct partitions rather than telling it what to do. You paid a lot for partitioning after all.
    There are some, possibly misguided, examples in the manuals showing how to create a view so you can delete from a single partition without specifying the partition criteria in the delete statement. This in effect turns partitioning back into DIY partitioning i.e. separate tables, union all and pretend its a single logical table using a view. But backwards.
    So to do what you want you just assume the partitions are separate tables, and then use union all to glue the ones you want back together.
    select * from sales partition (sales_q1_2000)
    union all
    select * from sales partition (sales_q1_2001)
    union all
    select * from sales partition (sales_q1_2003)
    union all
    select * from sales partition (sales_q1_2004);It probably goes without saying that as well as making the expensive version of partitioning behave like the free alternative, there is the possibility that it will perform like it as well.

  • URGENT: passing more than one value at the same parameter

    Hello friends at www.oracle.com,
    if I have a Forms program that sends some parameters to a Report, how can I send more than one value at the same parameter that is being sent?
    For example: the Reports parameter P_CODE should receive (from Forms) and print the values 1, 2, 3 and 4, each one in a different page. But, only 4 is being printed, and these values aren't saved at a database, so I have to pass the other three values too. How can I solve this problem?
    This is quite urgent and I need help on this.
    Best regards,
    Franklin Gongalves Jr.
    [email protected]

    Thanks to Oracle Reports Team for answering! I'm sure this will work.
    Best regards,
    Franklin Gongalves Jr.
    [email protected]
    hello,
    on the forms side, you will have to build the list for this parameter by e.g. string concat.
    on the reports side you will have to "decode" this parameter according to how you built it in forms.
    e.g. if you pass the list like this "10~20~30" you might use a where-clause in the query
    ... where instr(myCol, :myParam) >0
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

Maybe you are looking for

  • Abap query to select a line item # from bseg on basis of following pattern:

    Hello, I want to retrieve the line item # from bseg which has the following pattern, account type = S AND gl account starting from 135***** , 136***** , 137***** , 138***** , 139***** hope i am comprehendable. How do i go on writing the query, Thanks

  • Revolution drops off line every few mins

    I know it's an old phone and i'm tired of upgrading for not much better. Why does the revolution continually lose the internet connection?  Every few minutes then it reconnects. I have other phones in the house and they do not do that, so it's not my

  • Vanishing disk space 10.6.3 Server

    I have Snow Leopard Server installed on a mac mini (dual hard drives). It is configured with two partitions, one for the Operating System and one for Time Machine backups for the 7 Macs in the office. I keep losing free space on the OS partition (Tim

  • Business package for leave approval in BlackBerry

    Hello We just want to know is there any Business Package available for Leave Approval using BlackBerry Handsets.We are using SAP Netweaver 2004s having EP 7.0 and R/3 system is ECC-6. Regards Debasish

  • Merging of 8 programs into a single program - urgent

    Hi Abappers, I have a requirement like 8 programs are given to me which are existing from one server. Now, what i have to do is , i should merge all of them into  one main program in another server. This is my requirement. For that in the selection c