Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - yovanino

Pages: [1]
1
Support Questions / Error trying to WriteUDT with array
« on: November 04, 2019, 06:05:35 PM »
Im getting an error when try to write a UDT

C# side

public struct Order_Info
        {
            public Int32 Id;
            public string Name;
            public Int32 Plan_Qty;
            public Int32 Time_Est;
        }

Order_Info[] Orders = new Order_Info[5];

DriverAB.WriteUDT("Orders_Pool", Orders);

I Get      "Not Enough Data"

PLC side

Order_Pool
       Order_Pool[0].ID    DINT
       Order_Pool[0].Name    STRING
       Order_Pool[0].Plan_QTY    DINT
       Order_Pool[0].Time_Est    DINT

Thanks

Pages: [1]