Skip to content

how can i read from bacnet objects programatically instead of in the command line? #27

@khavernathy

Description

@khavernathy

In the command line I can do things like this:

read 7 analogValue:10 presentValue

But how can I programatically read like this and store to a variable in python? Currently I'm trying like this:

    this_console = BacnetClientConsoleCmd()
    if _debug: _log.debug("    - this_console: %r", this_console)

    # enable sleeping will help with threads
    enable_sleeping()

    _log.debug("running")
    
    present_value = this_console.do_read("read 7 analogValue:10 presentValue")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions