Facility Control

 View Only
  • 1.  Dashboard UDP Receive

    Posted 05-09-2024 14:55

    Hi, 

    I am trying to send a UDP string (ASCII, HEX, or Decimal) to a dashboard button to turn around and trigger an Xpression via GPI. So 3rd Party UDP string>Dashboard>Xpression. The 3rd Party device and Xpression can not be on the same network and dashboard has two network cards in it to do the cross talk. Any thoughts? I tried a simple Trigger ID of "send" and that gets into Dashboard, but does not seem to be triggering the button. 



    ------------------------------
    Jeff Bins
    AV Production Supervisor
    PMI ENTERTAINMENT - RESCH CENTER
    Green Bay United States
    ------------------------------


  • 2.  RE: Dashboard UDP Receive

    Posted 05-10-2024 15:02

    Hi Jeff,

    To clarify, because the 3rd party device is sending a UDP String to DashBoard, a GPI trigger unfortunately can't be used as a receiver, since it listens to TCP/IP messages rather than UDP messages.

    Instead a UDP listener can be set up to receive the UDP string from the 3rd party device. A post outlining how a sample UDP listener can be set up can be found here, as well as in the snippet below: 
    https://rossvideo.community/communities/community-home/digestviewer/viewthread?GroupId=205&MID=20551&CommunityKey=94781415-eb0f-4f9a-b891-c44d41d870c8&ReturnUrl=%2Fcommunities%2Fcommunity-home%2Fdigestviewer%3FMessageKey%3D9206a7b2-1394-404d-80f2-a6dd480332df%26CommunityKey%3D94781415-eb0f-4f9a-b891-c44d41d870c8

    Once the UDP message has been received, the listener can execute a task to forward a GPI message to the XPression device. A snippet is provided below:

    <listener autostart="true" id="UDP Listener" listenport="7890" maxlength="1024" udp="true">
    	<task tasktype="ogscript">
    		if (event.isMessageEvent())
    		{
      			rosstalk.sendMessage('XPN IP', XPN_HOST, 'GPI ' + event.getBytesAsString()); 
    		}
    	</task>
    </listener>

    You will need to update the 'XPN IP' and XPN_HOST fields accordingly to send the message to the XPression device.

    I hope this helps, please let me know if you have any further questions.



    ------------------------------
    Michael Quach
    ------------------------------