How to call sub VI and close the main VI in while loop and sequence condition

Hiya,
I have a problem with the while loop and the sequential condition in placed together i.e while loop as Global and sequential condition as local (i.e inside the Global loop). For example,when calling the sub vi from the main vi (main vi as main menu and sub vi as sub menu.)My problem is I can't run my sub menu when the particular icon is pressed through the main menu and only the front panel appears. My concerned was if possible the sub menu is activated in few second then jump back to the main menu again (analyze through the diagram).So, I don't know what should I need to do. If possible, please advice me how to encountered that particular problem.
Thanks!

Go to your block diagram of your main menu, then click on the "Hightlight Execution" it is something like a bulb. then you execute your vi. then LV will show you all your data flow.
When you feel sad, laugh

Similar Messages

  • How to close the main window  from Popup

    hello all,
    i need to close the main window from a popup, so i create a popup and after clicking on close button of this popup, should also the main window be closed.
    how can do this please?
    BR

    Hi
    Please go through this.. check thomas reply
    Re: Close Main Window directly on action on Pop up window
    also check this..
    how to close main window on click of a button on popup window
    cheers,
    Kris.
    Edited by: kissnas on May 12, 2011 5:06 PM

  • How to call sub-vis with a click of a button?

    Is there any block that functions llike "System Exec" ?
    "System Exec" calls only .exe file.
    I need a block that can call a Sub-VI.
    TQ

    Here is a way to do it with the example I first showed.  I don't know why you could not get it to work, it does.  I changed your diaglog vi to have a stop button to close its window.  Closing the subvi does NOT close the main.
    Message Edited by tbob on 05-18-2010 04:46 PM
    - tbob
    Inventor of the WORM Global
    Attachments:
    dialog[1].vi ‏7 KB
    Program3[1].vi ‏9 KB

  • I have been sampling new imported drum loops. And if I adjust region to song or time strecth it updates the audio file in the library. How to stop this? I lost the original setting to one loop. automatically doing it ??

    I have been sampling new imported drum loops. And if I adjust region to song or time strecth it updates the audio file in the library. How to stop this? I lost the original setting to one loop. automatically doing it ??

    This "original file cannot be found" thing happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • How to call html page with in the flash

    I am new to action script, can some one guide me how to call html page with in the flash. lets say i have movie clip having instance name as "news_feed", I need to disply the html page in this news_feed. kindly help me, thanks alot

    some one tell me, weather it is possible or not ??

  • How do you call a java class from the main method in another class?

    Hi all,
    How do you call a java class from the main() method in another class? Assuming the two class are in the same package.
    Thanks
    SI
    Edited by: okun on May 16, 2010 8:40 PM
    Edited by: okun on May 16, 2010 8:41 PM
    Edited by: okun on May 16, 2010 8:47 PM

    georgemc wrote:
    To answer your impending question, either the method you're calling has to be static, or you need an instance of that other class to invoke it against. Prefer the latterAnd to your impending question after that: no, don't use the Singleton pattern.

  • How to call or open without specifying the full path?

    hi all,
    how to call or open without specifying the full path?
    for example the following code of a when_button_pressed trigger.
    call_form('c:\test\student.fmx',hide,do_replace);
    open_form('c:\test\student.fmx');
    i want to specify only the form name.
    call_form('student.fmx');
    open_form('student.fmx');
    i m using developer 2000.
    regard
    Muhammad Nadeem
    [email protected]

    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\FORMS60_PATH=c:\test\;c:\orant\bin;...

  • Urgent : how to calculate sub total and grand total in smart forms

    Hi Friens..how to calculate sub total and grand total in smart forms..How to print them in smart forms...Also kindly explain how to handle events in smart forms..Thanks in advance

    Re: Subtotal with Table Node in smartforms

  • How do I duplicate an image on the main screen so that I can edit it and compare the result with the original?

    In Elements 12 How do I duplicate an image on the main screen (as well as the photo bin) so that i can compare any editing with the original?

    In full Editor, go to Edit>Preferences>General and check "Allow Floating Documents in Full Edit Mode"
    Open the image so that you see it in the project bin
    Right click the image thumbnail in the project bin, and duplicate. It will come in as xxxcopy
    On the Arrange icon at the top, select 2-up. You should see the original and the duplicate in the work area

  • My screen on the touch is frozen. the screen shows a usb cable and the itunes logo above it. How can I get it back to the main screen?

    My screen on the touch is frozen. the screen shows a usb cable and the itunes logo above it. How can I get it back to the main screen

    The screen is telling you to connect the iPod to a computer with iTunes via the USB cable.  iTunes should open and give you instructions.  If not, open iTunes and retore the iPod via iTunes.

  • How to call a j-frame from a main frame

    I use both NetBean 5.5 and Forte for Java4
    i would like to know how to call a j-frame from a main jframe window when a button is clicked after
    action performed or moused clicked is set
    i.e Main jframe (window) has a button ---> (grades) click it
    should open the sub-jframe named grades with all the grades showin in that frame
    your help please thanks

    It sounds as if you want the button to open a dialog that displays your data such as a JOptionPane and not a JFrame.

  • How to print out multilingual reports from the main report using Xliff temp

    Hi all,
    How to print out multilingual reports from the main report using Xliff temp?
    When I want main report call subtemplate and finish xliff tranlation
    <?for-each@section:INVOICE?><?end for-each?>
    <?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
    <?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
    Prints out fine with Finnish translation
    But if I want in main program to check what language is used e.g.
    if trx_number = 142 call Finnish translation and if trx_number =144,
    call English translation.
    <?for-each@section:INVOICE?><?end for-each?>
    <?if:TRX_NUMBER=’142’?>
    <?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
    <?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
    <?end if?>
    <?if: TRX_NUMBER=’144’?>
    <?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.US/?>
    <?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
    <?end if?>
    Prints out always in English and never the Finnish translation.
    Program goes fine to if branch but does not print out Finnish
    Does anybody know what could be wrong?
    BR
    Kari

    Thanks Amit,
    I have two layout, main-layout and sub-layout
    Main layout call subtemplate
    I have registered layout and xliff-file
    Main template
    Localized Templates
    File Name           Language Territory
    XXNS_INVOICE_MAIN.rtf      English
    SUB template
    Localized Templates
    File Name           Language Territory
    XXNS_INVOICE_SUB.rtf      English
    Translatable Template
    File Name           Language      Territory
    XXNS_INVOICE_SUB.rtf      English      United States
    Available Translations
    Language Territory Progress
    English Finland Complete
    If main report call subtemplate and finish xliff tranlation
    <?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
    Prints out fine with Finnish translation
    But if I want in main program to check what language is used e.g.
    if....
    <?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
    .....end if;
    if....
    <?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.US/?>
    .....end if;
    Prints out always in English and never the Finnish translation.
    Program goes fine to if branch but does not print out Finnish
    Do you it's set up problem or program problem
    BR
    Kari

  • Problem in Calling Sub VI remotely from a main VI in a Web Browser.

    Hi i am Calling Sub VI remotely from a main VI in a Web Browser.
    My task details:
              I my project i am fechting data from a MySQL data base and storing in a table on the main VI front panel.For User help i am calling a sub VI front panel which is consisting of a progress bar and percentage indicator.It indicates the user that the data is loading from the DB.The main purpus of a subVI is to make the GUI more user friendly..by displaying the SubVI front panel until whole data is loaded into the table and closing Immediately after load complete.
    What i did? 
            To call a SUB VI i just right clicked on the subVI icon on the main VI >> SubVI node setup>> Show front panel when called.
            In main VI Execution property i have seected Preallocated clone reentrant execution
            In Sub VI Execution property i have seected Non- reentrant execution.
            If i select Preallocated clone reentrant execution in Sub VI while calling sub VI i am getting warning message saying subVI front panel cannot be controlled remotely.
    Promblem I am facing:
    It is working perfect in a server machine(as a stand alone) but when i call the same VI or application in remote system i abserved two issues
    1.  When i call a sub VI every time the front panel is coming in both server and client machine.I want the subVI panel to display only in the client machine, other wise the user sitting in front of the server will be confused by seeing many popups(SubVIs) in his system.
    2. When one client is calling a SubVI, the other user should wait until the the sub vi displayed and closed in the 1st client.Means the simultaniously more than one client cant access the SubVI.In this case i can access the main VI simultaniously but not the SubVI.
    Please give me the solution.It wil be very helpful for me.Thank You in advance.
    Thanks & Regards
    Gundappa

    I did some prijects with Siebel, but we used JMS for sending and retrieving message between Siebel and BPEL. Can you use this solution? This also gives you the advantage that you can guarantee that the transactionis committed and placed in a queue. You can also bring down the BPEL environment without interfering the Siebel environment, because the communication is done via JMS (queueus)

  • How do I set a variable on the main timeline from within a symbol?

    Just getting started with Animate and coming to it from Flash, as may be apparent from my question. How do you set a variable to the main timeline from within a symbol?
    I have 24 pairs of clickable elements, each in their own symbols, and all 24 of those symbols sit inside another symbol. I want all 24 to be able to set the same global variable when clicked. I can't find that this question is addressed anywhere, which makes me think I may be stuck in a Flash mindset and approaching the task in the wrong way. (There are however MANY discussions of how to address objects at different levels in the hierarchy. That's well covered.)
    Relatedly, how do you access a function on the main timeline from within a symbol?
    Adobe should consider putting together a support page (or pages) just for folks migrating form Flash. In the materials I've encountered so far there seems to be a studied effort to refrain from mentioning Flash in any way. I imagine there are a lot of people out there like me who have a deep background in Flash coding, but are just getting started with Animate. We don't need help with most of the basic concepts, but we may still have some pretty basic questions about how to accomplish some things in Animate because our Flash knowledge is getting in the way.

    Hi Bill,
    There are plenty of threads on here about scope, but here's one way to create a global variable:
    // code on Stage.compositionReady
    sym.myGlobalVar = 1;
    Then, anywhere in your project, you can check/set that var like so:
    sym.getComposition().getStage().myGlobalVar = 2;
    And here's one way to create a global function:
    // code on Stage.compositionReady
    sym.myGlobalFunction = function(){
              console.log('myGlobalFunction');
    Then, anywhere in your project, you can call that function like so:
    sym.getComposition().getStage().myGlobalFunction();

  • How to separate an accessory toolbox from the main (default) toolbox?

    Hi,
    I accidently snapped a toolbox (containing the Transform, Align and Pathfinder tools) to the main (default) toolbox on the left of the window. Now I can't unsnapp it.
    If I close the toolbox (by clicking the "x"), it also closes the main toolbox... It seems Illustrator just considers it is part of the main toolbox.
    If I uncheck the "Tools" in the "Window" menu, only the default toolbox disapears (which is promising!), but if I close it and re-check the Tools, both toolboxes are still displayed.
    Any idea of how I can separate the two toolboxes? It's not urgent, but it blocks my view and it is getting annoying... Thanks in advance!

    Click into the header bar (either the dark grey for one whole set of panels or just the light grey tab for one panel) and drag it out of the group

Maybe you are looking for

  • Add An Enter Button To a Preloader

    On my site I have 2 scenes and I'd like to add an 'Enter' button for moving from the preloader to the main site. How would I do that in this code? stop(); preloader._width = 0; preloader._visible = preloader_bg._visible = true; preloader.onEnterFrame

  • HT4718 How come I can't download anything from mac app store?

    How come I can't download anything from mac app store? I've tried everything it all started when my apple app store icon in the doc disappeared. It will not go to the Mac App Store I have a MacBook Pro 2010 intel os mac mountain lion 10.8.6 however I

  • XI mail adapter - File name should be same in attachment

    Hi all, Here is our scenario: First part of our scenario involves picking *.pgp (e.g. addressB.pgp) file from partner FTP server and after decrypting put it on local Unix path - This part works ok In second part, we send this file by mail to static m

  • N97 Transfered Photos Not Appearing

    I was hoping someone could help me please. I've transfered a load of music to my 97 with no problems. I've transfered a few pictures too to the same folder as the captured photos on the mass media of the phone but none of these are showing up in the

  • Trying to recover songs..need some help

    I reinstalled Mac OS X and so my iTunes 7 was reinstalled and all my music is gone. I plugged in my iPod Nano (remastered, which requires iTunes7), so I plugged it in and iTunes 7 appeared. On iTunes 7, it didn't show the songs I have on my iPod, but