LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How does one run/launch actors in a system under different threads?

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

0 Kudos
Message 1 of 4
(2,831 Views)

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.

 

 


___________________
Try to take over the world!
Message 2 of 4
(2,806 Views)
tst-

thanks! exactly what I was looking for... my googling skills are apparently weaker than I thought...
0 Kudos
Message 3 of 4
(2,801 Views)

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.

 

Message 4 of 4
(2,761 Views)