From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,310 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,305 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,276 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,263 Views)