What is the best way to give a user the ability to stop a vi or rerun it? I wrote something that works, but I imagine that this is not the best way to do it.

I have a VI that executes a stepper motor, and then stops. I wanted the operator to have the option to re-run the VI or causes the complete stop. To do this, I added a while loop around the whole VI. I have an example VI showing how I made it, but I don't know that there is a more effective approach. Any suggestions?

Thank you.

There is almost never a good reason to use the stop signal stop execution.

Your loop is fine.  What you really want to do, is make a machine to States which has at least 2 States. 1. perform the test.  2 inactive, waiting for the user to hit a button to re-run, or hit a button to end program.

Tags: NI Software

Similar Questions

  • Mr President, when I do some changes on a page of its buttons on the right side convert (> >) sings two more. What is that this does not happen and the buttons are always visible?

    Mr President.

    When I convert a few changes on a page of its buttons on the right side of the page (> >) sings two more.

    What is that this does not happen and the buttons are always visible?

    Concerning

    Did you try what I suggested?

    listed AFStretchWidth styleclass property of panelGroupLayout and remove the box toolbar tools just use inside grouplayout

    If this does not work please share your xml source

    Thank you

  • When you say to put in the folder it comes, he used to do, now it seems that put it in the last folder you used, I can't remember what it is that this is not possible it just?

    When I export images I check it so that the pictures in the folder just, but there is no more, it puts the photos exported in the last folder I exported photos in and if you can tell me what this was I would really appreciate it.

    I put it again and again, but it is still never done.  I'm obviously missing something.  I have the same problem with Photoshop.

    leannewhatever wrote:

    I tried what you suggested, but it did not work.

    What does your test? LR uses the preferences of the previous version file when you perform an upgrade of LR (Lr 4 to 5, LR 5 to 6, etc.). In the process of 'conversion' of the old preferences file, it can be damaged. We had many reports with many different "unexplained" symptoms after an upgrade like this. Reset the LR Preferences file solves many of these issues.

    Make sure you have "Add to catalogue" checked. If this is not the case, the exported files will not be imported into LR. You will need to right click on the folder that contains the original files and choose "Synchronize folders," which will import the exported files. Even if you have "Add to catalogue" verified that I suggest you that you synchronize the folder with the original files to see if it makes them appear.

  • my audio works but often there is this occurrence of annoying noise as if it is the jump (brunkbrunk) I play when the audio or video function

    but whenever I check the speakers he always says that this device does not work correctly

    Hi EdgarMoralde,

    1. what program are you using to play audio and video files?

    2 have you read the audio data before without any problem?

    3. did you of recent changes on the system?

    You can try to disable the improvements audio speaker and see if it helps.

    How can I stop my music skip or break down when I play?

    Hope this information is useful.

  • Vista Dialer won't give any area code. give just 1 5 then the number he dialed then then the computer voice said something that you do not diled enough numvers.

    In the Dialer phone vista when I automatically dial a number it does not cross the area code. There always inters 1 5 instead of the area code. To illustrate, if I inter 503-555-4563 it will be inter 1 5 555 - 4563. I get a dial tone, and then he composed and rings and him comuter pnone says you have dialed an incorect number. What can I do to fix this?

    Hello Nelg76,

    Have you set up dialing rules Dialer?
    In the search box, type Dialer. Then go to tools, dialing properties, select modify and change the dialing area code rules.

    Let us know if that helps.

    Marilyn

  • During the Extended Support Release (ESR) - Flash Player 13.0.0.292 the most recent installation, I get the message that this is not the latest version and cannot continue with the installation. What's wrong?

    When you run the file install_flash_player_13_active_x.exe I get ( on multiple computers, German () translated with Google Translate) error message:

    " Error during installation: you are trying to install version of Adobe Flash Player which is not the latest version. Visit to get the latest news et safer version of le Download the player Center. "

    Why these " " "" bad " error message on several computers? Why is the installation on other computers without any problem?

    in German:

    Beim Installieren der aktuellsten Extended Support Release (ESR) - Flash Player 13.0.0.292 die erhalte ich message, dies sei nicht die aktuellste Version und kann die Installation nicht energy. At ist please?

    Beim implement der Datei install_flash_player_13_active_x.exe erhalte ich auf vielen computers die deutsche (ubersetzt mit Google Translate) Fehlermeldung:

    «Fehler bei der Installation: Sie try, eine Version von Adobe Flash Player zu installieren, die nicht die aktuellste Version ist.» Visit Sie das Player Download Center, um die newest und sicherste Version zu receive. »

    Warum erhalte ich sharp "wrong" Fehlermeldung auf vielen computer? Und warum die Installation auf other computers without problem works?

    20150615-142120.jpg

    20150615-144502.jpg

    Post edited by: Testilie Bzam

    Hi bzam,

    You will need to run the uninstaller (Uninstall Flash Player |) Windows) first, then the construction ESR will install.

    --

    Maria

  • If I have the reader downloaded on my computer, but a site Web tells me that this is not what I can do?

    I drive successfully on my computer and continue to spread this message.

    Looks like you are using Firefox?

    If so, take a look at this: plugin use of the Adobe Reader software to view or download PDF files | Firefox help

  • I down loaded ITunes and when I try to open the implementation the file I get a message that says that this is not a valid win32 application. When I try to run it, I can't. Help, please.

    I have Windows XP and I can't open the ITunes file. He says that's not a valid win32 application. What can I do? Please help me soon. Thank you very much

    Something apparently went wrong during the download.  Delete the file and download iTunes again.

  • I need to backup C:\Windows\security\database\tmp.edb? What is it? I see many people excluding .edb files but how do they know that this is not important?

    This file seems to be the most mysterious file on the internet. No information what so ever about this. Could someone explain what it is, whether or not I should include in my backups? Any information would be appreciated!

    Hello

    Here are some temporary database files.

    You will need to decide which files need to be stored according to your requirement

  • My USB ports and MIC do not work. I hope that this is not the motherboard. Someone knows how to fix this?

    Initially, it was a port that would not work. Before the USB ports out I did pay my phone with the USB cable. Before that my microphone stopped working. Deactivation and activation of the ports as well as uninstall then re install the USB readers and I tried a system restore. I also tried to take the battery for an hour or two and restart the PC. None of this has worked. Today, I heard some hope of my computer... I heard the sound of him recognize a dongle that is plugged. This sound is produced after starting my PC. I have not heard in a while and still haven't when I unplug and plug back in to the dongles. My computer (a laptop) like also to restart auto sometimes when I close the lid and open it, the screen does not light and it will be off and try to restart itself but the screen never lights up and he'll stop and try several times to start. In this case I have to hold the power button down to turn off completely and take the battery out and put it back in, then turn it on. I feel that it's a hardware problem but I'm not that great with computers and I don't want to give up yet on this computer. It cost me a pretty penny and I am a broke student.

    If anyone had the same types of problems and has a solution I'm willing to try anything.
    Thanks in advance
    -Mike

    Hi Mike,.

    You can consult the following wire link and check if it helps.

    Tips for solving problems of USB devices

    It seems that you have to re - enable ports in the BIOS (Basic input/output system) settings.

    NOTE: Change (CMOS) BIOS/complementary metal oxide semiconductor settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk. Be sure to observe the manufacturer's instructions or contact the manufacturer for the same thing.

    You can consult the following thread link and check.

    USB ports, CD/DVD player, and Mike just does not work

  • When I type anything in the search it shows I'm GOING to now instead of my location in CA. How can I change this back? I'm on Mac. hoping that this is not not a malware problem

    ex: trader joes search
    will show in Reston VA, etc.
    instead of trader joes in my situation THE CA

    Clear the cache and delete cookies only from Web sites that cause problems.

    "Clear the Cache":

    • Firefox > Preferences > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox > Preferences > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".
  • My windows vista ulitmate says that this is not activated and gives me error # 0 x 80070424 "specified service does not exist as an installed service '?

    I got this upgrade for the last two or three years.  Why is this happening? How can I solve this?

    As to why this is happening - you certainly used a (WiseFixer or CSA?) registry cleaner.

    I suggest you use any possibility of CANCELLATION to return to a State where the system works, then uninstall it and vow never to reuse such a thing. They are ALL dangerous.

    If the Cancel option is not available, try a system restore - if vacuuming has not broken also SR service.

  • What to do to ensure that this does not happen with markers with letters?

    1. Lorem ipsum dolor sit amet, adipiscing eli computer?

    (a) Mauris non augue

    (b) Curabitur magna

    (c) Curabitur fringilla


    (2) Donec aliquet purus eget eros so semper?

    (d) Sed dapibus molestie

    (e) whole laoreet dictum

    (f) eros Mauris leo

    Yes. But I solved the problem:

    Place the cursor in front of the milestone "d"), right-click on it, "restart numbering.

  • What is the best way to have multiple languages in file an Illustrator?

    First of all, I'm quite new to Illustrator.

    I have a project where I need to display accurate translations of the different phrases in several languages. I'm unable to get all languages, that I need to display accurately and I would also need to share this project with my superiors so that they can see. I came across ScribeDoor that would be perfect, but it does support all the languages that I need.

    List of languages required: English, Dutch, Swedish, Russian, French, Finnish, Italian, German, Greek, Portuguese, Korean and Hebrew

    I think I just need to install fonts that support this language, but I can use the same font with different languages on the same project? And even then there at - it a plugin or something that I'm not aware of that will translate it accurately for me or I have to go to an outside source to confirm that?

    I use Adobe Illustrator CC 2015 on a MAC under OS X El Capitan 10.11.4

    It would be ideal if it was easily transferable to After Effect, as is the next step in the process.

    With your version, none of these languages should be a problem.

    Formatting Asian characters in Illustrator

    Type of Arabic and Hebrew in Illustrator

    Your system also has fonts installed for all of them.

    If you want Latin, Asian, Hebrew and Cyrillic type to watch the same thing that you probably need to search commercial fonts that have been designed this way.

    Maybe (small chance) SIL.org has fonts with this wide range of characters.

  • What is the 'best' way to copy a useful project again, so it can be changed without affecting the original?

    I'm pretty much a newbie to LavVIEW.

    I use LabVIEW complete edition on Windows 7 2012.  I copied a project using Save As duplicate in the Project Explorer.  He created an excessively long and complex directory structure.  He made "too long" (probably from the path being too long).

    The intention was to obtain a copy of the project can be used to freely modify it without damaging the original.

    I searched the Forum and knowledge base, do not see anything definitive.  I guess that information is already posted, but just, I have not been able to find.  A point in the right direction would be appreciated.

    Thank you

    Mark

    Copy the directory of the whole project to a new location

    Delete the files .lvlps, .lvprog and the new .aliases copy

    Start LabView and create a new empty project

    In the project manager, add a new auto fill directory select the new copy of the project directory

    Save the new project in the new project directory

    Only caveat is that this does not all dependencies in your user.lib or inst.lib for the first time, you open a vi that you might find some of the dependencies that are not in the default locations.

Maybe you are looking for