KEMBAR78
Exp - 5a Function Generator | PDF
0% found this document useful (0 votes)
129 views5 pages

Exp - 5a Function Generator

The document outlines an experiment to generate basic waveforms—Sine, Square, Triangular, and Sawtooth—using LabVIEW's Basic Function Generator.vi. It describes the theory behind the function generator, the parameters used, and the step-by-step procedure to create and visualize these waveforms. The experiment successfully demonstrates the generation of these waveforms by adjusting frequency, amplitude, and phase values.

Uploaded by

swarnakunche6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
129 views5 pages

Exp - 5a Function Generator

The document outlines an experiment to generate basic waveforms—Sine, Square, Triangular, and Sawtooth—using LabVIEW's Basic Function Generator.vi. It describes the theory behind the function generator, the parameters used, and the step-by-step procedure to create and visualize these waveforms. The experiment successfully demonstrates the generation of these waveforms by adjusting frequency, amplitude, and phase values.

Uploaded by

swarnakunche6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Exp No: 5 (a)

GENERATION OF BASIC WAVEFORMS USING FUNCTION GENERATOR

AIM: - To generate basic waveforms—Sine, Square, Triangular, and Sawtooth—using


LabVIEW's Basic Function Generator.vi by setting frequency, amplitude, and phase values.

THEORY:

LabVIEW is a graphical programming environment used for instrument control, signal generation,
and data acquisition. In this experiment, we utilize the built-in Basic Function Generator.vi, a
versatile block that allows users to simulate standard waveforms digitally without any external
hardware.
This VI supports the generation of:
- Sine Wave – smooth periodic oscillation,
- Square Wave – abrupt transitions between high and low values,
- Triangular Wave – linear rise and fall,
- Sawtooth Wave – sharp rise/fall with gradual decay/growth.
Parameters Used:
- Frequency (Hz) – Controls how fast the waveform oscillates.
- Amplitude (V) – Sets the peak height of the waveform.
- Phase (Degrees) – Determines the initial angle or horizontal shift of the signal.
An enum control is used to select the waveform type dynamically from the front panel. The
waveform is plotted in real time on a Waveform Graph for visualization.
This experiment reinforces concepts in signal generation, waveform synthesis, and parameter-
based control of signals in real-time.
PROCEDURE:
1. Open LabVIEW and create a new blank VI.
2. On the Front Panel:
-Place three knob controls and rename them as:

• Frequency (set range: 0 to 100 Hz)


• Amplitude (set range: 0 to 10)

• Phase (set range: 0° to 360°)

- Add an enum control and name it Signal Type, with entries: Sine, Square, Triangle, and
Sawtooth.
- Place a Waveform Graph to display output.
3. On the Block Diagram:
- Use the Basic Function Generator.vi from the Signal Processing palette.
- Connect Frequency, Amplitude, Phase, and Signal Type inputs to the VI.
- Connect the output of the function generator to the Waveform Graph.
4. Run the VI and observe the waveform.
5. Change values of frequency, amplitude, phase, and waveform type to observe corresponding
changes in the graph.
BLOCK DIAGRAM:
FRONT PANEL

SINE WAVE:
SQUAREWAVE:

TRIANGULAR WAVE:
SAWTOOTH WAVE:

RESULT: Basic waveforms (Sine, Square, Triangular, and Sawtooth) were successfully
generated using Basic Function Generator.vi by setting appropriate values for frequency,
amplitude, and phase.

You might also like