This is an old revision of the document!
Click here to return to the Sources page
The Pulse Generator block generates pulse at different frequencies with a configurable duty cycle.
This block has checkbox to enabled or disabled the algorithm. Check the box to enable this algorithm. It has the text fields for frequency and duty cycle to generate the pulse at different frequencies with different “ON” and “OFF” time of the pulse.It has the radio button to round the coefficients.
|Output0||Control||Output channel 0|
|GUI Parameter Name||Default Value||Range||Function Description|
|Frequency||0.01||0.01 to 0.5* sample rate||Sets the frequency for pulse|
|ON||True||True/False||Enable/Disable the algorithm for the channel. When the algorithm is disabled, the output pin will send out a constant value 0.0|
|DutyCycle||2.08||0 to 100||Controls the ON time and OFF time of the pulse|
|RoundCoeff||false||True/False||Enable/Disable the frequency step rounding|
|Frequency||Step size for generating the pulse for specified frequency||Float|
|DutyCycle||Controls the ON and OFF time of the pulse||Float|
|ON||Enable/Disable the module||Float|
|RoundCoeff||Roundoff the frequency coefficient||Float|
Where fs is frequency and FS is the sampling rate