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

LabView and Arduino Programming Exercise:Develop aLV program which captures a ti

ID: 2248288 • Letter: L

Question

LabView and Arduino Programming Exercise:Develop aLV program which captures a time- varying voltage signal (you could consider apply a positively biased voltage signal from a function generator). The LV program should chart out the trace of the signal and save the data point to a file (either txt, csv. lus). Use relative time for time stamping in charting and data- logging (1) Place a screen capture of FP of you working LV program, with the signal trace displayed on a chart. 2) Experiment with the sampling frequency. Determine the maximum sampling frequency without destabilizing the LV program. (3) Attach the data file (from data logging) when submitting HW4

Explanation / Answer

Matlab Script:

function [r_eq,max_power]=r_series_max_power(R,P)
r_eq = sum(R);
Imax = max(sqrt(P./R));
max_power = (Imax^2)*r_eq;
end

command window output:

>> [r_eq_1,max_power_1] = r_series_max_power([10 10 10],[5 5 5])

r_eq_1 =

30


max_power_1 =

15.0000

>> [r_eq_2,max_power_2] = r_series_max_power([10 20 20],[5 4 3])

r_eq_2 =

50


max_power_2 =

25.0000

>>