LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview project

 make a program that takes 5 numbers between 0 and 50 and do the following:

1-the program insert the numbers in a array

2- the program stores the numbers from lowest to highest

3-the program calculates the minimum, maximum and mean value

4-if the mean value is below 45 , the program display '' average below 45'', otherwise program display ''average above 70''

0 Kudos
Message 1 of 4
(2,292 Views)

I would think that your class has covered everything required to solve this. Show is what you have tried and tell us what problems you cannot figure out and we will be happy to point you in the right direction.

 

(Side note: the word "project" in LabVIEW has a very specific meaning, so don't use it in the subject unless you are actually discussing a LabVIEW project (*.lvproj). My guess is that a simple VI (*.vi) is all you need for this simple task).

0 Kudos
Message 2 of 4
(2,287 Views)

@k96 wrote:

 

4-if the mean value is below 45 , the program display '' average below 45'', otherwise program display ''average above 70''


Why would you have your program do that? There are quite a few numbers between 45 and 70 that you're forgetting about!

0 Kudos
Message 3 of 4
(2,258 Views)

It would be very difficult to get an average over 70 if all numbers are below 50. 😄

0 Kudos
Message 4 of 4
(2,245 Views)