LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

order a vector from highest to lowest using recursion

Solved!
Go to solution

Please don't insert camera photos!!!  😞 (you can can just select all on the diagram and paste into microsoft paint!)

 

  1. You need to initialize the shift register with an empty array
  2. use "built array" to append the new element. No need to wire [i]
0 Kudos
Message 11 of 14
(462 Views)

a query that I put in case 1 but because it doesn't recognize the values and I get all zero

0 Kudos
Message 12 of 14
(453 Views)

Please attach the VI. We cannot debug pictures.

 

You made several mistakes:

  1. there is no need for any local variable or array riffle function. What gave you that idea???
  2. The current "1" case should be case "0", right? Now think about what should be in it? (almost nothing!) 
0 Kudos
Message 13 of 14
(451 Views)

Thank you I already solved it

0 Kudos
Message 14 of 14
(444 Views)