How to return control to parent VI

What I want to do is monitor an Abort button and when it goes true I want to stop/close the current VI and return control to the parent VI.  I tried using an Application Stop function, but this stops the entire execution and I only want to stop the current VI.
So how can I stop the current VI and turn control back to the parent VI without stopping execution?
Screenshot of the VI that dosn't work is attached. 
Thanks in advance.
Attachments:
dwell_vi.jpg ‏53 KB

Dubs,
I second Russ's thoughts that "aborting" a VI is a "bit brute force" and generally not a good programming practice.
I would suggest using while loops coupled with the Elapsed Time VI to create an interruptible wait function similar to what is in the following screenshot:
I hope this helps,
Simon H
Applications Engineer
National Instruments
Message Edited by Simon H on 11-16-2006 03:14 PM
Attachments:
interruptible wait.png ‏9 KB

Similar Messages

  • How can I control a parent container clip?

    I have a site with the usual design: main.swf with a
    container clip which loads the various swfs into it using
    MovieClipLoader.
    In one of the swfs that is loaded into the container clip, I
    have a button that, onRelease, I'd like to load another swf into
    the main container clip.
    Can I have a button address the container clip that is
    holding it's parent swf?
    Another way to put it, can I have a movieclip unload itself
    by loading another movieclip into it's own container clip?
    thanks for any insight!

    kglad, thank you very much for taking a look.
    Perhaps it would be better to view the entire site here:
    http://www.katodesignstudio.net/linda/index.html
    On the News page, I'd like to have a button that will load
    the Screening page (screening.swf) where the News page is loaded.
    At the link above, the button has been removed until I can find a
    solution but it would be located where the "see screening page for
    details" text is now.
    As you can see by going to any other page, all of the pages
    in the site load into a container clip. From what I can tell so
    far, I need the button to unload the News.swf from the container
    clip and load the Screening.swf into that same container clip,
    similar to what the top Nav menu is doing. The trick seems to be to
    get the button to unload the swf that the button is located in...
    How can this be done?
    thanks again for your help!

  • How can I control my parent's mac

    My parents live far away and they have problems quite frequently.  I'l like to be able to get control of their screen and make hte changes with them from here.

    Logmein, lets you connect to a mac from a pc, mac, ios device , or droid. They would need to go to the website, sign up for a free or payed account, and then install some software. After that, if they shared the user name and password you would be able to connect to the computer over the internet.
    To stop allowing you to connect, they would need to change the password, or remove the software.
    TeamViewer is desgined for remote support. each time you need to connect they would need to open the program and give you the one time user code it generates. you would then put that code into the program on your end, to connect and view their screen.
    Their website says it's free for private use. Their website lists support to/from mac, linux, pc, ios, droid.
    Another option is iChat. If your both using a recent vertion of the mac operting system. Through I chat you request to view or control their screen. And it has buil-in voice chat support. So you can talk to them over the computer with no addional software.
    The catch is some times the way the internet connections are configured in such a way they interfer with iChat.

  • Awesome WM: how to return focus to parent of dialog after close

    Hello all,
    I've been a happy Awesome WM user for about three weeks. But in some programs, if a dialog pops up and I click 'ok' or whatever, focus is lost on the current program and I must change to another tag and back before my key commands will be sent to the host program. Example: In Digikam, if I enter ctrl-shift-right to rotate a photo, a dialog pops up showing the status of the operation, and when the dialog is dismissed, my keystrokes are no longer sent to Digikam. If Digikam is on tag 1, I'll have to enter mod4-2 mod4-1 to make awesome start sending keystrokes back to Digikam - which takes so long it defeats the purpose of using keystrokes in Digikam.  Has anybody else had this problem with Awesome WM?  What could be going on?
    tacit

    Are you using the default rc.lua? Which version of awesome?
    If you have any experience with lua, you should look into your arrange hook, and refocus the last entry in your focus history, unless another client currently has focus. If you post some more info it should be possible to get you there...

  • How to return control to a calling jsp

    I want to know that can i include a jsp page in another and change the content of the included page whenever the user clicks on a button on the main jsp or the included jsp whatever the case maybe?? please help. thanks

    The included page can access the request object from the main page, so on click of a buttun on the main page pass a parameter and depending on this parameter u can change the display of the included page.

  • HT1420 How do I set up parental control on book downloads?  My daughter and I use the same Apple ID info.

    How do I set up parental controls on my apple account, I want to censor the books that she's dowloading. We use the same account  Thanks!

    Turning off in-app purchases and the App Store itself would be the best bet for you. You can always unlock these features as needed and lock them again.
    Apart from restricting purchases, there are a number of other restrictions you can setup. You can even setup a safe browser with remote parental controls from the App Store, like the one from Mobicip. You may find this tutorial to be helpful: How to setup Parental Controls on the iPad.
    Hope this helps.
    Disclaimer: This response is posted by a Mobicip representative who may stand to gain indirectly from it.

  • How to go back to parents taskflow without using taskflow return activity

    Hi all,
    How can i go back to parents taskflow without using taskflow return activity?
    With Regards,
    Wai Phyo

    Hi,
    when you enter a sub flow, the parent flow is put on a stack for later resume. You ecit a bounded task flow that you called using task flow call activity by exiting the task flow (return activity). There is no other option to return to the parent flow. If the bounded task flow executes as a region, then you use a parent activity to navigate the enclosing flow, or the root flow. However, regions seldom use return activities anyway.
    Hope this answers your question
    Frank

  • How to change password for parental controls

    how to change password for parental control on macbook pro

    If you can't remember your current password then you should be able to get it reset via this page : http://iforgot.apple.com
    If you know your current password then on your phone you can try tapping on your id in Settings > Store and you might be able to change it on your account's screen, or on your computer's iTunes you can log into your account via the Store > View Account menu option and change it on there

  • How a SWF Child can control a Parent's function/variable ?

    For instance, in the below code a parent can control a SWF
    child’s function “alert ()”.
    But how a SWF child can control parent’s function
    “ReceivingChildMsg()” ?

    Hi clbeech
    I simplified the code to simply get the swf child controlling
    its parent variable tp ( textfield ) and its content.
    I used your suggestion (parent.ReceivingChildMsg( ) and
    root.ReceivingChildMsg( )) but I get an error message:
    quote:
    “1061: Call to a possibly undefined method
    ReceivingChildMsg through a reference with static type
    flash.display:DisplayObjectContainer.”
    Here is the code:
    package
    import flash.display.MovieClip;
    import flash.text.*;
    import flash.events.*;
    import flash.display.SimpleButton;
    public class Child extends MovieClip
    public function Child():void
    btn.addEventListener(MouseEvent.CLICK,clickHandler);
    public function clickHandler(event:MouseEvent):void
    //root.ReceivingChildMsg( "Received Child Message");
    parent.ReceivingChildMsg( "Received Child Message");
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    package
    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.display.LoaderInfo;
    import flash.display.Sprite;
    import flash.text.*;
    import flash.display.SimpleButton;
    public class Parent extends MovieClip
    private var loader:Loader;
    public function Parent():void
    loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    onLoadComplete);
    loader.load(new URLRequest('Child.swf'));
    private function onLoadComplete(e:Event):void
    var loaderInfo:LoaderInfo = e.target as LoaderInfo;
    addChild(e.target.content);
    var swf:Object = loaderInfo.content;
    swf.x = 75;
    swf.y = 50;
    public function ReceivingChildMsg(msg:String):void
    // tp textfield object is created directly in flash
    tp.text = msg;

  • How to Direct control to application's window after closing the popup?

    Hi,
    I am using 10.1.3. In my application I am unable to direct control to application's window after closing the popup, if I open any other window at the same time.
    For more info see the below step:-
    -> Open any popup in my application.
    -> Open any new window (lets say Google.com).
    -> Now restore popup on Google window.
    -> Now close popup
              - control goes to Google window but not the parent application window.
    How to direct control to the parent window?
    Can anybody help me regarding this?
    Thanx...Abhijit

    Hi Abhijit,
    You can do this using Javascript alone. Below are the two sample files I created.
    main.html_
    <html>
    <head>
      <title>Testing popup</title>
      <script type="text/javascript">
      function openPopup() {
        window.open("popup.html");
      </script>
    </head>
    <body>
      <a hr_ef="javascript:openPopup()">Open popup</a>
      <input id="something" name="something" type="text" value="something">
    </body>
    </html>
    Note: hr_ef should be href. The code tags are messing with the link.
    popup.html_
    <html>
    <head>
      <title>This is the popup window</title>
      <script type="text/javascript">
      function goToMain() {
        window.opener.something.focus();
      </script>
    </head>
    <body onunload="goToMain()">
      This is the popup window. Close this window to return to main window.
    </body>
    </html>The idea is to call a javascript function in the popup window that tries to focus on an object (eg. InputText) in the main html.
    Although, one point to take note is the naming of html objects by by these ADF UI Components. If you named your form id as "*form1*" and input text id as "*something*", your input text id will end up as "*form1:something*".
    Therefore, you will have to tweak the code above to the following:
    <script type="text/javascript">
    function goToMain() {
      window.opener.form1['form1:something'].focus();
    </script>Regards,
    Chan Kelwin

  • How can I control the music that plays during Apple TV photo slide shows?

    I don't want to make my parents listen to Breaking Benjamin music as they watch my photo slide shows on Apple TV. Need something more sedate. But if a B.B. song is in my iTunes music library, it is a candidate for random selection as background music for my slide shows. How do I control what music plays during Apple TV photo slide shows?

    What I find is really silly, is the fact the music video's are listed under that artists albums in the Music menu. And when you go into the video 'album' (called 'Unknown' unless you change it) there is an option to shuffle the tracks. Clicking this just results in an error message. So, they should either remove that option if it is a video album, or, better yet, GET IT TO WORK. So silly of them to omit this.
    I have submitted feedback.

  • [UIX] How To: Return multiple values from a LOV

    Hi gang
    I've been receiving a number of queries via email on how to return multiple items from a LOV using UIX thanks to earlier posts of mine on OTN. I'm unfortunately aware my previous posts on this are not that clear thanks to the nature of the forums Q&A type approach. So I thought I'd write one clear post, and then direct any queries to it from now on to save me time.
    Following is my solution to this problem. Please note it's just one method of many in skinning a cat. It's my understanding via chatting to Oracle employees that LOVs are to be changed in a future release of JDeveloper to be more like Oracle Forms LOVs, so my skinning skills may be rather bloody & crude very soon (already?).
    I'll base my example on the hr schema supplied with the standard RDBMS install.
    Say we have an UIX input-form screen to modify an employees record. The employees record has a department_id field and a fk to the departments table. Our requirement is to build a LOV for the department_id field such that we can link the employees record to any department_id in the database. In turn we want the department_name shown on the employees input form, so this must be returned via the LOV too.
    To meet this requirement follow these steps:
    1) In your ADF BC model project, create 2 EOs for employees and departments.
    2) Also in your model, create 2 VOs for the same EOs.
    3) Open your employees VO and create a new attribute DepartmentName. Check “selected in query”. In expressions type “(SELECT dept.department_name FROM departments dept WHERE dept.department_id = employees.department_id)”. Check Updateable “always”.
    4) Create a new empty UIX page in your ViewController project called editEmployees.uix.
    5) From the data control palette, drag and drop EmployeesView1 as an input-form. Notice that the new field DepartmentName is also included in the input-form.
    6) As the DepartmentName will be populated either from querying existing employees records, or via the LOV, disable the field as the user should not have the ability to edit it.
    7) Select the DepartmentId field and delete it. In the UI Model window delete the DepartmentId binding.
    8) From the data controls palette, drag and drop the DepartmentId field as a messageLovInput onto your page. Note in your application navigator a new UIX page lovWindow0.uix (or similar) has been created for you.
    9) While the lovWindow0.uix is still in italics (before you save it), rename the file to departmentsLov.uix.
    10) Back in your editEmployees.uix page, your messageLovInput source will look like the following:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="${bindings.DepartmentId.path}"
        destination="lovWindow0.uix"/>Change it to be:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="DepartmentId"
        destination="departmentsLov.uix"
        partialRenderMode="multiple"
        partialTargets="_uixState DepartmentName"/>11) Also change your DepartmentName source to look like the following:
    <messageTextInput
        id=”DepartmentName”
        model="${bindings.DepartmentName}"
        columns="10"
        disabled="true"/>12) Open your departmentsLov.uix page.
    13) In the data control palette, drag and drop the DepartmentId field of the DepartmentView1 as a LovTable into the Results area on your page.
    14) Notice in the UI Model window that the 3 binding controls have been created for you, an iterator, a range and a binding for DepartmentId.
    15) Right click on the DepartmentsLovUIModel node in the UI Model window, then create binding, display, and finally attribute. The attribute binding editor will pop up. In the select-an-iterator drop down select the DepartmentsView1Iterator. Now select DepartmentName in the attribute list and then the ok button.
    16) Note in the UI Model you now have a new binding called DCDefaultControl. Select this, and in the property palette change the Id to DepartmentName.
    17) View the LOV page’s source, and change the lovUpdate event as follows:
    <event name="lovSelect">
        <compound>
            <set value="${bindings.DepartmentId.inputValue}" target="${sessionScope}" property="MyAppDepartmentId" />
            <set value="${bindings.DepartmentName.inputValue}" target="${sessionScope}" property="MyAppDepartmentName" />
        </compound>
    </event>18) Return to editEmployees.uix source, and modify the lovUpdate event to look as follows:
    <event name="lovUpdate">
        <compound>
            <set value="${sessionScope.MyAppDepartmentId}" target="${bindings.DepartmentId}" property="inputValue"/>
            <set value="${sessionScope.MyAppDepartmentName}" target="${bindings.DepartmentName}" property="inputValue"/>     
        </compound>
    </event>That’s it. Now when you select a value in your LOV, it will return 2 (multiple!) values.
    A couple things to note:
    1) In the messageLovInput id field we don’t use the “.path” notation. This is mechanism for returning 1 value from the LOV and is useless for us.
    2) Again in the messageLovInput we supply “_uixState” as an entry in the partialTargets.
    3) We are relying on partial-page-refresh functionality to update multiple items on the screen.
    I’m not going to take the time out to explain these 3 points, but it’s worthwhile you learning more about them, especially the last 2, as a separate exercise.
    One other useful thing to do is, in your messageLovInput, include as a last entry in the partialTargets list “MessageBox”. In turn locate the messageBox control on your page (if any), and supply an id=”MessageBox”. This will allow the LOV to place any errors raised in the MessageBox and show them to the user.
    I hope this works for you :)
    Cheers,
    CM.

    Thanks Chris,
    It took me some time to find the information I needed, how to use return multiple values from a LOV popup window, then I found your post and all problems were solved. Its working perfectly, well, almost perfectly.
    Im always fighting with ADF-UIX, it never does the thing that I expect it to do, I guess its because I have a hard time letting go of the total control you have as a developer and let the framework take care of a few things.
    Anyway, I'm using your example to fill 5 fields at once, one of the fields being a messageChoice (a list with countries) with a LOV to a lookup table (id , country).
    I return the countryId from the popup LOV window, that works great, but it doesn't set the correct value in my messageChoice . I think its because its using the CountryId for the listbox index.
    So how can I select the correct value inside my messageChoice? Come to think of it, I dont realy think its LOV related...
    Can someone help me out out here?
    Kind regards
    Ido

  • How can I control the zoom on my mac mouse?

    How can I control the zoom function on my mouse? In the middle of working on things my hand will rub the mouse by accident and all of a sudden the context within the screen is large. I have no idea of how to work this feature on my mouse and most times to get it to return to normal, I have to escape out of the work I am performing.

    If you are pressing the "Control" button on the Mac keyboard, scrolling up will zoom in and scrolling down will zoom out. You can disable this if it annoys you through System Preferences > Universal Access. If you are using Mountain Lion, it would be System Preferences > Accessibility.
    Uncheck the in the "Seeing" or "Zoom" section that says "Use scroll gesture with modifier keys to zoom".  It may be slightly different if you have an older OS X version. I have Mountain Lion and am going off of memory on the older versions.

  • How can i control the timings of my slideshow using iphoto on my ipad

    Q: 1 how can i control the timings of my pupil's slideshows using iPhoto on the iPad?
    Q: 2 then how can i export them?
    Q: 3 how can i combine them from 8 individual slideshows to 1 for showing to their parents at an assembly?
    many thanks in anticipation of your collective help
    brian

    Here's my take on the same thing:
    Short answer: the dpi is set when you decide what size you're printing at.
    Long Answer: Dpi means nothing in the digital world of your computer. There are no "inches" to have "dots per..." Size is measured in pixels. That's the same on your camera. It doesn't take 10 x 8 or 6 x 4 shots. It takes shots measured in megapixels. For instance 4,000 x 3,000 is a 12 megapixel camera.
    Using that example, that shot from that camera has 12 million pixels. So that's how many "Dots" there are. To decide the ratio of dots per inch, you now need to decide the "inches" part. And that's printing. Print at 10 x 8 and the dpi will be 4,000/10 or about 400 dpi. At 6 x 4 then it's 4,000/6 or 660 dpi. Work the other way: Print at 300 dpi and the resulting image will be about 13 inches on the longer side.
    So, your photo as a fixed number of pixels. Changing the dimensions of the print will vary the dpi, changing the dpi will vary the dimensions of the print.
    For more see http://www.rideau-info.com/photos/mythdpi.html
    Regards
    TD

  • How can I control the size of the af:InputText?

    Hi,
    How can I control the size of the 'af:InputText' on the UI, without using columns & rows attributes. Even though I am using width & height attributes, the changes are not getting reflected in the UI.
    Thanks,
    Rajesh.

    Hi,
    It is inside a 'af:PanelBox'. So, the parent container also determines the size of the child? Here I need a create a 'pidgin chat window' kind of an interface with a fixed size top-level container, inside which I willl put all my components. The code looks something like this:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" partialTriggers="it1">
    <af:messages id="m4"/>
    <af:form id="f1" partialTriggers="it1">
    <af:panelBox text="" id="pb1" background="dark" type="stretch"
    titleHalign="start" ramp="highlight"
    inlineStyle="width:350pt; height:500pt; margin:0.5pt; padding:0.5pt; border-width:0.5pt; "
    partialTriggers="it1">
    <af:spacer height="15pt" id="s1"/>
    <af:inputText id="ot1"
    columns="82" rows="25" wrap="hard"
    partialTriggers="it1"
    value="#{ChatClientBean.chatLog}"
    binding="#{ChatClientBean.outputChatTextBox}"
    visible="false">
    </af:inputText>
    <af:spacer height="27pt"/>
    <af:inputText id="it1" inlineStyle="width:200pt; height:100pt;"
    valueChangeListener="#{sessionScope.ChatClientBean.sendMessage}"
    autoSubmit="true" partialTriggers="it1"
    binding="#{ChatClientBean.inputChatText}"/>
    </af:panelBox>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Thanks,
    Rajesh.

Maybe you are looking for

  • Need to import whole video to put on DVD

    Everyone, I'm a newbie to iMovie08. Can you help me with this question....I have interviewed my parents in regards to their childhood memories, so as to give these interviews to my siblings for Christmas. I want to import the whole tape from the camc

  • IPhoto import: does Aperture import Original and Edited, or just Edited?

    If you edit an image in iPhoto, iPhoto creates a copy of the image and stores the original in its own folder. Further edits are on the copy. When Aperture imports from iPhoto, does it import the Original, the Edited image, or both? My hunch is it imp

  • OS X Yosemite - Ilustrator and Photoshop problems.

    I have a MacBook Pro, just over a year old. Updated to OS X Yosemite last week. Since updating Illustrator and Photoshop run much slower. Fonts don't show up in Illustrator, photoshop cursor flickers whenever I try do anything like there isn't enough

  • LR4 won't open images in CS6

    I cannot get LR4 to open images in CS6 using "Edit in". LR opens CS6 with no problem but no image appears. I have tried everything I know - uninstalled both, reinstalled both, cleared out registry, checked I have latest upgrades and both using same A

  • DVD Burner for i book G4?

    Hi, I have downloaded and edited a film on i movie, and assumed i could burn it onto a DVD. (I bought the computer for i tunes so didn't check out its other programs. Therefore i don't really know whether the computer has a DVD drive installed?) I wi