I'm trying to set up limit testing for a system that outputs a voltage based an input pressure (psi). Unfortunately, I keep getting the error "Waveforms have different dt values" from the "Limit Testing Frequency.vi" module. My setup is as follows:
The upper and lower limits values are arrays of psi,voltage based on the formula:
Voltage=A*psi +B, where A and B are constants for the respective upper and lower limits. The Voltage is computed at psi values of [10, 20, ..., 90, 100]. Each of these arrays are feed into "Create Continuous Mask.vi". dx for these modules = (100-10)/(10-1) and x = 10
I need to compare those limits against data that is acquired from a DAQ. The data consists of 125 points that follow the form of:
Voltage=0.038055*psi+0.574909
The pressure follows an expotential curve similar to:
psi = 110*(1-exp(-0.05*(data point)))
These two are combined into an array of (psi, voltage) and feed into a "Create Continuous Mask.vi" module with settings of dx = (110-0)/(126-1) and x = 10
I can graph all three curves (upper, lower, acquired data) without a problem. Is the "Waveforms have different dt values" problem because the "test data vs pressure" is curved while the "limits vs pressure" is linear? Is there anyway around this?
I'm using Labview 8.5 Developer Suite on Windows XP.
Thank you for your help,
Ron