LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data coming out of a loop, how can I represent them to be similar like they were in the loop?

If I link the vi "filter 2 1.03" located in the "analysis" vi (independantly from "analysis") to the "Global" vi located in the "3 dim-graph" vi and the link this to a 3D graph, I get the graph I looking for.

Here, the "filter 2 1.03" vi is located in the "Analysis" vi and the data traverse a loop before going to the "Global" vi, located in "3 dim graph" vi.

How can I do to have the data going in the "Global" vi, like if they were just coming out from the "filter 2 1.03" vi?

Summer
0 Kudos
Message 1 of 5
(2,983 Views)
When I try to open your VIs, they come up broken. You may want to save the VIs as a development library. Open the VI >> file >> save as >> development distribution. I also cannot follow exactly what you need. Would it be possible to simply your code down to the exact problem? This will help us tremendously in giving you a solution.

Jeremy
0 Kudos
Message 2 of 5
(2,983 Views)
Like Jeremy, I too couldn't completely open your VI but I did notice a couple of for loops with outputs autoindexed. A scalar exiting a for loop becomes a 1-D array and a 1-D exiting becomes a 2-D array. If you had a graph inside one of the for loops and need to move it outside, then use an index array function to get what you need.
0 Kudos
Message 3 of 5
(2,983 Views)
Sorry, my question was not very clear. I thought that there was a problem with the loops. I used the "Index array functions" according to Dennis Knutson and it helped. Next time I will send the vis with the development distribution like you advised. Thanks a lot for your help.

Summer
0 Kudos
Message 4 of 5
(2,983 Views)
Hi Dennis,

I used the "Index array function" and it helped. Now the 3D graph is working. Thanks a lot for your help.

Summer
0 Kudos
Message 5 of 5
(2,983 Views)