0

UDP from HTML5 Application to PC

Hi,
i have a setup with a Brightsign XT1144 and a PC in a local network. My task is to send/receive UDP data to/from a PC. Everything is going to be handled within a Html5 application (javascript), that i publish to Brigthsign via Brightauthor. Sending UDP data from PC to PC works just fine. But not from Brightsign to PC. (Sending UDP via Brigthauthor variable works).

Can anybody tell me what to do here.?

Thanks in advance,

Chris

4 comments

  • 0
    Avatar
    Bright Scripters

    Can you share some code, for clarification?

  • 0
    Avatar
    Chris

    Thank you for the fast reply. I would love to, but it is realized with vvvvjs (node-based programming) and i can not paste code here. I can share my BrightAuthor Project, if you don't mind.

    https://wetransfer.com/downloads/c85bcdb52bc6afab8ed7dde065f4844520190909184628/1b6a07a95431b5c54008120b075eec4720190909184628/55cd97

    BSUdp.7z 8MB

    thx, Chris

  • 0
    Avatar
    Bright Scripters

    Hi Chris, and thanks for sharing your project.

    We are not familiar with VVVVJS, but being JS based, you might want to examine the JS console, and hopefully an error message would give you an idea of what to do next.

    The best practices document, shows how to use the Javascript Console, in the "Enabling the Web Inspector" section

    https://docs.brightsign.biz/display/DOC/HTML+Best+Practices

    Here is what we saw here, after loading your presentation onto a player

    I hope that helps

     

     

     

    vvvv.core.patch.js:282 main.v4p will be converted from legacy XML to VVVV.js JSON format
    Patch.doLoad @ vvvv.core.patch.js:282
    vvvv.core.server_sync.js:19 Uncaught DOMException: Failed to construct 'WebSocket': The URL 'ws://:5001/vvvvjs-rt' is invalid.
    at ServerSync.connect (file:///budp-/vvvvjs/core/vvvv.core.server_sync.js:19:21)
    at Patch.compile (file:///budp-/vvvvjs/core/vvvv.core.patch.js:881:25)
    at Patch.execute (file:///budp-/vvvvjs/core/vvvv.core.patch.js:722:12)
    at Patch.doLoad (file:///budp-/vvvvjs/core/vvvv.core.patch.js:284:12)
    at Object.success (file:///budp-/vvvvjs/core/vvvv.core.patch.js:1029:18)
    at k (file:///budp-/vvvvjs/lib/jquery/jquery-1.8.2.min.js:2:16920)
    at Object.fireWith [as resolveWith] (file:///budp-/vvvvjs/lib/jquery/jquery-1.8.2.min.js:2:17707)
    at y (file:///budp-/vvvvjs/lib/jquery/jquery-1.8.2.min.js:2:80804)
    at XMLHttpRequest.d (file:///budp-/vvvvjs/lib/jquery/jquery-1.8.2.min.js:2:86374)

  • 0
    Avatar
    Chris

    Thank you for your reply. I am still trying to get that stuff up and running. I will drop a line, as soon as i have an idea.

Please sign in to leave a comment.