Admin Production ni-theme
Current Publication

Chirp

LabWindows/CVI

Chirp

Advanced Analysis Library Only

AnalysisLibErrType Chirp (ssize_t numberOfElements, double amplitude, double f1, double f2, double chirp[]);

Purpose

Generates an array that contains a chirp pattern. Chirp generates the output array x according to the following formula:

where
and where f1 is the beginning frequency in cycles per sample
f2 is the ending frequency in cycles per sample

Parameters

Input
Name Type Description
numberOfElements ssize_t Number of elements to generate in the chirp signal.
amplitude double Amplitude of the resulting chirp signal.

Default Value: 1.0.
beginningFrequency double Beginning frequency of the resulting chirp signal in normalized units of cycles/sample.

Default Value: 0.0.
endingFrequency double Ending frequency of the resulting chirp signal in normalized units of cycles/sample.

Default Value: 0.5.
Output
Name Type Description
chirp double [] The generated chirp 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 3.1 and later