Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started