Advanced Analysis Library Only
AnalysisLibErrType ScaledWindowEx (double xArray[], int numberOfElements, int windowType, double windowParameter, WindowConst *windowConstants);
Applies a scaled window to a real signal. National Instruments recommends that you use ScaledWindowEx instead of ScaledWindow. ScaledWindowEx supports more window types than ScaledWindow.
Input | ||
Name | Type | Description |
numberOfElements | integer | The number of elements in xArray. |
windowType | integer | The type of window to apply. windowType must be one of the following values:
|
windowParameter | double-precision | The window parameter. This parameter is referenced only if windowType is one of the following values:
|
Output | ||
Name | Type | Description |
xArray | double-precision array | On entry, the input signal. On exit, the output signal with the selected window applied. |
windowConstants | WindowConst | Pointer to a structure that contains the following useful constants for the selected window:
typedef struct { double enbw; double coherentgain; } WindowConst; |
Name | Type | Description |
status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |