From 3353bc874c4511dab7187bf8d7614309331cf903 Mon Sep 17 00:00:00 2001 From: Stephen Dawson-Haggerty Date: Mon, 15 Jun 2020 15:17:43 -0700 Subject: [PATCH] Add NumericRange comment --- asyncua/common/node.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/asyncua/common/node.py b/asyncua/common/node.py index 0461b6903..b289ab2be 100644 --- a/asyncua/common/node.py +++ b/asyncua/common/node.py @@ -258,7 +258,8 @@ async def write_attribute(self, attributeid, datavalue, indexrange=None): Set an attribute of a node attributeid is a member of ua.AttributeIds datavalue is a ua.DataValue object - indexrange is a NumericRange (a string) + indexrange is a NumericRange (a string; e.g. "1" or "1:3". + See https://reference.opcfoundation.org/v104/Core/docs/Part4/7.22/) """ attr = ua.WriteValue() attr.NodeId = self.nodeid