Waiting to press the button freezes the program

Hello!

My problem is that in my example VI is waiting for the button to be pressed and then press again, but after the first press, the program gets into an infinite loop, or something like that, but I don't really understand why:-before ask you why did I need this, in my initial program a string should be changed if after you press a button "change" the program must wait for a button press 'ok' to accept the changes. The important thing that if she is not in mode the button 'OK' edition has a different function.

Thx for the help ^^

You missed the event-driven programming in LV basics I suggest you read the warnings of the structure of the LV event.

The most important rules that you missed:

-Never attach more than one structure of the event in your application to a single event

-Put graphic objects that are a source of events in their case of appropriate event

hope this helps,

Norbert

Tags: NI Software

Similar Questions

  • Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Here

  • I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why.

    I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why / tell us step by step what we should do?

    OK, I re-read your question. It's actually expected behavior. The user must manually send the email.

    If you want it to be a silent process, then you must either install a script on the local computer of the user who will do this, or use any email but something as a service web to which you directly submit the form data.

  • How can I disable the mail when I turn on the program. I can't wait until I click on the get email button until it introduces mail

    I don't want the program to bring on my mail until I click on the button get by e-mail. I watch my mail on my providers site and remove the item I want to watch before moving to Thunderbird to read actually. And I don't want to receive any mail that might come to me, until I can determine if I want to read first.

    Disable the "check for new messages at startup' in your account settings.

  • App freezes all by pressing the tabs button recently...

    Hi all / Support Team.

    I am facing freezing problem with apps for 2 to 4 seconds. What happens when for example I open the mail and then app to close, press the recent tab... the app shrinks slowly for 2 seconds and then comes to his original and then I slide to close the App, in this period the phone too freezes for 2 to 4 seconds... his past more often......

    I have cleared the cache, reset the device 4 to 5 times... but no luck... same problem...

    Finally then to the center of service... they to flashed and reinstalled the A 6 M again... but then also the same question that I showed here again after you have reinstalled... Now the service center guys say it's a problem with the touch screen... and I can't believe... they also say keeping the device 15 days...

    I can't do... my two sim are actively used as... Please is - can anyone help / support me as to what needs to be done...

    Thanking you in advance...

    Please ignore typo...

    Kind regards

    Vinod Dubey

    If you restart in safe mode does exist it problem? If you reset and do NOT install applications, do NOT restore all apps, message just someone; is it?

  • I hit a button on the accident and lost my bar with my open projects and the bar to maximize reduce it and close the program, I don't know what buttons to press to get back them

    Just like the post said.  I accidentally fat fingers and when I did I lost my navigation bar that has my open projects and the outline view bar that allows you to minimize, maximize, and close Adobe.  Any help yall could give would be great.

    Press the F button to change the workspace or the Tab key to leave the rear panels.

  • My NEX - L 6 freezes after I turn it on, then press the film. Need to remove the battery.

    I have the NEX-6 with a 16-50 lens and it freezes when I turn it on then press the movie button. If I wait longer before pressing the button, it seems to be OK, but if not, the goal remains unretracted and start and stop again does not help. I have to remove the battery and restart the device. It took me a while to understand why it was freezing upwards, and there is at least one situation where I seen it happen on a regular basis. Does anyone else have this problem? I hope an update of the firmware wouldn't be now, but have not seen.

    No when I turn it on, it gets stuck, like a windows pc stuck with the sandclock or the circle around truning

    Its either a bug software or a problem with the 18-200mm lens, it doen ot havppen with the 16-50mm lens.

    Also, sometimes he will, but refuses to focus, as the engine focum does not report you to turn.

  • How can I increment/decrement a value every time you press a button on the controller

    I'm in train to find a way to increment or decrement a value every time you press a button on the controller (Boolean).

    The function in the tutorial, I found is the value go up by huge amountswhile, the button is pressed, what I need is a way to have the value go up by units whenever you press the x key.

    I would use a timer, but sometimes, the button can be pressed quickly, or may be required.

    in standard programming, I would have the system to wait for the button to press, and then increment a and wait until the button is released before moving on. For the moment, I still have not found a way to do this.

    -Zeno

    Just we a registry change and compare the old and new of the Boolean values.

    More simple would be the 'includes the function. If you connect as shown in this recent example, you get a trigger when the Boolean goes off-> on between two iterations.

  • scroll page won't stay, arrow to the left of page breaks, the program freezes and crash

    I'm under Win Vista2007 sp2, IE9.0.2 I noticed that my roll was not in Mail W, now I am doing a slideshow and do scroll will not take in WMM or WMP. I can't use them.

    I know that WMM uses a lot of memory. It crashed the first day, again and again / 500pics. Then, I was able to make a DVD. Projects open once after that no, they just hang on. Whenever they crashed or does not open it takes me hours to get the photos.  My KODAK program crashed all the time too, but I think Windows closes it because it uses memory, not that I don't have. Now my back button does not work, it will just go back to the same page or jump page. WMP freezes. He also had other problems, can not remember what. My Performance is 3.2

    Help don't give me answers and if she helps him options usually do not exist on my computer, thank you MSN. I tried searching internet more yesterday, no response. I unplugged my mouse, I used maintaince on it, I turned on my stop scroll, I used a restore point, I updated and all scanned. The only option I have is the big hammer F. It comes to J4 trying to make a slide show.

    Windows keeps getting worse and harder to use. I push an option to do something and I get ths boring box ask that if I want to allow this, well DAA, I pressed the button, COMPUTER STUPID. I hate my machine. I spend too much time trying to do something on my computer. Its Apple, next time.

    So is there a solution? I wish I lived in a high building so I could throw this thing out the window.

    I discovered that my mouse went crazy, I tried to restart it, go fix a new mouse, I read a lot of inquiries about unstable scrolling, but no responses, which was my problem, the mouse had gone wrong...

  • need to press the pause button to start win7 on hp g62

    Hi I have a hp laptop g62 running win7 here we go whit my problem everytime I want to start the computer, I press the button start and then one as soon as I see the screen appears if I do not press break touch will turn off if I press any other keys it shuts back) 1 start 2) break wait a few minutes sign hp + press the ESC for the start menu appear and freeze wait a few minutes when I touch the button of sc prt next to break on the win7 keyboard lights up to a perfect session, the problem is that when I start the hpG62 so if you have any idea to help out who will be well accepted thank you in advance G.L

    Hello

    1. Since when are you facing the issue?

    2. have you made changes in the BIOS?

    I suggest try starting the computer in safe mode and check if the problem persists.

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    I also suggest you to consult the manual of the computer for any setting relating to Windows startup. You can also check with the manufacturer for known issues. The question facing the computer during startup of the State which is usually controlled by the BIOS. You can update the BIOS by visiting the manufacturer's Web site and check if it helps.

    BIOS: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/BIOS-frequently-asked-questions

    BIOS change / semiconductor (CMOS) to complementary metal oxide 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.

    See also:

    Solve the Start Up and no list of Boot problems

    http://h10025.www1.HP.com/ewfrf/wc/document?CC=CA&DLC=en&docName=c02798426&LC=en&product=4229834

    Hope this helps and provide us additional information for assistance.

  • Lightroom 6.4 freezes when I press the key to develop.

    Hello

    I am owner of an ACPI x 64 based Pc

    In the MIDDLE of Fx (Tm) - 6300

    6 core processor

    3.50 GHz with 8 GB of ram.

    Updated Lightroom 4 and it is a copy of stand alone.

    When moving between collections, she will sometimes freeze and when I select an image from a collection, then press the button to "Develop" the program crashes. Turn off the computer to the Start button, then by restarting the computer and Lightroom I can then press 'Develop' and it works, he does it all the time. Very frustrating.

    I love this program I have difficulties and learning over the years, it has become purely intuitive to use: damaged memory. I don't go to the copy of the subscription until this issue is resolved. I hope that you will help me, because it will take me a long time to learn a new program.

    Bryant.

    Hi Bryant,

    Which could due to problem of graphics processor.

    Go to the Lightroom preferences > Performance > uncheck 'use the graphics processor' > then, check.

    Kind regards

    Claes

  • By pressing the home button does not take me to the home screen of iOS 9.3.3

    I have recenly updated upgraded to iOS 9.3.3 and I noticed that pressing the home button does not take me to the home screen. The only way to get there is by using the creature of multitasking. (double pressing the home button) Also, some applications seem to freeze if turn my phone off and then turn it back on, or when I access it via the multitasking function. Can someone please help?

    Try a forced reboot. Hold down the Home and Sleep/Wake buttons at the same time for about 15 seconds, until the Apple logo appears. You won't lose anything.

    If a force restart does not help, try a system restore. First save your device via iTunes. Also import your photos on your computer and copy all the important data. Reconstruction of the support first test and test. If this does not help, you may need to restore as a new and reconfigure from scratch as the backup may be damaged. It is important to have your photos and your saved data separately from the backup. Here are the steps for a restoration:

    https://support.Apple.com/en-us/HT201252

  • How can you cancel the download of an update that was started by after having pressed the button "Check for Updates" in the window "On Firefox", please?

    How can you cancel the download of an update that was started by after having pressed the button "Check for Updates" in the window "On Firefox", please? If possible, please cover all platforms, Mac, Windows, Linux, although the first mentioned is what currently applies to my situation.

    Thank you.

    Such a download is usually recorded in a updates or updates folder in the program folder or the Firefox application.
    You can delete this folder to cancel the download.

    If the files have already been downloaded, then delete the files in the folder updates\0 and updates.

    Mac: /Applications/Firefox.app/updates "/path_to/Firefox.app/Updated.app"
    Linux: "/path_to/firefox/updated"
    Windows: C:\Users\<user>\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates
    
  • Firefox crashes when I pressed the Browse button to upload files

    Windows 7 x 32 Firefox 10.02 the program crashes constantly when I press the Browse button (such as gmail attachments, virustotal programs and so on.)
    PS I've already eliminated the registry problems and attempted to delete MRU registry, such as mentioned in this topic: https://support.mozilla.org/ru/questions/754368#answer-105628

    Cor - el will no doubt come with suggestions. I will list the accident report Details incase they help someone. The accident occurred when a component associated Windows is in use. Have you ensured you have no background task running, and no unnecessary plugins Firefox are running.

    No reason to expect to be directly related, but a previous incident with the same signature took place when bookmarks were used, and the solution in this instance was:

    I found out that an option in Microsoft File Explorer caused the crash.
    To solve this:
    - Go to "Organize"
    - Choose "Folder and search options"
    - uncheck "Automatically expand to current folder"
    
     Now Firefox won't crash again!
    

    Your reports for s CrashID all have the same signature

  • Libretto W100 - keyboard won't go away when I press the button yet once

    Hello

    I have a Libretto W100 and I need to make the keyboard disappear by pressing the keys on the keyboard on the left.

    I formatted the booklet and installed all the drivers.

    After the format I run the application of Toshiba button support and registered the button KB (single click), to the path target C:\Program Files\Toshiba\Libretto\TOSSWKBA.exe

    The keyboard appears on the screen when I press the button, but it will not disappear when I press again.
    Maybe I need to put something in the option field.

    Thanks for your help.

    Hello

    I read in another thread that Kaspersky 2010 version was not compatible with the touch screen of booklet.
    The new 2011 version seems to be compatible.
    Maybe you need to use the latest version

    Check it!

Maybe you are looking for

  • I received a notice that someone was trying to access my account, how can I make sure that they can do

    When you reset y Firefox I received a notice stating that someone was trying to connect to my account. I have to stop this and do not know how... Help please

  • WMP 11

    I am trying to add my music (songs, albums, work, etc.) to my work computer (laptop). It's a Levono T410 running Windows XP. I copied all my music (albums) of my home computer files in my 'My music' folder on my work laptop. I have installed WMP11. W

  • Automatic transfer of event log errors?

    It is perhaps a stupid question; at work, I run a Windows 2003 R2 server, in which 4 Windows XP clients connect to (and a client of Windows 7) as well as a couple of printers. My question is probably quite simple, but y at - it a way for errors in th

  • call barring

    Hi, I want to barr of certain nr.  I went into settings - call settings - call barring - call settings - all entrants, now she wants a password.  I'm in the right place?

  • BBM renamed notification each time in BBM sign

    Whenever I connect to BBM, I always get a new notification in my profile that said comments that I changed my name to something like "% email-random_number" where % email is my email and random_number % is 5-digit number. Despite this notice, the nam