Admin Production ni-theme
Current Publication

PeriodicSinc

LabWindows/CVI

PeriodicSinc

Advanced Analysis Library Only

AnalysisLibErrType PeriodicSinc (ssize_t numberOfElements, double amplitude, double delay, double samplingInterval, int periodicSincCoeff, double periodicSincPattern[]);

Purpose

Generates a periodic sinc pattern.

This function obtains the element of the output array using the following formula:

where

Parameters

Input
Name Type Description
numberOfElements ssize_t The number of elements to generate.
amplitude double Peak amplitude of the pulse.
delay double Shifts the peak of the pulse.
samplingInterval double The sampling interval, which must be positive.
periodicSincCoeff int The number of elements to generate.
Output
Name Type Description
periodicSincPattern double [] The generated periodic sinc pattern.

Return Value

Name Type Description
status AnalysisLibErrType A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.

Additional Information

Library: Advanced Analysis Library

Include file: analysis.h

LabWindows/CVI compatibility: LabWindows/CVI 8.1 and later