Please enable JavaScript to view this site.

DAQFactory User's Guide

Navigation: 4 Expressions > 4.12 Expression Operator / Function Reference

4.12.17 Advanced Analysis functions

Scroll Prev Top Next More

Many of the advanced analysis capabilities of DAQFactory can be used directly in expressions for real-time analysis.

These functions are not available in all versions of DAQFactory.

Convolution and Correlation:

Convolve(Value1, Value2)

ConvolveFFT(Value1, Value2)

Correlate(Value1, Value2)

CorrelateFFT(Value1, Value2)

These functions perform convolution or correlation of Value1 and Value2.  The FFT version simply uses an FFT to aid in the calculation.

FFT Functions:

All the FFT functions perform an FFT on the given array.  The difference between them is how the resulting imaginary array is converted into real values:

FFTReal(Value)

Returns the real part of the result of the FFT

FFTPower(Value)

Performs a power function on the result of the FFT

FFTModulus(Value)

Performs a modulus function on the result of the FFT

FFTNorm(Value)

Performs a normalization function on the result of the FFT

FFT Windows:

The following windows are available to be used before performing an FFT operation.  Each simply returns the Value after the window has been applied.

 

Hamming(Value)

Hanning(Value)

Blackman(Value)

BlackmanHarris3(Value)

BlackmanHarris4(Value)

TriangleWindow(Value)

CosineWindow(Value)

PoissonWindow(Value, Alpha)

Histogram:

Histogram(Value, Bin Array): returns value binned into bins as determined by Bin Array.  Bin Array holds the upper limit of each bin.  The resulting array is one element larger than Bin Array.  All elements in Value above the last bin in Bin Array are put in this extra bin.  Note that Bin Array must be in increasing numeric order to work properly.

Interpolation:

InterpolatePoly(X Array, Y Array, Interpolate To Array X)

InterpolateRational(X Array, Y Array, Interpolate To Array X)

Both of these functions interpolate the function described by X vs Y array to the X values given in Interpolate To Array X.  The first function uses a polynomial function to perform the interpolation, the second, the rational function.