LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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 Kudos
Message 1 of 2
(2,291 Views)

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 Kudos
Message 2 of 2
(2,284 Views)