Author Topic: Error/Event Log Text Box  (Read 173 times)

Offline JHansonHere

  • PLUS+1 Novice
  • *
  • Posts: 1
  • Karma: +0/-0
Error/Event Log Text Box
« on: October 08, 2021, 05:41:37 PM »
I'm new to the VBSE and trying to create a text box that displays error or event messages as they are reported. A scrollable text box would be even better, but I'd be thrilled with a static box that can display the most current 20 or so messages.

Current method I'm trying: Create a string array with all the data and add the '$N'(Newline) to the end of the string array. Convert the string array to a U8 array to use the insert array elements component to insert at head of the Messages List. Convert the messages list back to string and pass to display. Plan on doing length checks to remove data that will no longer be displayed so that the array doesn't grow past the array limit.

Any ideas on better methods or snippets of other implementations used would be much appreciated.
I'm working with a DM1000T. GUIDE 12.2.10.