Skip to content

Empty result in REPL #1746

@raphapassini

Description

@raphapassini

The documentation says that I should have a value in the result variable after successful running a command, which does not holds True.

➜ pymodbus.console tcp --host 0.0.0.0 --port 5020

----------------------------------------------------------------------------
__________          _____             .___  __________              .__
\______   \___.__. /     \   ____   __| _/  \______   \ ____ ______ |  |
 |     ___<   |  |/  \ /  \ /  _ \ / __ |    |       _// __ \\\____ \|  |
 |    |    \___  /    Y    (  <_> ) /_/ |    |    |   \  ___/|  |_> >  |__
 |____|    / ____\____|__  /\____/\____ | /\ |____|_  /\___  >   __/|____/
           \/            \/            \/ \/        \/     \/|__|
                                        v1.3.0 - 3.4.1
----------------------------------------------------------------------------

> client.connect
true

> client.read_holding_registers count=2 address=4 slave=1
{
    "registers": [
        9,
        27177
    ]
}

> result.data
> result.raw

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions