diff --git a/examples/client_async_calls.py b/examples/client_async_calls.py index 6456006f5..3f58c5673 100755 --- a/examples/client_async_calls.py +++ b/examples/client_async_calls.py @@ -13,8 +13,8 @@ If you are performing a request that is not available in the client mixin, you have to perform the request like this instead:: - from pymodbus.diag_message import ClearCountersRequest - from pymodbus.diag_message import ClearCountersResponse + from pymodbus.pdu.diag_message import ClearCountersRequest + from pymodbus.pdu.diag_message import ClearCountersResponse request = ClearCountersRequest() response = client.execute(request) diff --git a/examples/client_calls.py b/examples/client_calls.py index c1de95f93..3b3971fdf 100755 --- a/examples/client_calls.py +++ b/examples/client_calls.py @@ -13,8 +13,8 @@ If you are performing a request that is not available in the client mixin, you have to perform the request like this instead:: - from pymodbus.diag_message import ClearCountersRequest - from pymodbus.diag_message import ClearCountersResponse + from pymodbus.pdu.diag_message import ClearCountersRequest + from pymodbus.pdu.diag_message import ClearCountersResponse request = ClearCountersRequest() response = client.execute(request)