I have a UDT memory block of 2048, with a String, Unsigned Byte, Bit, Signed DWord, Unsigned Word, as its contents. I copy a 6 character string into MyBlock0.String (.Length = 6, .MaxLen = 8 ), and it works fine. Later, I copy MyBlock0 to MyBlock1, Number of source elements 2047.
Looking at my data, when the data is in MyBlock0.String, it's properly formatted, etc. When it's moved to MyBlock1, MyBlock1.String shows <empty string> and MyBlock1 in multi-line view shows String(!BAD!Max(0)Len(0)CStringNestedStructStatusValue::GetAsStringArrayFromBuffer). All the other elements are still formatted correctly. What can I do to fix this? OS is 2.9.6 but I don't really care to update firmware via VPN, the connection to site has been spotty as of late.
If I manually re-enter the value into MyBlock1.String, it does display the correct value in MyBlock2.String after the MEMCOPY occurs.