Communicate with devices through a serial port
Table of Contents
NOTE: To create your own interface asset, you will need the Enterprise Edition of IntuiFace Composer.
Assuming you already know how to develop your own .NET Interface Asset, you will see in this example how IntuiFace can communicate with any device connected through a serial port using the RS232 standard. As a bonus, some USB devices still 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 IntuiLab we have used this kind of interface asset with the following devices:
- barcode scanner: A trigger is raised every time some 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