# Basic Function Generator (Absolute Time)

`Nominal Streaming.lvlib:Basic Function Generator (Absolute Time).vi` · Palette: [Stream](https://dev.nominal.io/ni-labview/ref/stream.md) · [Source](https://github.com/nominal-io/nominal-streaming-labview-ffi/blob/HEAD/lv_src/Channel/Basic%20Function%20Generator%20%28Absolute%20Time%29.vi)

![](https://dev.nominal.io/ni-labview/_images/ae3982b3509c113eed44a5eb966ed049_viicon.png)

![Connector pane of Basic Function Generator (Absolute Time)](https://dev.nominal.io/ni-labview/_images/ae3982b3509c113eed44a5eb966ed049_connpane.png)

## Inputs

**frequency**
:   `DBL` · default `10`

    **frequency** is the frequency of the waveform in units of hertz. The default is 10.

**amplitude**
:   `DBL` · default `1`

    **amplitude** is the amplitude of the waveform. The amplitude is also the peak voltage. The default is 1.0.

**phase**
:   `DBL` · default `0`

    **phase** is the initial phase, in degrees, of the waveform. The default is 0. The VI ignores **phase** if **reset signal** is FALSE.

**signal type**
:   `Enum` · default `Sine Wave`

    One of `Sine Wave`, `Triangle Wave`, `Square Wave`, `Sawtooth Wave`.

    **signal type** is the type of waveform to generate.

**sampling info**
:   `Cluster`

    - `Fs` DBL
    - `#s` DBL

    **sampling info** contains sampling information.

**reset signal**
:   `Boolean` · default `FALSE`

    **reset signal**, if TRUE, resets the phase to the **phase** control value and the time stamp to zero. The default is FALSE.

**square wave duty cycle (%)**
:   `DBL` · default `50`

    **square wave duty cycle** is the percentage of time a square wave remains high versus low over one period. The VI uses this parameter only if the **signal type** is a square wave. The default is 50.

**offset**
:   `DBL` · default `0`

    **offset** is the DC offset of the signal. The default is 0.0.

**error in (no error)**
:   `Error cluster`

## Outputs

**signal out**
:   `Waveform`

    **signal out** is the generated waveform.

**phase out**
:   `DBL`

    **phase out** is the phase of the waveform in degrees.

**error out**
:   `Error cluster`
