Question: Recreate our in - class demo program that uses a For Loop to iterate N times, where N is controllable by the user. The program

Recreate our in-class demo program that uses a For Loop to iterate N times, where N is controllable by the user. The program should plot N points of a sine wave (so if N is degrees, one cycle of a sine wave is 360 degrees, strictly 0 to 359 degrees since the loop counter 'i' starts at 0).
y=A+B**sin(C**i)
Since the sine function expects an input of radians, include the relationship (conversion, or scaling factor "C") between degrees and radians and use the loop counter 'i' to represent a single degree (how many radians are there in a degree? You are converting 'i' to radians). Also include controls so the user can adjust the magnitude (scaling,"B") and vertical (Y-axis) offset ("A") of the resulting sine calculation.
To find the built-in sine wave function available, hit ctrl-space for quick drop and type sine (it's that easy!), or use search in the block diagram palette. Once again, the input for this function is radians, not degrees. Use a waveform chart (not a graph) to plot each calculation as the loop turns (so inside the for loop), resulting in a plot of however many points of the sine wave the user chooses. Again, this can only be accomplished by placing the waveform chart indicator inside the For Loop. Include a moderate delay (25ms) to "watch" the calculations as they are plotted (make this a user control, which must be inside the for loop).
Please show the block diagram of this displayed in LabVIEW software.
 Recreate our in-class demo program that uses a For Loop to

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!