Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Question Can plan participants borrow from a VEBA?

Answered: 1 week ago

Question

Question What is an educational benefit trust and how is it used?

Answered: 1 week ago

Question

Question How are VEBA assets allocated when a plan terminates?

Answered: 1 week ago