I have attached some sources on how to use the proposed remoting solution.
in fact I don't know if there's execessive overhead on this, but it's
been working fine for me.
to give proper credit, i got many hints from mono-brasil discussion
list, specially from Rafael Teixeira/ monoman :-) like he pointed out,
serial communication is so slow that the remoting/web overhead
probably won't be noticed at all.
RemoteInterface.cs = declare which methods will be exposed, complie as
dll and reference it in the rest of the applcation
RemoteObject.cs = a NMODBUS master
RemoteServer.cs = publishes our RemoteObject
aquisitor.cs = client to the remoting interface (in this case it's a
webservice, but could be pretty much anything)
hope it helps.
feedback will be welcome :-)
greetings
Victor
I´ve seen something about the Mono Project. Are you using NModbus with
Gtk# succefully and under Unix?
Thanks!
> RemoteInterface.cs
> 1KDownload
>
> RemoteObject.cs
> 1KDownload
>
> RemoteServer.cs
> 1KDownload
>
> aquisitor.cs
> 3KDownload
>
> aquisitor.asmx
> 1KDownload
i use NModbus with mono in linux, and it works well for me.
we are acquiring data from modbus devices using a GNU/Debian 4 machine.
i have little experience with GTK, though. I have already tried it and
i know it works, but in fact i've been working mainly with console-
and web-based applications.
google would point you to some nice tutorials, i'd suggest looking for
Glade (for design of gtk interfaces) and libglade (for binding the
designed UIs into the c# language). feel free to contact me, we could
come up together with something nice...
wish you luck! :-)
victor