10-02-2014 09:33 AM
As the title suggests, how do you manage what threads actors are launched in?
I have a system I'm troubleshooting now that I beleive is running some things in the UI thread that it should not be- the UI (of windows etc) slows to a crawl, where it takes a second or so even to move a window or open a menu and select an item.
Thanks for any insight.
-pat
10-02-2014 12:23 PM
I never really considered it, but there's a thread here discussing the issue - https://decibel.ni.com/content/message/83232
In general, the AF group is probably the best place for these.
10-02-2014 12:24 PM
10-05-2014 05:03 AM
Actor-Framework actors don't run in the UI thread, so changing their thread wont solve your problem. If some of your time-intensive subVIs (or dll calls?) are set to run in the the UI thread, they will still be in the UI thread if their owning actor changes its thread.