Stop and go to the beginning

Hello,
I have two code. One receive and execute command (the user doesn't touch this one) where many loops are running in a big while loop.
The other write command and if I want to abort the execution I push the buttom abort.
How can I return to the beginning of the while loop (in the first code describe) wherever I am in my execution program ? What's the most elegant way to do this ?
Thanks
Paul

You shouldn't use the abort button in the normal operation of a program.  It and the run continously button should only be used for the sake of debugging.
You should set up a stop button and setup all of of your inner loops to stop running when that button goes true.  Since there are multiple loops, you will need to use local variables and set the action of the button to switch as opposed to latch.  In the last operation of the outer while loop (and you will need to use wires and dataflow to make sure it executes after the inner loops stop), write a false to a local variable of the stop button to effectively reset it and it will behave like you had it set to latched all along.  All the loops will stop, the stop button resets itself, and the next iteration of the outer while loop will take over.
Of course you will still need an overall program stop button to stop the outermost loop

Similar Messages

  • I have tried to download a movie via iTunes. Every time the download nears the end, it stops and restarts from the beginning. This has happened 5 times. Any solutions?

    I have tried to download a movie via iTunes. Every time the download nears the end, it stops and restarts from the beginning. This has happened 5 times. How can I clear the download or solve this?

    If it is a HD movie, it may not be enough. The iPad also need working space.
    Try download to iTune (computer) and "Move" to iPad.

  • Some songs starts on my iPod, then stop and start from the begining and play all the way through

    Hey,
    While listening to songs on my iPod Classic 120gb, some songs will start to play, after 2-3 seconds, stop and start again from the beginning and play through the entire song no problems. On iTunes the songs still plays fine no stopping or starting. All songs are random artists and songs.
    Help! its really frustrating!

    Hey andy8299,
    Do you have any other music software (i.e Limewire) installed? If so perhaps these files are not compatible.
    See this for compatible song formats:
    http://docs.info.apple.com/article.html?artnum=61476
    Hope this helps,
    Generik

  • After reinstalling game, the achievements from Game Center doesn't uploaded to the game and starts from the beginning . All the achievements are seen in the Game Center . How could I upload the last progress into the game?

    After reinstalling game, the achievements from Game Center doesn't uploaded to the game and starts from the beginning . All the achievements are seen in the Game Center . How could I upload the last progress into the game?

    Hello there, Elena Lyubina.
    The following Knowledge Base article offers up some great steps for troubleshooting issues with an application not functioning as expected:
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/kb/ts1702
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • HT1414 i have the 1st iPad. Can it be updated to iOS 6.0.1?  If not how to fix-when on the internet sometimes it will just stop and go to the apps screen.

    i have the 1st iPad. Can it be updated to iOS 6.0.1?  If not how to fix-when on the internet sometimes it will just stop and go to the apps screen.

    svargaswp wrote:
    i have the 1st iPad. Can it be updated to iOS 6.0.1?  ...
    No.
    iOS 5.1.1 is the lastest for the iPad 1.
    svargaswp wrote:
    ... how to fix-when on the internet sometimes it will just stop and go to the apps screen.
    Try This...
    Close All Open Apps...  Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    Note:
    Also consider Deleting any Apps you have Purchased / Downloaded but you now never use..
    If necessary...
    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414

  • My iPod is playing songs half way through and not at the beginning?

    Okay, so I will be listening to a song like "Yellow Submarine" by The Beatles and will get the urge to change the song to a different band and song half way through of listening to it. After listening to the new band and song and like a month goes by I will go back to The Beatles song and it will begin where i left off and not in the beginning like it used to. How can i fix this because it makes me mad that it starts half way through and not in the beginning?

    Hello uhmcookies,
    And welcome to Apple Discussions!
    I believe the "Remember playback position" is enabled for these songs in iTunes. This option will ensure that wherever you leave off in a song is always where it will be picked up off at. This is a nice feature for audiobook tracks, but not music.
    Anyways, you can disable it by removing the check mark next to this option from under the track's Options tab in iTunes. You can access this tab by right->clicking on the track and choosing "Get Info" from the menu.
    Hope this helps.
    B-rock

  • HT204406 hi!!!! I keep getting an "error" when trying to activate my iTunes match. I get to the 1st step, then it gets stopped, and I get the error message. HELP!!!!!!

    hi!!!! I keep getting an "error" when trying to activate my iTunes match. I get to the 1st step, then it gets stopped, and I get the error message. HELP!!!!!!

    That's definitely enough to start.
    It sure seems like it should work...and then I saw that you're using a router. It could very well be that the router is the weak link here.
    Instead connecting to your network router, try using a direct USB connection from your MBP. If that doesn't work, you read this post, which may be relevant to your problem:
    http://h30434.www3.hp.com/t5/Mac-Printing-and-Scanning/Scanning-from-Mac-10-7-fa ils-after-all-recommendations-Not-ready/td-p/1287003
    It seems you're up to date with software. Post with your results.

  • TS1702 I renteda movie (the last song) after 13 minutes it stopped and I recieved the following message "AN UNKNOWN ERROR OCCURRED (-50)". What can I do?

    I rented a movie (The last song) after 13 minutes it stopped and I recieved the following message "AN UNKNOWN ERROR OCURRED (-50)" .
    What can I do in this case?

    Perhaps try the "Error -50," "-5000," "8003," "8008," or "-42023" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
    iTunes: Advanced iTunes Store troubleshooting

  • HT2729 I bought a TV episode from iTunes (I have version 10 installed), but when I try to play it on my laptop, it keeps stopping and starting, with the voices out of sync with the action.  The action is stop/start as well.  What settings can I change to

    I bought a TV episode from iTunes (I have version 10 installed), but when I try to play it on my laptop, it keeps stopping and starting, with the voices out of sync with the action.  The action is stop/start as well., and occasionally it skips 5 or 10 seconds altogether, making it impossible to watch.  What settings can I change to fix the problem.

    Repair your QuickTime.
    Control Panel > Programs n Features > highlight QuickTime and click CHANGE then REPAIR.

  • I have a problem with my mac  i have too many  archives and programs and i want to delete all files and start at the begin my mac with out do format

    i have a problem with my mac  i have too many  archives and programs and i want to delete all files and start at the begin my mac with out do format

    I do not recommend reformatting your harddrive and reloading your software.  This is a Windows thing. On an older mac it may be difficult to find all your software again.
    Best to have greater than 2gig of free space.  Many posters to these forums state that you need much more free space: 5 gig to 10 gig or 10 percent of you hd size.
    (0)
    Be careful when deleting files. A lot of people have trashed their system when deleting things. Place things in trash. Reboot & run your applications. Empty trash.
    Go after large files that you have created & know what they are.  Do not delete small files that are in a folder you do not know what the folder is for. Anything that is less than a megabyte is a small file these days.
    (1)
    Run
    OmniDiskSweeper
    "The simple, fast way to save disk space"
    OmniDiskSweeper is now free!
    http://www.omnigroup.com/applications/omnidisksweeper/download/
    This will give you a list of files and folders sorted by size. Go after things you know that are big.
    (2)
    These pages have some hints on freeing up space:
    http://thexlab.com/faqs/freeingspace.html
    http://www.macmaps.com/diskfull.html
    (3)
    Buy an external firewire harddrive.
    For a PPC computer, I recommend a firewire drive.
    Has everything interface:
    FireWire 800/400 + USB2, + eSATA 'Quad Interface'
    save a little money interface:
    FireWire 400 + USB 2.0
    This web page lists both external harddrive types. You may need to scroll to the right to see both.
    http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATA_FW800_FW400_USB
    (4)
    Buy a flash card.

  • The install wizard stops and "rolls Back" the install and just gives the attached notice of the install error...how can this be corrected?

    The install wizard stops and "rolls Back" the install and just gives the attached notice of the install error...how can this be corrected?
    The notice is inserted first and the stopping point is second.

    Da ich gar kein Englisch kann kann ich auch nicht sagen was sie mir
    geschrieben haben ich kann nur Vermuten was das sein soll es tut mir leid
    aber ich kann ihnen keine Konkreter Antwort geben alle Sprechen Englisch
    nur ich nicht mehr kann ich dazu nicht sagen
    Constantin Preda
    2015-02-12 21:45 GMT+01:00 Claudio González <[email protected]>:
        The install wizard stops and "rolls Back" the install and just gives
    the attached notice of the install error...how can this be corrected?
    created by Claudio González
    <https://forums.adobe.com/people/Claudio+Gonz%C3%A1lez> in Adobe Reader
    - View the full discussion
    <https://forums.adobe.com/message/7189357#7189357>

  • All apps stop and return to the main screen

    All apps stop and return to the main screen

    If you are saying that your 3rd party apps aren't working try downloading any free app.

  • TS1362 I have downloaded the song "Bruises" by Band of Skulls and it plays to about 1.20 remaining and then just stops and goes to the next song. How do you fix this?

    I have downloaded the song "Bruises" by Band of Skulls and it plays to about 1.20 remaining and then just stops and goes to the next song. How do you fix this?

    I removed the song from the itunes library and then added it again, but the same issue still exists.
    I'd report the problem to the iTunes Store, then.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.

  • My iPhone 5 was restored to factory settings in error . I discovered that i cloud wasn't turned on and iTunes seems to have stopped backing up since the beginning of February.  Is there any way to restore the data. Any restoration programs?

    When I intially synced to Itunes I got an error message -50.  Many of my apps were lost also as well as a month's data. I upgraded my software to 7.0.6 and tried again.  The apps returned but the data is still missing.  I see that there are many data restoration programmes out there but do they work and which is the best?
    I'd appreciate any help.

    Restoring an iPad from an iTunes-generated backup should not require an Apple ID password.
    Did you encrypt the iPad backup? If so, then trying to restore will require entering the encryption password.

  • HT202159 How to resume interrupted downloads when it stops and starts during the download process?

    I have a 2011 25inch iMac desktop and it when I download a game app from the App store, it keeps on stoping and starting at certian points (these are random and do not stop in the same spot if I restart the download) Ive only gotten as far as 6.22GB out of 8:55GB before the download progress stops and goes back to the begining all by itself. I have plenty of space on my hard drive to install it so why is it constently doing this. Its taken me a week and a half to get to about 6.22GB and its still not letting me finished the instalation. Also why is the Calulating times keeps going up and down some times it says like 1 hour and 55 minutes when its progressing but then when it stops it goes all the way up to like 15 days, 14 hours and 60 minutes until it starts up again and then it goes back down to 1 hour and 54 minutes when it starts up the instalation progress again. The Game app is Trainz Railroad Simulator 2.

    Hi Mattew ..
    Disable anti virus softwrare if installed
    Make sure the firewall is turned off in System Preferences > Security & Privacy > Firewall
    Make sure Gatekeeper is enabled
    Open System Preferences > Security & Privacy then select the General tab.
    Make sure either Mac App Store or Mac App Store and identified developers is selected. If that area is grayed out, click the padlock icon to proceed.
    OS X: About Gatekeeper
    If nothing above helped, try contacting the Trainz Railroad Sim 2 app developer >  Trainz Portal - Powered by Kayako Fusion Help Desk Software
    If you do not hear back within three business days, contact Apple > Apple - Mac App Store - Contact Support

Maybe you are looking for

  • New properties not reflecting in ACC

    Hi, I am new to ATG.I was trying to add some properties in ACC. So, that i have added the item-descriptor in userprofiling.xml and created the related tables in oracle database.I have created 5 tables.Among them one was previously present in the data

  • How I can set ORG_ID context (for Oracle Apps Views) in ODI designer tool?

    Hi All, I want to get data from apps views (like OE_ORDER_HEADER_V) into our data warehouse detination table using 'Oracle Data Integrator' tool. The issue is that when I reverse Oracle Table or Synonym directly, everything works fine i.e. after 'Int

  • Retreiving data corresponding to dropdown list.

    hii all, i want to know that if i have to make one application where there is a dropdown list with several parameters and if i select one parameter and retrieve the data corresponding to that parameter, then i select second parameter and retreive the

  • Technical system definitions on multiple SLD servers in a SAP landscape

    Hi, If we want to migrate an SAP SLD server from Solution manager application to ECC application(s). In this process solution manager's SLD server data will be migrated into multiple servers at ECC environment(say for example, we define one SLD serve

  • Can I manage my calendar from my computer?

    I have recently switched from a palm PDA, which I could manage my contacts, calendar etc. on my desktop software.  Is this available with the Blackberry, or do I have to do everything from my handheld? Solved! Go to Solution.