From 111c8a038f2a7002e09c69b1737a830d46a8c3b4 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 7 Feb 2022 15:46:55 +0100 Subject: [PATCH] fix in snippet --- snippets/test2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/test2.py b/snippets/test2.py index 03eeb1a..20ecc84 100644 --- a/snippets/test2.py +++ b/snippets/test2.py @@ -7,7 +7,7 @@ async def test(): client = Client(url='opc.tcp://192.168.254.5:4863', timeout=10.0) # await client.set_security_string('') async with client: - node = client.get_node('ns=1;s=A201CD124/MOT_01.AV_Out#Value') + node = client.get_node('ns=1;s=t|SERVER::A201CD124/MOT_01.AV_Out#Value') value = await node.read_value() displayName = (await node.read_display_name()).Text print(f"{displayName=} = {value=}")