NI TestStand

取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 4 条)
1,725 次查看

Any thought of TestStand dev team ?

0 项奖励
2 条消息(共 4 条)
1,672 次查看

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 项奖励
3 条消息(共 4 条)
1,653 次查看

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 项奖励
4 条消息(共 4 条)
1,615 次查看