Writing to multiple OPC items (UDT's)

Hi,

I'm currently working on an application where I need to be able to write a bunch of parameters for different UDT's from a mySQL database.
I have figured out how to read the values from the database, so the next step is to figure out how to write these to their corresponding OPC item path , using OPC UA.

Simplified Use-Case:

Loaded values from mySQL:
[1,2,3,4,5,6,7,8,9,10]

OPC Itempaths:
Pump[0-10].AlarmSetpoint

Result wanted:

Pump[0].AlarmSetpoint = 1
Pump[1].AlarmSetpoint = 2
etc...

Any tricks out there to do this in an "easy" way?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.