Hi all,
I'm using the following event procedure to display alarms with a dynamic title. I would also like the Source device name to be dynamic, determined by one of the variables (U19 below). The attribute for this, I believe, is 0x1006e.
Using the Tuesday Tip here, I'm using WriteAttribute to change the Device name, but I suspect my syntax may be incorrect.
0xfff00800 P " CreateEventWithVariables( { C CURRENT_MODEL }, { H 0xfff00801 },SetEventVariable(GetEventVariableList(),{ H 0x00012b4c },Append ( Append ( Append ( { S \"\" }, GetEventVariable( {U 5} ) ), { S \" - Affecting: \" } ) ,GetEventVariable( {U 19} ) ) ), WriteAttribute( { C CURRENT_MODEL }, { H 0x1006e }, GetEventVariable( { U 19 } ) ) )"
Can anyone point me in the right direction?
Thank you!
M.