10-18-2023 07:55 AM
Hi,
As the title suggests is there away to clear the Output Message Pane programmatically.
I am aware you can right click and do Clear All.
I saw this post which is quite old now and with no solution
Clearing the TS Output pane - NI Community
Has anyone solved this?
Thanks for the help
Kev
10-18-2023 07:01 PM
Does this work:
Getting them using this:
Regards,
10-19-2023 01:35 AM
I have tried the following statements with no joy:
OutputMessages.Clear
RunState.Engine.NewOutputMessages().Clear()
Engine.GetOutputMessages // Appears to be obsolete, replaced with the below statement
RunState.Engine.NewOutputMessages().CopyMessagesToCollection(Nothing)
I am prob missing something here
Thanks
Kev
10-25-2023 07:03 PM
Previous posts state this is not possible and explains why:
Clearing the TS Output pane - NI Community
and the requested functionality has been posted to the Idea Exchange
Clear Output Window through API and Expression Function - NI Community
vote for the idea to bump up the priority..