0

Complex State-Changes, is there a easier solution???

Hi,

we have some projects where we need a lot of states to be switch via UDP-Commands.

But, it should be possible to jump from every state to every state.

 

For example receiving UDP="a", the State1 picture or movie should be displayed, 

receiving UDP="b", the State2 picture or movie should be displayed, etc, etc... But it must be possible

to "jump" from every state directly to every other state via the specified command.

 

At the moment the working area looks very confusing, and its very complex to add another state

or to find any bugs in it, please take a short look at this screencap attached.

 

There must be a better solution for this, can anyone give me a hint?

 

Thanks!

 

With best regards, Martin.




complex.png

8 comments

  • 0
    Avatar
    BrightSign TechDocs

    A Play File state might be the solution you're looking for.

    With a Play File, you only need a single UDP event that transitions to a list of files, and have the body of the UDP message specify which file from the list you want to play. You can then use UDP to transition to other files within the list by adding a UDP event to the Play File and setting it to "Remain on Current State".

    See the attached screenshots for a simple example. For more information, see Chapter 4 > Video Play Files, Image Play Files, and Audio Play Files in the BrightAuthor User Guide.

    Note that this might get a bit more complicated, but still completely doable, if you're mixing image and video files .

     

  • 0
    Avatar
    Info

    Looks like theres a bug in BA 4.0.0.8. Its not possible to edit the entries of a Video Play Files or Image Play Files after adding them!?

  • 0
    Avatar
    Alex

    We have submitted this under bug 19855.

  • 0
    Avatar
    Alex

    Will be fixed in 4.1.0.0 and future BA versions.

  • 0
    Avatar
    Roland TL

    Hi,

    This seems to work fine but I have two follow up questions:

    1. How would you do that if you mix Video, Audio and Images?

    2. Why does this not work with GPIO inputs? I had to use a workaround with a second zone that translates the GPIO to UDP and send it to itself.

     

  • 0
    Avatar
    Alex

    1. You will need to create 3 play file objects (video play file, image play file and audio play file) and connect them with each other via the desired interactive events.

    2. Play files can only be transitioned to via input from BP900/BP200, UDP, Serial, Keyboard, or USB. Feature request #18186 has been logged to add the ability to transit to play file state using GPIO.

  • 0
    Avatar
    Roland TL

    I appreciate the fast answer.

    1. Could you elaborate on this? I attached a Image of my programming below. I have a loop file from which I have to jump to an image, video or audio file. I somehow have to jump to one of those three depending on the UDP message I receive.

    It would be a lot easier if there was one play file container that can handle audio, video, and images.

    2. I'm looking forward to that.

  • 0
    Avatar
    Alex

    1. It appears my suggestion will not work because BrightAuthor does not allow having multiple instances of the same event (UDP Input) with the same parameters (same command) coming out of the same state. This means you can't draw two (or more) connections from the same state using the same event with the same input.

Please sign in to leave a comment.