Hello experts,
I am working on a application which will allow the user to see one of 50 or so data-collection sub-VIs via a subpanel, and execute said VI peridocally (as rapidly as every 100ms). Each of these data collection sub-VI has identical inputs but a unique cluster as its output, and takes 10-20ms to run. I thought that showing the FP of the data collection sub-VIs via a sub-panel would be the easiest way to allow the user to see data without needing a tab control and switching to one-of-X tabs with the matching datatype.
The issue I'm facing is that I'm using the Run VI method to call the sub-VI currently loaded in the subpanel, but whenever it executes it steals the focus for a second and changes the mouse cursor from arrow to selection-finger - you can imagine what happens at 100ms timing - the cursor is flinching wildly. I've tried disabling the subpanel VI but that doesn't change the loss-of-focus.
Is there a way to call the subpanel VI without causing loss of focus? Will using an asynchronous call work in this case? If so I guess I would need to preserve the reference to the loaded sub-VI and have a unique set of async nodes for each VI since the datatypes are unique.