0

GPIO

Hi all,

 

probably very simple to achieve, but how do I do the following? I have a XD233 with a button connected to a GPIO input. I've got a main clip that plays in loop. When the button is pressed another clip should start to play. so far nothing special. On the next push however, clip 2 should start to play, and the same thing for clip 3,4 and 5.

Question 2: can this be done randomly if the client should ask for it?

 

Thank you

5 comments

  • 0
    Avatar
    Monica Knutson

    You could use the Media list with your GPIO trigger for the events:

    https://docs.brightsign.biz/display/DOC/Media+List%2C+Video+List%2C+Image+List%2C+Audio+List 

    There is also a "shuffle" feature.

    Hope this helps!

    Cheers,
    Monica

  • 0
    Avatar
    Brecht Gettemans

    Hello Monica,

     

    Thank you for the information, but our goal is:

    main clip in loop

    PUSH

    clip 1 until the end of media

    AUTO RETURN TO INITIAL STATE (main clip)

    PUSH

    clip 2 until the end of media

    AUTO RETURN TO INITIAL STATE (main clip)

    clip 3 until the end of media

    ...

    When I try this now it stays in the media list, but it needs to quit after each clip to the initial state.

     

     

  • 0
    Avatar
    Monica Knutson

    Hello Brecht,

    Thank you for the additional information.

    What if you program in this manner (easiest way):

    1. State 0 - Main Clip in loop
    2. On GPIO goto State 1 (clip 1)
    3. On Media End of clip 1 goto State 2 (another instance of Main Clip on loop)
    4. On GPIO from State 2 (duplicated Main Clip) goto State 3 (clip 2)
    5. On Media End of clip 2 goto State 4 (another instance of Main Clip on loop)
    6. ... et cetera until you need to loop back to Clip 1 then go back to State 0 on the last clip's media end

    Alternatively,  you can use variables and increment the variable upon each instance.  You'll need to use Conditional Targets to check the variable from the Main Clip loop and go to the appropriate clip.

    1. Presentation needs to reset the initial variable in some manner (maybe a loading state?)
    2. State 0 Main Clip in loop
    3. On GPIO check conditional target (on Advanced tab on the event) and goto appropriate clip
    4. Clip entry or exit - or on the media end - set the variable to the next item... etc.

    Cheers,
    Monica

  • 0
    Avatar
    Brecht Gettemans

    I figured it out, see screenshot:

  • 0
    Avatar
    Brecht Gettemans

    Ah your post crossed mine. Thanks anyway!

Please sign in to leave a comment.