You are on page 1of 5

Laboratory Report

Experiment Number 03

Date of Experiment 04/09/2023

Date of Submission 18/09/2023

Name of the student Aman Srivastava

Roll Number 2204084

Section ETC-2

Aim of The Experiment:- Overview of LabVIEW for signal processing and design &
determination of frequency, amplitude and phase of various types of signals using
LabVIEW(Design Problem:To design a virtual waveform generator (Sine, Square,
Triangular, Sawtooth) using case structures in LabVIEW.)

Equipment and Software Required:-


The Equipment and Software required are as follows: NI LabVIEW

Objective:- The objective is to design and implement a virtual waveform generator using case
structures in LabVIEW. This virtual waveform generator should be capable of generating four
different types of waveforms: Sine, Square, Triangular, and Sawtooth.

Theory:-
LabVIEW (Laboratory Virtual Instrumentation Engineering Workbench) is a powerful and
versatile software platform developed by National Instruments for various applications,
including signal processing.A virtual waveform generator is a software program that can
generate and output different types of waveforms, such as Sine, Square, Triangular, and
Sawtooth waveforms.
Signal Processing Functions: LabVIEW provides a comprehensive set of built-in signal
processing functions and libraries, including filtering, Fourier analysis, spectral analysis,
convolution, and statistical analysis, among others. These functions are available as blocks that
you can drag and drop onto the block diagram.

Using LabVIEW for Determination of Frequency, Amplitude, and Phase of Signals:


LabVIEW can be used to determine the frequency, amplitude, and phase of various types of
signals through a combination of signal processing and analysis techniques. Here's a theoretical
overview of how you can achieve this:

Signal Acquisition: Begin by acquiring the signal of interest using LabVIEW's data acquisition
capabilities. Ensure that the signal is properly sampled and conditioned for further processing.
Frequency Analysis: Use LabVIEW's Fourier transform functions (such as the Fast Fourier
Transform) or other spectral analysis tools to convert your time-domain signal into the frequency
domain. This transformation reveals the frequency components present in the signal.
Amplitude and Phase Analysis: Analyze the magnitude and phase information from the
frequency domain representation to determine the amplitude and phase of specific frequency
components.
Visualization: Display the frequency, amplitude, and phase information on the front panel using
waveform graphs, charts, or indicators for clear visualization.

Operations: LabVIEW allows you to perform mathematical operations on signals, such as


addition, subtraction, multiplication, and convolution, which can be useful for various signal
processing tasks.
Real-Time Processing: LabVIEW Real-Time modules enable you to perform signal processing
tasks in real-time, making it suitable for applications with strict timing requirements.

Block Diagram for Waveform Generation:-


1.Basic Function Generator

Fig.1 Basic function generator waveform graph (front panel and block diagram)
2.Sine Waveform

Fig.2 Sine waveform graph (front panel and block diagram)

3.Square Waveform
Fig.3 Square waveform graph (front panel and block diagram)

4.Triangle Waveform

Fig.4 Triangle waveform graph (front panel and block diagram)


4. Sawtooth Waveform

Fig.5 Sawtooth waveform graph (front panel and block diagram)

Inference of the experiment:


By following these design considerations, you can create a robust virtual waveform generator in
LabVIEW that provides users with the ability to generate and visualize different types of
waveforms. LabVIEW's graphical programming environment makes it easy to design and
modify such VIs.

Conclusion:
LabVIEW has been successfully used for determining the output graphs for virtual waveform
generator such as Sine, Square, Triangular, Sawtooth using case structures using the parameters
frequency, amplitude, and phase.
LabVIEW is a versatile and powerful tool for signal processing tasks. Its ability to handle both
real-time and offline signal processing tasks make it an indispensable tool.

………….……………..
Faculty Signature

You might also like