05-13-2018 01:26 PM
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
05-13-2018 01:40 PM - edited 05-13-2018 01:41 PM
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