Win32 native patch

Asked by thepyper

Hi!

I've managed to port libmodbus-2.0.1 to windows, for the serial communication part... I've tested a few read/write functions and it works.
Are you interested in merging this patch so others can use / test it? Just tell me, I'll send it to you suddenly :)

Bye!

Pyper

Question information

Language:
English Edit question
Status:
Answered
For:
libmodbus Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stéphane Raimbault (sra) said :
#1

Yes, I'm interested!
You can also maintain a bzr branch so I'll be able to merge from your one.

Revision history for this message
heloundou (henri-eloundou) said :
#2

Hi Pyper,

I would like to implement a small Modbus client/server application in both Linux and window. Do you have any example how to proceed by using the libmodbus-2.0.1?
Thank you very much

Henri

Revision history for this message
thepyper (thepyper) said :
#3

Hi!

Well, about the windows port the only caution is that I have only
implemented the serial communication part, not the ethernet communication
part. Besides that, I've only tested (as that's my use) the library to
read/write registers to some slaves, so PC is always master for me; PC as
slave may work (should work because of the library's structure that only
implements read/write calls in one place) but I never used it. The main
archive has some examples, you may look there... setup for a master
application is very simple anyway:

- you call modbus_init_rtu() with the correct parameters to init a
modbus_param_t structure;
- you use this structure to call read_XXX_registers() or
force/preset_XXX_registers();
that's it...

For more insightful things you should contact libmodbus main developer, as I
only did the windows port and have not very deep knowledge of the rest of
the code...

Hi!

Pyper

On Fri, Oct 17, 2008 at 3:25 PM, heloundou <
<email address hidden>> wrote:

> Your question #38672 on libmodbus changed:
> https://answers.launchpad.net/libmodbus/+question/38672
>
> heloundou requested for more information:
> Hi Pyper,
>
> I would like to implement a small Modbus client/server application in both
> Linux and window. Do you have any example how to proceed by using the
> libmodbus-2.0.1?
> Thank you very much
>
> Henri
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/libmodbus/+question/38672
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Stéphane Raimbault (sra) said :
#5

Can you help with this problem?

Provide an answer of your own, or ask thepyper for more information if necessary.

To post a message you must log in.