modbus icon indicating copy to clipboard operation
modbus copied to clipboard

how to set up URL on windows OS?

Open crazy-cpu opened this issue 1 year ago • 2 comments

image

thanks!

crazy-cpu avatar Mar 26 '24 02:03 crazy-cpu

image

crazy-cpu avatar Mar 26 '24 02:03 crazy-cpu

I can't test this on Windows, but I think this Stack Overflow post can help: https://stackoverflow.com/questions/27909666/createfile-serial-communication-issue.

client, err := modbus.NewClient(&modbus.ClientConfiguration{
    URL:  "rtu://\\\\.\\COM6",
    ...
})

munnik avatar Apr 04 '24 21:04 munnik

today,I try to fill "rtu://COM7" to URL field, it works. I can''t explain this situation,but anyway, this problem is solved.thank you.

crazy-cpu avatar Apr 08 '24 01:04 crazy-cpu