====== Using the .NET Framework 4.x with Mono ====== {{ :comfilepi:vs_winforms2.png?650 | }} * [[:comfilepi:Running .NET WinForms Applications with Mono:]] - .Net applications can run on Linux by utilizing the [[http://www.mono-project.com/|Mono framework]]. [[https://en.wikipedia.org/wiki/Windows_Forms|WinForms]] applications can be developed and debugged on a Windows host PC using Visual Studio, and simply copied to the ComfilePi and executed; **no re-compiling required!** * [[:comfilepi:Modbus with NModbus4:]] - A demonstration using the ComfilePi as a Modbus RTU master, with [[https://github.com/NModbus4/NModbus4|NModbus4]], to control a PLC. * [[:comfilepi:Hiding the Mouse Cursor:]] - There is typically no need for a mouse cursor in a touch application, but the ComfilePi and Mono give you one anyway. This explanation will show how to hide the mouse cursor. * [[:comfilepi:Programming the SerialPort:]] - A few considerations to keep in mind when using programming the serial ports. * [[:cpio:cp-io22:index#c_control_example|Programming the GPIO]] - An demonstration illustrating how to program the ComfilePi's GPIO using the [[:cpio:cp-io22:index|CP-IO22]] add-on board. ===== Debugging ===== To deploy to, launch and debug .NET Framework 4.x applications on the ComfilePi from within Visual Studio, use our [[:comfilepi:running_.net_winforms_applications_with_mono:remote_mono_debugger:index|Remote Mono Debugger Visual Studio Extension]] ===== AdvancedHMI ===== {{ :comfilepi:advancedhmivs.png?650 |}} [[http://advancedhmi.com/|The AdvancedHMI software]] allows you to create HMI's that are not possible with other off the shelf packages. The software is based on the .NET framework 4.x and uses the popular Visual Studio as it's designer. When developing with AdvancedHMI, you are creating a true executable that is quite fast for the Linux-based ComfilePi. Don't let Visual Studio mislead you into thinking it requires code writing experience because most HMIs are created without writing a single line of code. [[https://www.youtube.com/watch?time_continue=40&v=VuQCGCNC-q4|Watch an Introductory Video]] {{ ftp://110.10.189.172/ComfilePi/AdvancedHMI/AdvancedHMI.zip |Download the AdvancedHMI Visual Studio solution}} which contains a Modbus RTU driver and test project specifically for the ComfilePi. [[..:index|.NET (C# & VB.Net)]]