LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

new to labview: want vi for sine wave generator

want to build a vi for sine wave generation
0 Kudos
Message 1 of 3
(2,372 Views)
The easiest way to get this is to upgrade to the full version of LabVIEW. The Analysis and Math libraries have the signal generation functions and are not included with the base version of LabVIEW.
0 Kudos
Message 2 of 3
(2,372 Views)
Or... you could build the sine wave mathematically.

x[t] = cos (2 * pi * f * t / Sr)

x[t] = individual points of the sine wave
f = frequency
t = loop index (if you're using a loop)
Sr = sampling rate.

Of course, this gives you a sinusoid from -1 to 1 and you can scale it however you want.

Rob
0 Kudos
Message 3 of 3
(2,372 Views)