Skip to content

Commit

Permalink
Dont die on missing MinimumSamplingInterval Fixes #1312
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtatsch authored and oroulet committed Jul 24, 2023
1 parent e1dc3be commit 1f8e88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncua/common/xmlexporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ async def add_etree_variable(self, node):
if useraccesslevel not in (0, ua.AccessLevel.CurrentRead.mask):
var_el.attrib["UserAccessLevel"] = str(useraccesslevel)

var = await node.read_attribute(ua.AttributeIds.MinimumSamplingInterval)
var = await node.read_attribute(ua.AttributeIds.MinimumSamplingInterval, raise_on_bad_status=False)
if var.Value.Value:
var_el.attrib["MinimumSamplingInterval"] = str(var.Value.Value)
var = await node.read_attribute(ua.AttributeIds.Historizing)
Expand Down

0 comments on commit 1f8e88f

Please sign in to comment.