Full source code that compiles with Monodevelop after registering ZedGraph (copy folder to /usr/lib/mono/gac/ and run gacutil -i /usr/lib/mono/gac/zedgraph_dll_v5.1.5/ZedGraph.dll)
It compiles (I was aware of that a long time ago), but does not work. It fails when tries to set non-standard bitrate on the COM port (no data is sent/received). Only standard bit-rates are possible to set under MONO (at least it were, when I was trying this last time, few years ago).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks a bit weird because it uses WinForms instead of GTK#, but it actually does run on Linux when compiled with Monodevelop.
All it takes is to modify the csproj file like this: https://github.com/gentoo/dotnet/blob/master/dev-util/monodevelop/files/gentoo-dotnet-issue-30.patch
I didn't test it yet, but I'd give it a go.
Just one other minor problem: There is no winmm.dll, so you'll have to replace
with
in frmMain.cs. Other than that, the simulation runs perfect.
Last edit: yutzhead 2015-05-20
Full source code that compiles with Monodevelop after registering ZedGraph (copy folder to /usr/lib/mono/gac/ and run gacutil -i /usr/lib/mono/gac/zedgraph_dll_v5.1.5/ZedGraph.dll)
Last edit: yutzhead 2015-05-20
It compiles (I was aware of that a long time ago), but does not work. It fails when tries to set non-standard bitrate on the COM port (no data is sent/received). Only standard bit-rates are possible to set under MONO (at least it were, when I was trying this last time, few years ago).
There's a fix for that:
https://xamarin.github.io/bugzilla-archives/82/8207/bug.html
https://stackoverflow.com/questions/13206524/error-with-high-baud-rates-using-serialport-on-mono-linux/13234661#13234661
Doesn't work on Mac, though.