This is an old revision of the document!
The Square Wave block generates a square wave at a constant level and at different frequencies.
This block has checkbox to enabled or disabled the algorithm. Check the box to enable this algorithm. It has the numeric text box to edit the frequency to generate the square wave at different frequencies.
|Output channel 0
|GUI Parameter Name
|0 to 0.5* sample rate
|Sets the frequency for square wave
|Enabled/Disabled the algorithm for the channel, When the algorithm is disabled, the output pin will output a constant value 0.0
|Sin value for generating a square wave at particular frequency
|Cos value for generating a square wave at particular frequency
|Enabled/Disabled the algorithm
Sin = sin(2*π*fs/FS)
Cos = cos(2*π*fs/FS)
Where fs is frequency and FS is the sampling rate