Generates a cosine waveform.
This VI is reentrant, so you can use EMB Cosine Generator to generate a continuous cosine waveform. This VI remembers the phase of the current waveform and uses this data to continuously generate subsequent waveforms.

If the sequence Y represents the cosine waveform, this VI generates the pattern according to the following equation.
y[i] = amp x cos(phase[i]), for i=0, 1, 2,…, n–1
where
amp is amplitude
n is #s
phase[i] is frequency × 360.0 × i/Fs