Copy selected Alarm notes to text area

Hello Everyone,
I have Alarm status table, I want to copy notes from selected alarm to another component like text area. Any thoughts on how to do this?
As shown in picture below, Just get the notes string out of table into text area.

In Vision, the Alarm Status Table has a ‘selectedAlarms’ dataset property. From here, you can pull out the display path or source path to perform a to read the alarm properties. You can append the “/Alarms/{name_of_alarm}.Notes” to the tag path to read the alarm properties directly.

tagpath = [default]myTag
notes ="[default]myTag/Alarms/highFire.Notes").value

You can reference this doc to read values from datasets.

1 Like