LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What does this vi. do? Its very small

Hello
 
Can somebody please help me understand how does this vi. works?
its supposed to break an array into subarrays somehow but i was not able to find any more details about it or understand fully its functionality
0 Kudos
Message 1 of 3
(2,528 Views)
Looks like some LabVIEW beginner was just playing with various array operations. Doesn't seem to do anything useful.
 
The upper loop Creates a 2D array where each row depends on the input array. The first element is the number of valid elements following on the same row. then length is calculated from the difference of elements N+1 and N. The rest of the row is an increasing ramp with increment 1, starting with the number from the (input array +1).
 
This is repeated for each element in the input array except for the last.
 
The second loop reads the first element to get the lenght back and then gets the following valid elements. When you press stop, it processes the next row until you run out of rows.
0 Kudos
Message 2 of 3
(2,521 Views)
Altenbach hi
 
thank you for your explanation. i didnt get much of that vi myself also.
 
i was wondering if you could help me with a program i am writting for time/pitch scaling for an audio signal. you already helped me once before (estimating the mean of a section of an array) if you recall. i am havin a hard time with the programming in LabVIEW. do you think you could give me some tips? i know the algorithm and how it should perform
 
kind regards
Madgreek
0 Kudos
Message 3 of 3
(2,514 Views)