NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

order a vector using recursion recursion

good morning, I'm performing three Vi consisting of a main, and two sub VI, in the first sub VI the values are entered using a structure event in which every time the button is priced it stores the value in a vector, the next Sub VI takes that vector and sorts it from less than large, but this sub VI must have recursion to sort the vector, the vector entered in clutter and ordered is shown in the main VI. my drawback is that I don't know how to develop recursion maybe you can help me please. attached my files

0 Kudos
Message 1 of 2
(1,817 Views)

This is a LabVIEW issue that is already solved. The solution is in the next link:

Order a vector from highest to lowest using recursion

Staff Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(1,781 Views)