# Labview-How to generate sine wave ###### tags: `Labview` ### Step 1 : Establish the GUI :::info Drag a *Waveform Graph* from cateory **Graph**. ![](https://i.imgur.com/cZLnxxW.png) ::: :::info Drag *Numerical Control* for *number of points* and *amplitude* from cateory **Numeric**. ![](https://i.imgur.com/Oumqj67.png) ::: ### Step 2 : Make a loop :::info Draw a *For Loop* then attach *number of points*. Call *For Loop* from **Structures**. ![](https://i.imgur.com/NDdosWu.png) ::: ### Step 3 : Call the *sine function* :::info Call from **Mathematic-Elementary-Trigonometric**. ![](https://i.imgur.com/gDq6R6Q.png) ::: ### Step 4 : Write the calculation :::info Call *the constant* and *operators* from **Numeric**. ![](https://i.imgur.com/rbNsTxK.png) ![](https://i.imgur.com/bYEDtbW.png) ::: :::info *number of points* devided by 2pi then multiply *sine function* and *amplitude*. ![](https://i.imgur.com/kwdlNEi.png) ::: ### Step 5 : Result :::info ![](https://i.imgur.com/Y83bbbQ.png) ::: ### Teaching video <iframe width="900" height="506" src="https://www.youtube.com/embed/Amm5mVxbM48" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>