0

General Brightsign Questions



Hello,

I am a custom integrator and I have a special project I am working on. It is essentially a display booth with 3 LCD displays that will show the same image on all 3 but I want to show different scenes on command. For example, I will have 3 booth scenes, morning, evening, and night. When anyone of these scenes is activated, the lighting, audio, and video will change. Can an HD600 or 2000 be programmed to switch to a chapter or scene with an RS-232 command? Or will I need 3 HD600s to accomplish this?

thanks in advance.

2 comments

  • 0
    Avatar
    RokuLyndon


    Dave,



    Yes, the unit can perform any function based on a serial command. I'll include a simple serial script example below. Since serial input isn't supported in the autorun script yet, you'll need to do a custom script for this.



    Your script would flow like the following:



    Start:

    Play Image





    Wait_for_input_or_event:

    Wait for serial input / video event input

    --while a video is playing, it issues events with numerical values

    --3 = still playing, 8 = video end



    If  event received is video event

    --check if it's the end of the video

    --if it is the end goto play image - if that's what you want to have happen



    Else If serial input = morning, play morning video



    else if serial input = day, play day



    else if serial input = night, play night.



    Go to wait for input/event





    Here's an example where the script waits for one of two commands to start or stop a video:





    ------------------start of script------------------

    debug=true



    REM ****************************************

    REM Initialize Objects

    REM **********************************************

    REM Initialize Video & serial



    vid=CreateObject("roVideoPlayer")

    mode=CreateObject("roVideoMode")

    serial=CreateObject("roSerialPort", 0, 38400)

    p=CreateObject("roMessagePort")

    vid.SetPort(p)

    serial.SetLineEventPort(p)

    vid.SetAudioOutput(0)



    REM **********************************************************

    REM Set Constants & File Names

    REM *********************************************************

    videomode$="1920x1080x60i"

    MEDEN=8 'event id returned when video stops playing

    start$="START"

    stop_video$="STOP"

    vid_to_play$="video.mpg"





    REM

    REM Set the video mode

    mode.SetMode(videomode$)



    REM

    REM Now we wait for a serial command

    REM Assumes an end of line character will be sent



    wait_for_serial:  'this is just a label, the name is arbitrary

    msg=wait(0, p)



    if debug print type(msg)

    if type(msg) = "roStreamLineEvent" then



    if msg=start$ then

    if debug print "Playing file...."

    vid.PlayFile(vid_to_play$)

    else if msg = stop_video$ then

    if debug print "Stopping file..."

    vid.StopClear()

    endif



    else if type(msg) = "roVideoEvent" then



    if msg.GetInt() = MEDEN then vid.StopClear()



    else

    if debug print "Unhandled Event."

    endif





    goto wait_for_serial
  • 0
    Avatar
    Dave Harriff


    Thank you very much for your reply.
Please sign in to leave a comment.