Oh, that's cool man... Lookout & array datatype with OPC.
In my small example it would have something like:
DataSocket1.URL = opc://localhost/Matrikon.OPC.Simulation/Random.ArrayOfReal8
And read expressions like:
DataSocket1.data:1.num = First random value from Matrikon Demo Server of array(R_8) item
DataSocket1.data:2.num = Second random value from Matrikon Demo Server of array(R_8) item
Additional Hint:
You have to set the Connect datamember of the datasocket object to TRUE.
If you connect an expression to the datatype you will see what kind of basic Lookout type would match the best to represent the data (DataSocket1.data.logical/num/txt)
Hope this helps
Roland
PS: Matrikon has a OPC demo server (free available) that has array datatypes.
href=http://www.matrikon.com/drivers/opc/simulation.asp>OPC Simulation Server