Question: 2 . In measurement systems, relative error ( Rel Err ) is defined as:Where Xmeasured is the measured value and Xtrue is the true value

2. In measurement systems, relative error (Rel Err) is defined as:Where Xmeasured is the measured value and Xtrue is the true value of a measurement. Often, relative error is given in terms of an absolute value.Assume that you have conducted the analog loopback test in module 1, but instead of applying a fixed DC signal, you applied a sinusoidal signal to the analog output terminal and measured the values using the analog input terminal and saved them in the relative_err_test_data.txt file (You can download this file from eClass).Develop a VI that determines the relative error of the measured values. Use relative_err_test_data.txt to test your VI. The VI should have the following functionalities: Reads the data file and stores time, real (i.e., Xtrue), and measured (i.e., Xmeasured) values, in separate 1D arrays. Hint: use the Read Delimited Spreadsheet.vi Displays time, real, and measured values on the Front Panel using separate array indicators. Calculates the absolute value of the relative error for each measured point. Displays the calculated relative errors on the Front Panel using a separate array indicator. Plots relative error versus time using a Waveform Graph. Hint: Waveform Graphs plot Y values (in the form of 1D arrays) versus fixed timing data which includes start time (e.g. t0=0) and a fixed time interval (e.g. t =0.01, if you are generating data at 100 Hz). The Y values, t0, and t need to be bundled together before being connected to a Waveform Graph as shown below:a) Submit your VI through eClassb) Comment on the following questions:a. What is the amplitude of the sinusoidal signal?b. What is the frequency of the sinusoidal signal?c) Describe the observed relative error trends. At what measurement times do the relative error peak? Why?

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!