You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only use tokio and tokio-modbus, and run the tcp-client example code, but show Fetching the coupler ID
Reproduction:
cargo new a new project
add tokio-modbus = "0.5.3", tokio = {version = "=1.22.0", features = ["full"]} to Cargo.toml
copy the example tcp-client code to main.rs
run cargo build, success, but cargo run show:
D:\xxx\yyy>cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.11s
Running `target\debug\tokio-modbus.exe`
Fetching the coupler ID
Environment:
Win10
rustc 1.65.0 (897e37553 2022-11-02)
rustup 1.25.1 (bb60b1e89 2022-07-12)
x86_64-pc-windows-msvc
Modbus server use the Qt QModubs example's modbusslave.exe, with the configuration: tcp, 127.0.0.1:502 (modbusmaster.exe can work well)
The text was updated successfully, but these errors were encountered:
If no one is able to reproduce the described behavior in their environment and without further details about the exact setup I recommend to close this issue.
Only use
tokio
andtokio-modbus
, and run thetcp-client
example code, but showFetching the coupler ID
Reproduction:
cargo new
a new projecttokio-modbus = "0.5.3"
,tokio = {version = "=1.22.0", features = ["full"]}
to Cargo.tomlcargo build
, success, butcargo run
show:Environment:
Win10
rustc 1.65.0 (897e37553 2022-11-02)
rustup 1.25.1 (bb60b1e89 2022-07-12)
x86_64-pc-windows-msvc
Modbus server use the Qt QModubs example's
modbusslave.exe
, with the configuration: tcp, 127.0.0.1:502 (modbusmaster.exe
can work well)The text was updated successfully, but these errors were encountered: