Generates a waveform containing a triangle wave.

If the sequence Y represents Triangle Waveform, this VI generates the pattern according to the following equation.
y[i] = amp × tri(phase[i]), for i = 0, 1, 2, …, n – 1,
where amp = amplitude, n = number of samples (#s), and tri(phase[i]) is:
(2 × pmod/180.0) if 0
pmod < 90.0
or
(2 × (1 – pmod/180.0)) if 90.0
pmod < 270.0
or
(2 × (pmod/180.0 – 2.0)) if 270.0
pmod < 360.0
where pmod = p modulo 360.0 and phase[i] is:
initial_phase + frequency × 360.0 × i/Fs