While loops inside while loops, how to stop?

Hey, I'm confused with a simpler question to multiple while loops. My goal: stop or pylone2, just jump out of the small loop and stay in the big one. and if I click on stop 3. the entire program would cease... How can I do this? The following script does not at all... Thanks in advance!

 

Yes you are completely right Mike... now, I solved the problem with another structure of the event and the Boolean variable local... Thank you very much!

Tags: NI Hardware

Similar Questions

  • How to stop the 2 parallel loops

    Hi all

    I have a vi (see attached example) that can be closed in 2 ways:

    (1) user has pressed a button 'Quit' (with a LATCH action) on the GUI.

    (2) the user tries to close the cover by pressing the Red "X" in the upper right.

    The vi contains 2 parallel loops: a main loop that contains the actual code and a 2nd loop containing a stop of vi events.

    The problem is, while the "narrow Panel?" event works very well and finished the 2 loops, isn't the event "value change.

    Then, when I press the button Exit the vi does not stop.

    Any good idea how should I apply it?

    From my experience, a ValueChange event is not raised when you write to a local variable.  I see two quick options:

    You could write the value by using the Value property node (Signaling) (which raises the ValueChange event).

    Or you could simplify things a bit and just use a local variable.  I prefer this option.  See attachment.

  • How to stop a clip of a loop at the end of my main timeline?

    I have searched and tried many suggestions and couldn't quite find a solution to my specific challenge.

    I use Adobe animate CC to produce HTML5 banner ads, no is put in place as a HTML5 Canvas document.

    My main timeline is 15 seconds long and any animation must stop at 15 seconds. While I have been using Flash for years I me as never any good at Actionscript.

    On one of my main calendar layers, I placed a short Clip (85 images) I'd like to loop until the end of the main timeline (356 frames).

    How to stop the Clip or more instances of the MC at the end of the main timeline?

    Any help is greatly appreciated. Thank you

    Apparently, some syntax was wrong.

    So on the last frame of the layer actions main adds on the scenario:

    This.instance - name-of-Movie - Clip.Stop ();

    It worked

  • How to stop an infinite loop due to a guest user placed during development without close LabView?

    How to stop an infinite loop due to a guest user placed during development without close LabView?

    Thank you!

    Hi chuck72352,

    Press on "Ctrl +." and keep pressing OK on the MsgBox. There will be a point when the program terminates.

    Mike

  • How to stop demand for files compressed in my Outlook Express? This request appears on my screen of many times while I'm working.

    How to stop demand for files compressed in my Outlook Express? This request appears on my screen of many times while I'm working, even when I go on the internet, it always appears & crashes me typing.  I have a lot of emails and I don't want to compress their files.

    original title: HOW can I STOP ASKING to COMPRESS the FILES in OUTLOOK EXPRESS

    How to stop demand for files compressed in my Outlook Express? This request appears on my screen of many times while I'm working, even when I go on the internet, it always appears & crashes me typing.  I have a lot of emails and I don't want to compress their files.

    Compress, (Compact in American English), removes waste of space, not your messages. Please read below, but if compact you and still get the prompt, after return. It is another question.

    Why OE insists on compacting folders when I close it? :
    http://www.insideoe.com/FAQs/why.htm#compact

    Compacting your folders periodically is a must to keep OE works fine and at some point, you may lose all your saved messages if you do not. When you delete or move messages, the space they used remains until you compact.

    Never touch anything until the compression is finished.* *.

    See:
    www.oehelp.com/OETips.aspx#2

    With SP2, Automatic compaction in the background has been removed because of problems he has caused. Now, you will get a prompt to compact after 100 closures of OE, you need to do, and do not touch anything until it's finished. If you compact manually, at your convenience, this will also set the counter to zero. See this for more information:
    http://www.insideoe.com/files/maintain.htm#compact

    If you are fully patched, you will now see a copy of your dbx files copied to the Recycle Bin as BAK files. If something goes wrong when compacting, the messages can be easily restored from this backup. A compact manual resets also the counter in the back of the registry to zero now.

    For more information, see the information framed in red here:
    www.oehelp.com/OETips.aspx#2

    To keep things running smooth and harden faster:

    Do not archive mail in default OE folders. It will eventually become corrupt and you may lose mail. Create your own folders defined by the user for mail storage and move your mail to them. Empty the deleted items folder regularly. Keep user created folders under 300 MB, and also empty as is possible to default folders.

    And backup often.

    Outlook Express Quick Backup (OEQB Freeware)
    http://www.oehelp.com/OEBackup/default.aspx

  • How to stop the timeline loop (where the loop is not activated)

    Hello

    How to stop the chronology of looping/jump at the beginning of the timeline automatically when the playhead reaches the end of the edition / the end of the timeline please? The loopback feature is disabled. Its really frustrating when you look at the video game back, and when it reaches the end, he always goes early in the Cup again. Any help would be greatly appreciated. Thanks Tatjana

    Thank you! I fixed it. Its automatic scrolling of the playback head.

  • How do I leave my membership? I am sent on an endless loop, trying to stop my membrrship. Help!

    I am sent on an endless loop trying to stop my subscription and or talk to customer support to stop my subscription. I do not use it. I don't want to.

    We are working on this, but there is no ETA for it right now.

    Concerning

    Stéphane

  • computer beep will sound every 3 seconds and does not stop while the computer is on... why not? How to stop it? __

    My new Dell Inspiron 1545 beeps (like a USB stick is plugged or unplugged) every 3 seconds, without judgment, without doing me anything to provoke. I turned the computer off and back on several times, but the noise persists.

    Why this is happening? How to stop (without just turning off the sound)?

    Yessim

    http://support.Dell.com/

    As this is a brand new computer, it is under warranty.

    http://support.Dell.com/support/topics/global.aspx/support/DellCare/contact_technical_support

    http://en.community.Dell.com/support-forums/default.aspx

    Dell Support Forums

    Please contact Dell at the link above.

    And the Vista Forums.

    See you soon.

    Mick Murphy - Microsoft partner

  • Loop will not stop when you press the stop button

    Hello

    I have a LabVIEW program that includes a number of loops, but one of my curls (which surrounds a series of functions "Write TDMS") has a Boolean stop that transmits a signal through two GOLD and functions in a control of the loop (see aea of interest). My problem is that when I press the button stop the loop will not stop and will continue to save and write data that I didn't need a file.

    Could someone please help with this?

    Kind regards

    Aaron Broady


  • How to stop the VI and a Sub VI together

    Hi, in my application, I have a vi with a state machine with a loop of event handler. One of the events in my loop of event handler is out who runs the State of the output of my state machine. I also have an under vi outside my statemachine.

    The problem:

    1. at the exit of pressing my Vi does not stop.

    Reason: my sub vi is still running.

    Need solution : How tp stop the two loops together using the exit button.

    StateMachine P.S:1.My is inside a while loop and while loop runs inside my sub vi also.

    2. both the loops are parallel, since I'm on queues in it.

    2. both the loops are parallel, since I'm on queues in it.

    There are many ways, depending on your architecture.

    Can pass you a message from out of your event loop to your another loop on the queue?

    Another way is to use a global Boolean variable 'Stop' and use it in your second loop exit condition. Set it in the event loop when you want to stop the program.

    The producer consumer example stops the second loop by closing the queue during the first loop stops and then to capture the error when the second loop trying to read the queue.

  • How to stop compensation labview my data output by a fixed amount of 0.125 seconds of every second iteration 1?

    How to stop compensation labview my data output by a fixed amount of 0.125 seconds of every second iteration 1? (I have my DAQ Assistant contained in a while loop so that I can control the number of iterations and therefore the time of sampling).

    My apologies for such a badly phrased statement of problem. The question I faced which was the sign that I was getting a pair of accelerometers and through an amp. in my DAQ board felt an offset in voltage for a short period every second iteration 1. It turns out that the problem is that my laptop and the AGP were grounded. Once I disconnected the signal ground in the shift of the signal amp went.

    Thank you for your messages.

    Kevin

  • How to stop the iOS Photos store photos?

    When I use the camera iOS, it duplicates this photo in the Photos app. How to stop this? (He uses memory unnecessarily.)

    In parameters, all the parameters of "Photos & camera" are turned off, as is the "iCloud:Photos".

    humanengr wrote:

    When I use the camera iOS, it duplicates this photo in the Photos app. How to stop this? (He uses memory unnecessarily.)

    In parameters, all the parameters of "Photos & camera" are turned off, as is the "iCloud:Photos".

    Your statement makes no sense to me or I am misunderstanding you. Of course, the photos are stored in the camera when taking pictures with the camera. Where you wait to store photos?

    IF you mean that you see the pictures in the thumbnail view while using the camera application, they are not duplicated in any. You just see them in the camera application, but they are stored in the photos app.

  • How to stop the music in the iOS download

    How to stop the music in the iOS download songs? I accidentally clicked (stupidly) songs to download all the purchased. It will take some time and fill out my iPhone with music. I tried restarting and that did not help. It is also a priority on updating apps from the App store. I use the latest version 9.3.2 iOS iPhone 6.

    Thank you

    I will try to put the device in Airplane Mode, then signature of the iTunes and the App Store. Then try to disable airplane Mode. While you are not connected to the iTunes Store, you should not try to download on the phone once you turn it off airplane mode.

  • HOW TO STOP A DOWNLOAD IN A TAB?

    By learning about the same product originating from different sites, say, I decide on a site before all others have finished downloading of their information. However, to make sure that I don't do not cancel / lose all sites under consideration, I wish to stop them download while I am looking at the chosen location. If the siting proved unacceptable, I can simply continue with downloads on other sites by clicking on "Reload" in each tab now, this is not possible, as I kill each tab, which means I lose this option.
    Help, please. Where am I missing it? (I just chose Mozilla and cancelled Google Chrome - I don't know you guys can help).
    Sincere greetings,
    Paul.

    If the URL in the address bar and then click on the address bar and press the Enter key or click the Go button should (re) charge this URL if a normal charging is not possible.

    How to stop other sites?

  • OfficeJet Pro 8600: How to stop a current scanning application

    While trying to scan a new document, I get an error message saying that the scanner is in use.  How to stop an open scanning application.

    Hello

    Thank you for using the HP Forums. You can try the following:

    Please download and run the HP Print and Scan Doctor (PSDR) tool to diagnose and solve your problem

    http://h20180.www2.HP.com/apps/NAV?h_pagetype=s-926&h_lang=en&h_client=s-h-E016-1&h_keyword=DG-PDU

    If this does not help, we recommend uninstalling and reinstalling the software FULL of features.

    Hope that helps.

Maybe you are looking for