Jump to content

Palanivel Thiruvenkadam

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Palanivel Thiruvenkadam

  1. 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.

  2. 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.

  3. 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?

    image.png.5f4c8c02a1564d21f7b0515fc0559a8c.png

    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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.