Question: P5.3 Construct a VI that displays a random number between 0 and 1 once every sec- ond. Also, compute and display the average of the

 P5.3 Construct a VI that displays a random number between 0
and 1 once every sec- ond. Also, compute and display the average

P5.3 Construct a VI that displays a random number between 0 and 1 once every sec- ond. Also, compute and display the average of the last four random numbers generated. Display the average only after four numbers have been generated; otherwise display a 0. Each time the random number exceeds 0.5, generate a beep sound using the Beep.vi. For Problem P5.3, name your program P5_3_Average.vi. Use a While loop with a shift register, and include a STOP button on the front panel. Do not use any Select functions on your block diagram; wherever you think you might need a Select function, use a Case Structure instead. Also include numeric indicators on the front panel that display the most recent four random numbers (as well as displaying the average of these four numbers). P5.3 Construct a VI that displays a random number between 0 and 1 once every sec- ond. Also, compute and display the average of the last four random numbers generated. Display the average only after four numbers have been generated; otherwise display a 0. Each time the random number exceeds 0.5, generate a beep sound using the Beep.vi. For Problem P5.3, name your program P5_3_Average.vi. Use a While loop with a shift register, and include a STOP button on the front panel. Do not use any Select functions on your block diagram; wherever you think you might need a Select function, use a Case Structure instead. Also include numeric indicators on the front panel that display the most recent four random numbers (as well as displaying the average of these four numbers)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!