09-22-2005 03:46 PM
09-22-2005 03:51 PM
Have you gone into the vi properties:"Execution" and tried changing the settings for "priority" and "prefered executions system"?. Other than that I don't know of any thread priority adjustments you can do from within LabVIEW
P.M.

09-23-2005 07:22 AM
You have not given a lot of details to work with. My answer applies to my understanding of your Q.
Property nodes execute in the UI thread. The UI thread is single threaded. Bumping up the priority of the UI will not help.
It seems you should be doing LESS UI stuff. Concider doing the ActiveX stuff less often, more efficiently or not at all!
Painting a racing stripe on your car will not make it go faster! If you want it to go faster, toss the elephant in the back seat.
Ben
09-23-2005 01:20 PM
Hello,
As P.M. was saying, you can adjust the thread priorities through the VI Properties dialogue. Another place to modify the multithreading system in LabVIEW is a VI located at: [LabVIEW Directory]\vi.lib\Utility\sysinfo.llb\threadconfig.vi. However I do not think this will remedy any problems you are having.
From a Multithreading in LabVIEW tutorial (http://zone.ni.com/devzone/conceptd.nsf/webmain/d2e196c7416f373a862568690074c759) :
Priorities in the User Interface and
Single-Threaded Applications
Within the User Interface execution
system, priority levels are handled in the same way for single-threaded and
multithreaded applications.
In single-threaded applications and
in the User Interface execution system of multithreaded applications, the
execution system queue has multiple entry points. The execution system places
higher priority VIs on the queue in front of lower priority
Also, if a high priority VI calls a lower priority subVI,
that subVI is raised to the same priority level as the caller for the duration
of that call. Consequently, you do not need to modify the priority levels of
the subVIs that a VI calls to raise the priority level of the subVI.
Thus changing the priority of your VI will change the priority of UI calls for that particular VI. Again, I caution you because I suspect that if you are having problems with your application not running correctly, I do not believe that manipulating the thread priorities will resolve these issues.
Hope this helps,