Comment/Note during Runtime

How would I add the ability for the operator to add a note or comment to a device or object during runtime? Should I use a string tag and a DBF device to log them? I understand that the string variable will limit the length of the note.

Thanks

Andy

Parents
  • Another option is to log the messages as user events in the Sequence of Events log (alarm history). That way it is saved automatically by both alarm servers and can be viewed on the alarm history page. You use the SOEEventAdd() function to write a message. You're supposed to be able to specify an alarm tag name as well to associate it with that alarm, but I haven't tried that.

    SOEEventAdd(TimestampCurrent(), sMessage, "");

Reply
  • Another option is to log the messages as user events in the Sequence of Events log (alarm history). That way it is saved automatically by both alarm servers and can be viewed on the alarm history page. You use the SOEEventAdd() function to write a message. You're supposed to be able to specify an alarm tag name as well to associate it with that alarm, but I haven't tried that.

    SOEEventAdd(TimestampCurrent(), sMessage, "");

Children