ni.com is currently undergoing scheduled maintenance.

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

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

Execution Time changes with Replacement of frontpanel elements?

Hi all,

I am currently developing an application where execution time is crucial. Yesterday I stumbled upon something strange:

I have an XY-Graph that displays some data (particle position vs time). Having this Graph on the Frontpanel my application runs with ~20Hz. Replacing it with another XY-Graph speeds up the application to ~40Hz. This seems kinda strange to me because I chose the setting/ properties for both graphs to be the same...

Any idea as to what the reason behind this might be?

Thanks in advance

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

Run VI Analyzer

 

I bet you find "Overlapping controls." 

 

If execution speed of this vi is vital, why are you displaying waveform data on the FP?  That data display requires the UI Thread and expects that what is really vital is that the USER has a view.  Wrong thinking.  Is debugging disabled? is error handling disabled? is the code "Inlined"?  Post the code and I bet we can get it purring along much faster


"Should be" isn't "Is" -Jay
0 项奖励
2 条消息(共 2 条)
2,417 次查看