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
------------------------------