After getting this question I felt I had to share an updated version of the UDP communication Interface Asset that was available (and yes, a bit hidden…) in this other community thread.
What’s new?
This version enables you to
Send a message, either in ASCII (string) or in HEX over UDP, using a specified address & port
NEW Receive messages over UDP, using a specified port.
What didn’t change: this Interface Asset is still written in .NET thus only available for Composer & Player for Windows.
To test your work, we recommend using PacketSender
How it works
The sample should be self-explanatory
You have 2 actions to send messages (ASCII or HEX) and 1 trigger to receive a message.
If you want to receive messages, don’t forget to call once the “Start listening” method, specifying the port to use.
You guys have access to some fancy hardware such as DMX / MIDI controllers than be controlled through UDP, so if you make some wow effects installation where an Intuiface XP controls visual / audio effects in an exhibition, please share some pictures or even better videos of your creations!
Hi Seb, great Extension
We use it to control an external step motor controller. The controller give us also via UDP an feedback. But we don’t see the message into intuiface. Now, I’ve analyze the traffic using wireshark and I found out that intuiface sends out the message on a random port. I there a way to set the outgoing UDP Port? The problem is, that the controller sends back the message to the received port, who’s changing on every “conversation”.
Thanx for your support, Bruno from Swiss Museum of Transport
Hi Seb, we use this IA to communicate with lighting controllers to trigger different DMX presets. I was wondering, is there a similar IA to send and receive messages over TCP?
Hi @equintana1 and welcome to Intuiface community!
We don’t have a TCP IA off-the-shelf unfortunately, but if you have developer skills / a dev team with you, this is something you can create on your own. See the lesson 4.1 of this course: Connecting to the world | Course | Intuiface Academy
@Seb I have a use for this UDP IA but am having problems getting it to work. I have downloaded the latest release from GitHUB and successfully installed it and then set up a simple experience with a button to send a message via the IA. Problem is that I do not see the message sent out when I trigger it. I do see UDP traffic from Intuiface (at least IntuifaceComposer is mentioned in the info column of Wireshark) but don’t see any message that looks like the one I’m trying to send.
I have tested the communication outside of Intuiface with PacketSender and that works fine. I have also found a potential workaround by writing batch files that use netcat to send the UDP command. I can launch those from within Intuiface (actually launching a VBS that calls the batch file so it is silent) and that works but it’s a bit of a pain to have to manage all the various batch and VBS files.
Let’s get through a support ticket so it’s easier to communicate and exchange files privately as opposed to our community platform.
I’ll create that ticket for you, watch for your email notifications.