We are trying to use the ReadUDT function in AdvancedHMIv399yBeta33.
The image shows our test UDT in the PLC called TIme.
We have a class setup in vb.net as follows
Public Class TimeUDT
Public Property Yr As Int32
Public Property Mo As Int32
Public Property Da As Int32
Public Property Hr As Int32
Public Property Min As Int32
Public Property Sec As Int32
Public Property uSec As Int32
Public Property double_str As String
Public Property single_str As String
End Class
When we execute the code
Dim objT As TimeUDT
objT = _EthernetCommsMain.ReadUDT(Of TimeUDT)("time")
We get data filling the properties but run into a problem with double_str. It is an array in the UDT.
How do we setup our class so that it can handle the array?
Thanks for the help!