10-17-2011 11:51 AM
Hi,
I was wondering if there is any kind of "Zero Offset" functionality in Measurement Studio (I am using version 8). I saw this in SignalExpress and it pretty handy. Would would be the best way to achieve this in MS?
thanks,
bk
10-18-2011 07:07 PM
Hi BK,
I don't know of an exact analogue in Measurement Studio. How you would implement it depends largely on which feature of the zero offset you want to use. Do you want to use the first n points of each waveform, do you want to set a constant offset, or do you want to take data specifically for calculating the offset.
Regards,
Luke B.
11-15-2011 06:32 PM
Hello there,
Take a look at the WaveformPlot.DefaultIncrement and WaveformPlot.DefaultStart properties.
You also might want to take a look at this forum post.
Regards,
Vijet Patankar
National Instruments.
11-16-2011 09:44 AM
Vijet/Luke,
I ended up just using the ACDCEstimator and calculating a DELTA between the DC Average and a target offset amount. I thin shifted each element in the data array by this amount. Seemed to work okay. Something like this..
NationalInstruments.Analysis.SpectralMeasurements.Measurements.ACDCEstimator(z, out ac, out dc);
offsetAmount = OffsetTarget - dc;
for (int i = 0; i< data[0].Length ; i++)
{
data[i] += offsetAmount;
}
Viket - thanks for the WaveformPlot ideas. Ill keep these in mind next time.
thanks,
bk