0

RS232 Commands



Hey guys, we are controlling the Brightsign 2000 with an external automation controller. I have been able to send basic commands without using the scripting language. "videoplay /movie1.mpg", "videoplay /movie2.mpg", etc.... What other commands are available to us? Can I send a simple stop command, or pause? Please let me know. Thank you.


Noah

7 comments

  • 0
    Avatar
    RokuLyndon


    Yes,



    You can send commands like "videoplay resume", "videoplay pause", and "videoplay stop".



    You can find more video playback commands in the object reference manual, under roVideoPlayer.
  • 0
    Avatar
    roognation


    Where is the documentation for the serial port setup, I just tried sending some info to the Brightsign HD600 and am not getting any response from it.  Is there start of transmission and end of transmission characters I need to send?



    Is the port enabled by default?  Where is this done?



    What settings are default for communication?  I have currently 9600-N-8-1 and tried both a straight thru and null modem cable without any response.



    Thanks!
  • 0
    Avatar
    roognation


    AHA!  Hardware Guide:

    <!-- m --><a class="postlink" href="http://www.rokulabs.com/products/brightsign/documents/HD600HardwareGuidev2.pdf">http://www.rokulabs.com/products/bright ... uidev2.pdf</a><!-- m -->



    for my AMX system, I have a null cable at 9600-N-8-1 and when I boot the BrightSign, I get



    Line      1 (10:52:20):: String From [5001:1:1]-[$B9]

    Line      2 (10:52:20):: String From [5001:1:1]-[autoplay script version 1.1.7 started$0D$0A]

    Line      3 (10:52:20):: String From [5001:1:1]-[$0D]





    I will keep digging for additional cmds etc.  When I send cmds, the RS232 LED does not light up on the BrightSign (it does on my AMX NI700, though, so I know stuff is going out.  I tried sending

    "'help',$0D,$0A"

    and expected the thing to flood me with information...but nothing yet...do I need to initialize the thing in the autorun.bas file before it will respond to serial commands or spit out any information?  Or am I missing the end of transmission character(s)?



    just tried with hyperterm, and got the same info from above, but was unable to get any cmds to echo or give me information back...



    thanks for looking,

    roognation
  • 0
    Avatar
    RokuLyndon


    What exactly are you trying to do?



    The autorun.bas script doesn't look for serial commands. It's trying to play a video, play a playlist, or play a csv file. It's automated to look for specific files to act upon.



    If you look at the BrightSign object reference manual, you'll find details about the Serial Object that's used to send and receive information over the serial port.



    There's no fixed set of commands the unit will respond to. You can send any command. Your custom script that runs on the brightsign can listen for that command that then act according, depend on what you want it to do.



    If you startup the brightsign with no card or with a card inserted that doesn't have a autorun.bas file, you can then work in the brightsign shell.



    The shell has some playback commands, like audioplay, videoplay, etc. Help will get you a list of shell commands.



    If you can explain what you want to do, we can provide some assistance.
  • 0
    Avatar
    roognation


    Aha!



    I renamed autorun.bas to _autorun.bas, rebooted and the shell started working great.



    Perhaps a note on this in the roSerialPort section is in order?



    THANKS!
  • 0
    Avatar
    roognation


    Maybe "print" a msg to the serial port in the autorun.bas file that tells the user that the Shell is disabled while the autorun.bas file is running/present?  That way, every time you boot the machine, you will get a simple msg about why the serial port is not working...



    Thanks!
  • 0
    Avatar
    RokuLyndon


    That makes sense...
Please sign in to leave a comment.