From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-28-2017 12:57 AM
Hello I have to edit my calculator using an event structure and I am just stuck as to how I am suppose to connect the wires. This is what i am suppose to do:
Convert your calculator to use an event structure. Have 2 different event cases,
1) value change of your 2 numeric inputs or your enum. Put all of these controls in the event case so that they are all read when one of them changes.
2) value change of your stop button.
Process the data (i.e. your case statement) outside the event structure.
When using the event structure, you should remove your wait.
any help is appreciated!
09-28-2017 01:05 AM
09-28-2017 09:10 AM
This homework assignment is essentially completed for you. Not much left for you to do.
10-07-2017 01:35 PM
Hello I just need help on how to connect the stop button into my event case as I am confused as to how to do so. What I need to do is:
1) value change of your 2 numeric inputs or your enum. Put all of these controls in the event case so that they are all read when one of them changes.
2) value change of your stop button.
I can't find any videos on this as well.
Thanks.
10-07-2017 02:26 PM
Please give a more meaningful name to your message. Everyone posted in the LabVIEW forum is looking for "LabVIEW Help".
Actually, it seems like you have started a new thread on a subject matter you've already started a message thread on. Don't do that as it causes people to waste time answering duplicate message threads. This message thread has been merged into the original.
Your VI's architecture is all wrong. An event structure belongs in a while loop. Right now your event structure only executes once, then the while loops start. If you trigger another event, your VI will lock up cold because your event cases are set to lock the event structure until complete, and that will never happen because there is no execution path to allow the event structure to execute again.
You need one event structure inside of one while loop in your code.
10-07-2017 03:16 PM
Sorry I tried to delete my earlier post but did not know how to. This is what I have so far but it seems that my code freezes after the second input change. I may have done my event cases wrong but I am not sure.
10-07-2017 03:19 PM - edited 10-07-2017 03:20 PM
You can't delete message threads. Just add on to it. Why would you want to delete the original thread anyway?
You didn't listen to what I said. One while loop. Total. For your whole VI. One event structure inside of it.