11-13-2018 10:00 AM
Im very new to labview and am trying to convert number grades from 1-100 to letter grades as in A,B,C,D,F
11-13-2018 10:47 AM
Ouch! Those colors are hurting my eyes.
Search the forums, I'm sure this question as come up before.
Look at using Threshold 1-D array. Use your grade on an array of grades (0, 50, 60, 70, 80, 90) Round the results down. Then use that index to index out an array of letter grades.
11-13-2018 11:05 AM
You can also do it with a case structure with 5 frames. Here's a screenshot with one frame, see if you can figure out what the other frame values are.
11-13-2018 11:27 AM
@RavensFan wrote:
Search the forums, I'm sure this question as come up before.
Something very similar just the other day: How to apply multiple if statements to one input
11-13-2018 12:10 PM
If you really want a covert SubVI, you can remove the icon, or get really fancy and decorate the icon to look like a wire so no one knows it is there. In the first picture I put a gray border around the SubVI so you can see it, but in the second I took out the gray border but the SubVI is still there.
11-13-2018 12:12 PM
Greg,
Interesting, but what does that have to do with the current thread?
11-13-2018 02:00 PM
OP said "covert" in the title. gregoryj the troll.
11-13-2018 02:20 PM
Ahh. I completely overlooked that.
11-13-2018 02:51 PM
Other thread about "Grade books".
Seems to be a common student homework nowadays - for a whole bunch of them… 😄