04-06-2025 11:04 PM
Hey everyone,
For this homework problem I am doing, I managed to create most of the program for it however, I cant seem to have the output for this rank the "students" for this question in order. The question is essentially asking based on the student scores rank them with their grades from highest to lowest. I tried using the sort 1D array function and did not seem to work for my program. Was wondering if anyone would be able to help me with this, I know it is probably an easy fix looking for some help to learn where I went wrong.
Any help is appreciated!!
TIA 🙂
(saved for LV 2018, prev versions do not have some of the stuff I used in them)
Solved! Go to Solution.
04-06-2025 11:29 PM
(sorry, posting by phone and can only look at your pictures)
In the last loop, don't auto index on the pink array, but use the blue unbundled value to index into it.
(This same problem has been discussed years ago, so search the forum for more ideas)
04-06-2025 11:41 PM
Try to understand this...
04-07-2025 12:29 AM
04-07-2025 09:59 AM
@altenbach wrote:
(sorry, posting by phone and can only look at your pictures)
In the last loop, don't auto index on the pink array, but use the blue unbundled value to index into it.
Here's what I meant.
(Note that when attaching code, you should fill the controls with some typical default values before saving so we have something to play with)
04-07-2025 12:52 PM
Awesome thank you so much!! This cured my big headache lol
04-07-2025 12:55 PM
Aha thank you! I find that for things I am not very good at (such as LabVIEW) it helps a lot more in the long run if I try and learn as much as possible rather than search for the answer. It is good practice for when I need to do projects with LV + the logic for LV is similar to other coding languages so it is good practice for that as well!