LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying subVI Plot in the Main VI while subVI is inside another subVI

Solved!
Go to solution

Hello everyone,

 

I was following the procedure described by mysticfree for displaying a subVI plot in the main VI: http://forums.ni.com/t5/LabVIEW/show-graph-that-is-created-in-a-subvi/td-p/672249

 

I would like to do this in a nested fashion: Main VI runs a subVI called sub_A. sub_A runs another subvi called sub_B in it. sub_B generates a plot. I would like to display this plot in my main VI.

 

I tried to apply the same principle to this problem but sub_A does not send the plotting information to mainVI until sub_B is completed.

 

I will appreciate any suggestions to solve this problem.

 

I attached the VI's.

 

Thanks.

0 Kudos
Message 1 of 4
(2,905 Views)
Solution
Accepted by topic author sezhesta

The solution to this problem is available in the following discussion:

 

http://forums.ni.com/t5/LabVIEW/show-graph-that-is-created-in-a-subvi/m-p/2390892#M741487

0 Kudos
Message 2 of 4
(2,880 Views)

Hi,

 

We use the Labview 2012 but the two level VI reference doesn't work for our case. We download the the example but it cannot display the 3rd level subVI's graph in the first level in real-time.

 

The VI reference can display information from 3rd level VI to 2nd Level VI simultaneous, but when the VI reference is created from 2nd level VI to 1st level VI, there is no real-time update. What we need is a real-time update from level-3 to level 1.

 

We have tried to use global variable but it does't work.

 

Any one works out the 3 levels real time display?

0 Kudos
Message 3 of 4
(2,823 Views)

@monglebest wrote:

Any one works out the 3 levels real time display?


It seems that you're confusing with the concept presented in the movie Inception. In LabVIEW it doesn't matter what level of subVI is currently executing, and you can update the graph using references from any level deep.

 

Check the attached example here in this post.

 

You also want to show your code.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 4 of 4
(2,815 Views)