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
Where is the measured value and 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 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 "relativeerrtestdata.txt file You can download this file from eclass
Develop a VI that determines the relative error of the measured values. Use relativeerrtestdata.txt to test your VI The VI should have the following functionalities:
Reads the data file and stores time, real ie and measured ie values, in separate D 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 D arrays versus fixed timing data which includes start time eg: and a fixed time interval eg if you are generating data at The values, and need to be bundled together before being connected to a Waveform Graph as shown below:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
