From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

user interface thread when reference passed to other vi

Well despite a badly worded question, when a control reference is passed, either directly or through other means (DVR, etc) to another vi, possibly launched seperately, do actions performed in that other vi, such as setting the control's value or other attribute, using that reference cause that vi to also be run in the user thread?

 

in a related vein, is there a way to see what thread a vi is running in? I probably know this, but it has been a long weekend and I was up late trying to fix some issues on a "finish by the end of the year" project.

 

 

As always, Thank you!

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 1 of 2
(2,587 Views)
Any access to a front panel reference will execute in the user interface thread. That doesn't force the entire VI to execute in the user interface thread, but it does mean that the VI may get stuck waiting on the user interface thread - for example if you have an error wire running through a property node, even though the rest of the VI executes in a separate thread, it will have to wait for the user interface thread to execute that one operation.
Message 2 of 2
(2,558 Views)