theColonel26
Lifetime Supporting Member
OK, so am wanting to move 100+ tags into a new UDT.
I figured the easiest way to do this is to
copy and paste the tags into excel.
Then create a new UDT export that to .L5X
Then using the format for the <member> XML tags
transform the tag names and types and insert them into the members tag. So
gets transformed to
I stripped off the prefix. of "JugA"
and then to
in the first 2 lines of the <members> tag there are these lines
What is the first row for? Is it a place holder for the name of the Instance of the UDT??? and why does the BIT/BOOL underneath it have a Target="ZZZZZZZZZZTest1" attribute?
I figured the easiest way to do this is to
copy and paste the tags into excel.
Then create a new UDT export that to .L5X
Then using the format for the <member> XML tags
transform the tag names and types and insert them into the members tag. So
Code:
JugA_CamStartPulse BOOL
Code:
_CamStartPulse BOOL
and then to
However in my play around I have found this curious<Member Name="_CamStartPulse" DataType="_CamStartPulse" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
in the first 2 lines of the <members> tag there are these lines
Code:
<Member Name="ZZZZZZZZZZTest1" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
<Member Name="theBOOL" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZTest1" BitNumber="0" ExternalAccess="Read/Write"/>
Last edited: