Can you extract all tags names down to their atomic form? #278
Answered
by
ottowayi
TheWicklowWolf
asked this question in
Q&A
-
For example, if you have a user-defined data type (UDT) tag consisting of a Real and a DINT... How can you obtain a tag list containing all elements? I tried
Whereas I'm looking to extract in down to:
|
Beta Was this translation helpful? Give feedback.
Answered by
ottowayi
May 23, 2023
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
TheWicklowWolf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
get_tag_list()
returns a dictionary of all the top-level tags, so that's why you're not seeing all of the sub-tags. You can write a small function to recursively walk all of the structs to get a flattened list: