0% found this document useful (0 votes)
42 views9 pages

Vbil Record 2

This document describes three experiments in LabVIEW: 1. Plotting an ECG waveform by reading raw data from a file. It involves selecting input and output nodes, browsing for the data file, and displaying the signal on a graph. 2. Performing discrete cosine transform on a input sine waveform using the DCT function in LabVIEW. 3. Convolving two signals (sine and sawtooth waves) using FFT, multiplication, and IFFT functions to display the output on a graph.
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)
42 views9 pages

Vbil Record 2

This document describes three experiments in LabVIEW: 1. Plotting an ECG waveform by reading raw data from a file. It involves selecting input and output nodes, browsing for the data file, and displaying the signal on a graph. 2. Performing discrete cosine transform on a input sine waveform using the DCT function in LabVIEW. 3. Convolving two signals (sine and sawtooth waves) using FFT, multiplication, and IFFT functions to display the output on a graph.
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/ 9

EXP NO: 12

READING FILE FROM DATA


AIM: To plot ECG waveform by reading a file containing raw data.
ALGORITHM:
Step 1: Start lab view software and Create blank VI.
Step 2: Create front panel and block diagram panel.
Step 3: Select read from measurement file (input), and place it in the block diagram. (A
table appears after placing it, select ok
Step 4: Double click on the filename. This is for browsing the path required to acquire
ECG raw data.
Step 5: Select waveform graph indicator and place it in the front panel connect signals to
Waveform graph in the block diagram.
Step 6: The double on path, we find a dialogue box filename asking for ECG data
location (In the front panel) browse the path. Here our path is
C:\users\GRIET\Desktop\ECG1.txt
Step 7: Now ECG raw data is acquired and the signal is obtained on the waveform graph.

38

FRONT PANEL:

39

BLOCK DIAGRAM:

RESULT: ECG waveform is plotted by reading its raw data from a file

40

EXP NO: 13

DISCRETE COSINE TRANSFORM


AIM: To perform discrete cosine transform on the given signal
ALGORITHM:
Step 1: Start LabVIEW software and Create a blank VI
Step 2: Create front panel and block diagram panel
Step 3: Generate an input sine waveform from sine vawe.vi.
Step 4: Create a discrete cosine transform (DCT) from dct.vi and output waveform graph.
Create a Numeric Control and rename it as size.
Step 5: Using wiring operations required connections are given in the block diagram.
Step 6: Inputs are given in the front panel and the program is executed.

41

FRONT PANEL:

42

BLOCK DIAGRAM :

RESULT: Hence discrete cosine transform was performed on the given input signal.

43

EXP NO: 14

CONVOLUTION OF TWO SIGNALS


AIM: To perform convolution of two signals using LabVIEW.
ALGORITHM:
Step 1: Start the LabVIEW and select the blank VI.
Step 2: Create front and block diagram panel.
Step 3: Sine wave and saw tooth wave are given as input and the convoluted graph is
determined as output. They are selected by right clicking on the front panel.
Step 4: FFT function, multiplier and IFFT function are selected and placed in the block
diagram panel.
Step 5: Using wiring operations, the two inputs are given to individual FFT and then are
given to the multiplier function. The output of multiplier function is given to IFFT
function and finally given to the waveform graph. The various graphs are connected
to the input and the function outputs.
Step 6: The program is executed and hence the corresponding graphs are obtained.

44

FRONT PANEL:

45

BLOCK DIAGRAM:

RESULT: The convolution of two signals is performed.

46

You might also like