opc_ua/__init__.py
author Edouard Tisserant
Tue, 02 Aug 2022 11:50:54 +0200
changeset 3577 6c7a7b22bec9
parent 3364 fa2365fa6154
child 3750 f62625418bff
permissions -rw-r--r--
IDE+Runtime: fix exception when reconnecting with non-empty trace/force list.

Sometimes, remote call to SetTraceVariableList returned None just after reconnecting:
- changed caller to accept None (in case of connection problem)
- changer SetTraceVariable list to return 4 (DEBUG_SUSPENDED) if debug is suspended
# opcua/__init__.py

from __future__ import absolute_import

from .client import OPCUAClient

# class RootClass(object):
#     XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?>
#     <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
#     </xsd:schema>
#     """
#     CTNChildrenTypes = [("OPCUAClient", OPCUAClient, "OPCUA Client")]
#