0

Series of commands with pause in between

I am trying to launch a set of commands (controlling Nexmosphere RGBW-lights). My aim is to launch a command, then wait for a number of seconds before launcing the next command. 

The issue is that when I use the Other - Pause command, the video I am playing at the moment also pauses. I need the video to run from the start, and engage different light settings during the video, so the video cannot stop.

5 comments

  • 0
    Avatar
    Brandon

    Video Timecode event may be more appropriate for this use case.

  • 0
    Avatar
    Roger Skjelbakken

    A timecode would have been great, but that is not supported within BA Connected is it?
    Can’t fint any wait or delay-function either.

  • 0
    Avatar
    Brandon

    Video Timecode event is in BrightAuthor:connected, but it's not really timecode, it's more of a Timeout event with multiple triggers points.

  • 0
    Avatar
    Roger Skjelbakken

    I cannot believe I haven't seen that event before (Probably since it is placed after all the GPIOs), could have had good use for it earlier as well. Thank you so much, that did the trick!

  • 0
    Avatar
    Russel Tait

    Hi Roger.

    When I send serial commands to the Nexmosphere LIDAR sensor, I do the following:-

    On a seperate layer to my main content.

    Add 3 Event Handlers.
    1st one just has a 4 second timeout berfore going to the next one.
    On the 2nd Event Handler, under the advanced tab of the widget. add Entry Commands. So I'm usine Send, Send Serial string (EOL) on Port 2, then enter the Nexmosphere command.
    Add another Entry command, Other, Pause and a delay in milliseconds until the next command is sent.
    I then link to another Event Handler as there are a lot of commands to send. but it also means I'm spliting the commands for different functions to keep programming easier.

    If you wanted to trigger a light change so many seconds into a video starting you would add the Entry Commands in the advanced tab of the video clip, put the delay first.


    Hope that helps

Please sign in to leave a comment.