Facility Control

 View Only
  • 1.  Penalty Kicks Dashboard and Xpression

    Posted 10-02-2023 08:02

    Hi all. I'm brainstorming here about how to approach Dashboard and Xpression for end of game Penalty Kicks. 

    Dashboard is a where I'm struggling, bc I'm not really an expert on all the parameters available in Dashboard. Right now, all I can think to do is make a frame that holds the PKs. I'm not really sure which Parameter to use here. At this point in time I'm thinking I have to use a Choice Parameter, AwayPen1, with 3 options, Pre, Made, and Miss, like in the attachment. It seems rather wasteful with space to have 5 of those for each team, but that's all I can think of. Next, I think I want to write a script to check if the parameter changes to the Made state. If that is true, then add 1 to a numeric up/down for running Made Total. Finally, I will add ExtraPens button, that will reset all of the AwayPen and HomePen Choice Parameters back to Pre, but will leave the NumericUpDowns for both Away and Home at their current value, in case they are tied at end of 5 kicks each.

    This is my idea. I am open to suggestions for improvements, and if I'm forgetting something, then please advise. I will check back in and post my progress in case anybody in the future wants to reference this for their show. Thanks.

    This is my best idea on how to make a penalty kick dashboard parameter.


    ------------------------------
    Roger Heyward
    ------------------------------


  • 2.  RE: Penalty Kicks Dashboard and Xpression

    Posted 10-05-2023 13:48

    Hi Roger,

    You can use struct parameters (structures) are a type of parameter that allows you to group together multiple related parameters into a single entity. Essentially, a struct parameter acts as a container that can hold various other parameters, each with its own type, value, and attributes. This allows you to create a complex data structure that can represent an entity with multiple attributes or properties.

    Thanks,

    Aury.



    ------------------------------
    Aury Rukazana
    Senior Software Developer
    Ross Video
    ------------------------------