@GerdW wrote:
Hi Jascha,
@Jascha_Eisenberg wrote:
My demo-application now uses two loops (and I changed the execution setting),
Don't even start to fiddle with execution priorities of subVIs. Most often this setting will not improve the behaviour!
Switching the execution system does not help here as all FP elements are handled in the UI thread: as soon as you interact with the "Numeric" control your VI will be limited by the UI thread execution…
Again: Don't do time-critical stuff in a loop which is supposed to handle UI elements. (See previous responses above…)
This is all true, but for completeness sake, maybe at least try switching off debugging in the sub-VI and run it.
Having debugging enabled changes all different kinds of code execution.
It will still not be perfect, but it might be just a little better. Writing to a terminal should not actually require the UI thread.
On a different topic, how many cores does your PC have, is it virtualised or a physical machine?