Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

This VI generates 2 signals - -Sawtooth waveform -Triangle waveform Whenever the

ID: 1832090 • Letter: T

Question

This VI generates 2 signals -

-Sawtooth waveform
-Triangle waveform

Whenever the sum of their amplitudes exceeds 2 an LED lights up.
This VI is intended to display the sawtooth and trainagle waveforms being generated, with the grah continuously updating after each iteration.

-I am having difficulties locating and correcting the problem that keeps this VI from working as it should.

-Is there any way to modify this graph to display 2 seperate plots?

I am very stuck and would appriciate anyhelp to solve this problem.

Explanation / Answer

One problem could be that you are using a graph and not a chart. Charts display a continuous view of data being generated, where as a graph will display data after it has been recorded. Also you will need to use the bundle function to display both waves on the chart.(sorry I can't tell what you are using right now to combined the data you want to display, it looks like a build array function i think). I'm not sure what you want with 2 separate plots but you can stack the plots which will show a chart of one wave above a chart of the second waveform. Just right click and hit stack plots, but if you want the 2 waves on the same chart just leave it set at overlaid plots.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote