Question: In measurement systems, relative error ( Rel Err ) is defined as: Rel Err = x m e a s u r e d -

In measurement systems, relative error (Rel Err ) is defined as:
Rel Err =xmeasured-xtruextrue100
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 100Hz). The Y values, t0, and t need to be bundled together before being connected to a Waveform Graph as shown below:
 In measurement systems, relative error (Rel Err ) is defined as:

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!