Skip to content

How to get result of fast_scan #58

@MouradZoghbiWork

Description

@MouradZoghbiWork

I try to get result of fast_scan (class1 every 1 minus) :

utilities.print_with_log("########### START FAST_SCAN CLASS1 EVERY 1 MINUTE ###########")
r = dnp_client_ip1.client.fast_scan.Demand()

utilities.print_with_log("########### WAIT NEXT 1 MINUTE ###########")
start_time = time.time()
while time.time() < (start_time + 60):
    # change data point value
    time.sleep(2)
utilities.print_with_log("Next minute, Expected = 50")

how to get scan result in some variable (when i print r it return None)

Image

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