Populate CDT with values of Array

Hi,

 

I have a process variable CDT of type array, the CDT has this fields {Title1=,Title2=,Title3=}.

And i have an array with the values {3,4,7,q,a,1,3,9,0}.

And i want to have the PV populated like this: {{Title1=3,Title2=4,Title3=7},{Title1=q,Title2=a,Title3=1},{Title1=3,Title2=9,Title3=0}}

Do you have any suggestions?

It has to be a flexible solution because it has to be used with different CDT's, on the process.

 

Thanks

  Discussion posts and replies are publicly visible