Chirp Pattern VI
- Updated2025-07-30
- 2 minute(s) read
Generates an array containing a chirp pattern.

Inputs/Outputs
samples
—
samples is the number of samples of the Chirp Pattern. The default is 128.
amplitude
—
amplitude is the amplitude of Chirp Pattern. The default is 1.0.
f1
—
f1 is the beginning frequency of Chirp Pattern in normalized units of cycles/sample.
f2
—
f2 is the ending frequency of Chirp Pattern in normalized units of cycles/sample.
Chirp Pattern
—
Chirp Pattern is a signal with frequency ramping from f1*fs to f2*fs, where fs is the sampling rate.
error
—
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
If the sequence Y represents Chirp Pattern, the Chirp Pattern VI obtains the elements of Y using the following equation:
yi = A*sin((0.5*a*i + b)*i)for i = 0, 1, 2, …, n – 1
where A is amplitude,
a = 2π(f2 – f1)/n, b = 2πf1, f1 is the beginning frequency in normalized units of cycles/sample, f2 is the ending frequency in normalized units of cycles/sample, n is the number of samples.
samples
—
amplitude
—
Chirp Pattern
—
error
—