the event structure cannot combine with other events and run only once

Why it will always get stuck when I combined the 'new user add' event to the event of 'Login '?

It works for me when I separate the two, but the 'Add a new user' button can work but only once for the structure above, program will be blocked on the second time that I press the button "add a new user".

It has already been said, you must use that a single structure of the event and not 2. Also, avoid using local variables (better store data in a shift register and not in an indicator) how you do it, it can cause bad racing conditions.

Actually here you just don't another data storage since you have a file. Don't store data file to the root of the C drive, you do not have write permission. Use the default data folder or the folder of the application.

I have attached a simple example. I guess that's a work at home? Please make my account help: try to understand why your VI does not work and try to find a solution by yourself. Modify my sample and play with him. This is how you learn LabVIEW. If something is not clear, post here, and we can explain/help.

Edit: has the 'connection' event, I don't check against whether the file exists or not. Difficulty of this part, gives too little practice.

Tags: NI Software

Similar Questions

Maybe you are looking for

  • Location of encrypted backup itunes

    Yesterday I had to update the issue 4.3.5 firmware of an iPAD2, owned by a friend of the 9.3.1 beta. When I connected to iTunes on my Macbook air, it made the backup (he ate of disk space as a crazy - took maybe 10 GB or more). Now, I returned the un

  • Laptop 15.6 "G2 350 HP: Adobe Photoshop CS6

    I bought but not yet received the HP laptop above. It has 4 GB of Ram, 500 GB HARD drive and a Core i5 5200U processor. Should there be no problem download from my existing copy of Adobe Photoshop CS6 on that? I also intend to upgrade the laptop for

  • get a blue screen that says stop techanical questions

    While online, I get a blue screen that say, there are technical issues and windows shutting down to avoid damage my computer. I don't know what are the issues?

  • Cleared Windows 7 recovery partition,

    Hello I deleted my partition recovery by mistake and I want to restore factroy. Is it possible to download an .iso file to recover this partition? Thank you. Beloli17

  • How can we change a file openwith to a stranger?

    I changed pubs.mdf file to open with the default program for the notebook & Sql Server, I can restore to open unknown file?