Graphics

 View Only
  • 1.  Syntax udp Command out of scene director

    Posted 03-06-2025 15:45
    Hi all
    I have a problem sending udp commands out of the scene Director to a brightsign player.
    I declared a GPI Board - Smart GPI / Rosstalk in the Hardware settings.
    When i now send the Rosstalk (udp) command LED00 to the brightsign player nothing happens.
    When i do the same via Dashboard with
    ogscript.sendUDPString('192.168.2.141', 5000, 'LED00');
    it works.
    It Looks like the sended command is not only LED00.
    It seems like being one or several signs at the end.
    Can anybody tell me what sign/s there are.
    Thx in advance


    ------------------------------
    Markus Stoerk
    ------------------------------


  • 2.  RE: Syntax udp Command out of scene director

    Posted 03-11-2025 04:42

    Hi Markus

    Try adding + chr(13) to the end of your string. So send "LED00" + chr(13) to your UDP port in XPression. I think the chr(13) bit gets added automatically in ogscript.SendUDPString

    Simon



    ------------------------------
    Simon Latus
    Simon Latus Media Ltd
    United Kingdom
    ------------------------------



  • 3.  RE: Syntax udp Command out of scene director

    Posted 03-18-2025 11:42

    Hi Simon

    My problem is not the ogscript.sendUDPString-command from dashboard - that works
    The problem is when I send it out of the scene Director with RossTalk.

    I made a further step...
    I installed wyreshark on a PC to listen what is comes from the XPression PC.
    Sending "LED13" with RossTalk in the sceneDirector leads to "LED13......" in wyreshark on the receiving PC or HEX 4c 45 44 31 33 0d 0a 00 00
    I think we can forget the following 00s.
    The first HEX part is my LED13, the 0d 0a is LF, so I think XPression sends my command LED13 plus LF
    So now what? The receiving PC has to compare the incoming string to go on, but what is it, how does it look like?
    I tried LED13LF, LED13chr(10), LED13\n, LED130d0a, LED13U+000A, nothing works

    Does anybody has an idea???

    Markus



    ------------------------------
    Markus Stoerk
    ------------------------------



  • 4.  RE: Syntax udp Command out of scene director

    Posted 03-18-2025 13:08

    Hi

    Can you post the code that you are using in XPression?

    Thanks

    Simon



    ------------------------------
    Simon Latus
    Simon Latus Media Ltd
    United Kingdom
    ------------------------------



  • 5.  RE: Syntax udp Command out of scene director

    Posted 03-18-2025 21:45

    XPression is sending CR LF (carriage return line feed) at the end of the RossTalk messages, which is the correct formatting to terminate a message using the RossTalk protocol. Dashboard is sending a string so its not terminating the message according to the rosstalk protocol. 

    Instead of using the RossTalk event on the SceneDirector, use a script event and use the GPI.SendBinaryMessage method.




  • 6.  RE: Syntax udp Command out of scene director

    Posted 24 days ago

    Hi

    This is working, great :-)
    One more question: is there a possibility to put the content of a datalinq source into a variable that i can use in this script?

    Markus



    ------------------------------
    Markus Stoerk
    ------------------------------