ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically Clear Output Message Pane

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.

kross8_0-1697633702311.png

 



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

0 Kudos
Message 1 of 4
(1,387 Views)

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

0 Kudos
Message 3 of 4
(1,347 Views)

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..

0 Kudos
Message 4 of 4
(1,319 Views)