Generates a square wave point by point.

This VI is similar to the Square Wave VI.

Note By default, reentrant execution is enabled in all Point By Point VIs.


icon

Inputs/Outputs

  • cdbl.png duty cycle (%)

    duty cycle is the percentage of time a square wave remains high versus low over one period. The default is 50.

  • cdbl.png amplitude

    amplitude is the amplitude of square wave. The default is 1.0.

  • cdbl.png frequency

    frequency is the frequency of square wave in Hz. The default is 1.

  • cdbl.png phase

    phase is the shift of the waveform, in phase.

  • cdbl.png time

    time is the independent variable. Set time to increment at a constant, positive rate.

    samples per period = 1/(frequency · time).

  • idbl.png square wave

    square wave is the output square wave.

  • square wave = amplitude × square (p)

    where