-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Palanivel Thiruvenkadam
-
-
3 minutes ago, Zlatoun said:
I would like to display once it reaches 10 for the player or the goalkeeper.
Use Boolean Array to Number Function, where you will get 0 if nothing is true and 1 if first element of array is true and 2 if second element of array is True and 3 if all two elements are true.
Use case structure and based on 1/2 display Message.
-
You want to display once it reaches 10 or or every shoot you need to display?
-
32 minutes ago, Zlatoun said:
Thank you, you have helped me greatly. I have taken what you have done and redone it myself to understand it. I changed the while loop stop condition so that the match stops when one of the two has reached 10 points. Now I would like to store the scores in a graph and a table that update in real time. For the graph everything works as expected but I can't link the table. Do you have an idea how to make it works. I would also like to put a message that says if the goalkeeper or the player, should I use a case structure and put it at the output of the event structure?
If you wanted to append running data to table, just use Property Node (value) for Table (Read Existing Table Value and Append the run time value).
For Message use Case Selector and update Goal Keeper/Player inputs.
-
Though it seems to be homework program, I have Modified your code to support your requirement.
Please do go through the code and understand, don't just use and complete your task,if it resolves your issue.
Help Project
in LabVIEW General
Posted
Just few Tips on your Coding,
1. Indicator of Goal Keeper Score and Player Score should be of Same data as you Init (Int) 1.
2. Make sure you Avoid Wire Bends in all possible places.
3. Label for all Constant Values.
4. Your Code should be readable and scalable for future updates.