# Labview-How to generate sine wave
###### tags: `Labview`
### Step 1 : Establish the GUI
:::info
Drag a *Waveform Graph* from cateory **Graph**.

:::
:::info
Drag *Numerical Control* for *number of points* and *amplitude* from cateory **Numeric**.

:::
### Step 2 : Make a loop
:::info
Draw a *For Loop* then attach *number of points*.
Call *For Loop* from **Structures**.

:::
### Step 3 : Call the *sine function*
:::info
Call from **Mathematic-Elementary-Trigonometric**.

:::
### Step 4 : Write the calculation
:::info
Call *the constant* and *operators* from **Numeric**.


:::
:::info
*number of points* devided by 2pi then multiply *sine function* and *amplitude*.

:::
### Step 5 : Result
:::info

:::
### 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>