Using a .NET-based Interface Asset, Intuiface can send and receive messages through a serial port using the RS232 standard. This article illustrates the concept through the sharing of source code and a sample experience.
- Be sure to review Interface Asset general concepts and then our review of how to develop your own .NET Interface Asset
- The solution described here applies only to Windows devices.
- To create your own interface asset, you will need the Premier or Enterprise Edition of Intuiface Composer.
This example will show you how Intuiface can communicate with any device connected through a serial port using the RS232 standard. As a bonus, some USB devices emulate a COM port and thus also use RS232, meaning this article will apply to them as well.
NOTE: The source code is provided as-is without any warranty. Feel free to upgrade the code and share it with the Intuiface Community.
At Intuiface we have used this kind of interface asset to work with the following devices:
- barcode scanner: A trigger is raised every time data is read on the serial port
- Arduino-driven car: Use your multi-touch screen to drive the car and give it orders using the Send action