**Category:**Software

**Software Version:**2.1

Hi! Had a question and couldn't find the answer in the documentation or an forum post.

Adding a Sine generator in SigmaStudio+ 2.1 adds these parameters that can be controlled externally:

GUI Control Name | Compiler Name | Function Description |
---|---|---|

Frequency_cos | ToneGenwithPhaseGainBlkAlg1cos | Cos value for generating a particular frequency |

Frequency_sin | ToneGenwithPhaseGainBlkAlg1sin | Sin value for generating a particular frequency |

Phase | ToneGenwithPhaseGainBlkAlg1phasevalues | Cos and Sine value packed for all growths to generate a specific phase |

Gain | ToneGenwithPhaseGainBlkAlg1gain0 | Gain value |

How are these parameters used to setup the sine wave to output a certain frequency? (e.g. 1KHz)