NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Engine.DisplayMessageBox versus CPU

Hi,

 

I noticed that the Engine.DisplayMessageBox is CPU intensive for no reason (one core saturated).

 

As an example this method is used in the VI Display Error of both Simple and Full-Featured LabVIEW OI.

 

Sébastien

0 Kudos
Message 1 of 4
(877 Views)

Any thought of TestStand dev team ?

0 Kudos
Message 2 of 4
(824 Views)

Hi, 

 

I am unable to reproduce this issue using TS 2021 in SeqEdit, LV 20.0 and LV-build executable (LV 20.0) . I have also verified that the code in the TestStand engine has not changed to impact behavior since TS 4.0. 

 

Couple of questions:

What version of TestStand and LabVIEW are you using? Are you able to reproduce this issue on multiple machines? 

 

Regards, 

Anand Jain

NI

0 Kudos
Message 3 of 4
(805 Views)

Hi,

I use TS 2020 and LV 2020.

The issue is very easy to reproduce by generating a fake error into the state machine of the simple TS OI.

With breakpoints I see my CPU going from 1% to 12% when the error message is displayed, then falling back to 1% afterwards.

Thanks

0 Kudos
Message 4 of 4
(767 Views)