LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sub Vi does not update Main Vi Control

Hello

I have tried different things including using a reference to a control in my program, but i cannot get the sub vi (that i call) to update this control when I call it from the main Vi.

I have tried to wire the output to the control and it doesnt work either. I probed it and it the sub vi works but it just does not register the output to the control. Using a reference connected to a property node in the sub vi did not do it either. I have looked at several similar posts but they werent much help. Id appreciate it if someone could help me.

Attached is my unfinished code and the test data. To run it, first open the sequence file named testsequence
then open the testdata file in the appropriate box. The value for the control slope is 0 and does not change.
0 Kudos
Message 1 of 3
(2,614 Views)
You did not attach your testsequence file or testdata file or subvi. Please zip everything into one file and attach to your post. Be more specific about which control in your subvi you are using to affect which control in the main vi. Don't create a new post, just click the reply button to this post.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 3
(2,595 Views)
Sorry about that. I clicked on post by mistake. But I had made another post with the zip file. Anyways, here is the zip file
0 Kudos
Message 3 of 3
(2,581 Views)