Hi,
I have a QAction in my driver that is triggered every X minutes.
When certain conditions are met, I want to update data in a Parameter on a different Element.
Problem is, I can't figure out how do achieve that.
I've tried with IDms dms = protocol.GetDms(); And then getElement, and I can read data, but not update anything.
I've also tried with protocol.SLNet.SendMessage(msg), and various NotifyProtocol calls.
Using Dataminer 10.5.
Hi Stefan,
Once you get the element, you could proceed as follows:
- Get the table: GetTable
- Get the keys: GetPrimaryKeys
- Get the row for a specific key: GetRow
- Set the row: SetRow
Optionally, you could also get the column and set the value
Hope it helps.