Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Nov 5, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

RF Simulation Demo: Sampling Theorem

2 ratings | 5.00 out of 5
Print

Overview

The sampling theorem states that, if the sampling rate in any pulse modulation system exceeds twice the maximum signal frequency, the original signal can be reconstructed in the receiver with minimal distortion. The sampling theorem is used in practice to determine minimum sampling speeds.

Downloads

Filename: sampling_theorem.vi
Requirements: View

Procedure:

1. Place the Simulate Signal VI in the block diagram and configure it with signal type and frequency.

2. Place a numeric control for sampling frequency in front panel.

3. Place the arithmetic VI in the block diagram in order to calculate the aliasing effect.

4. Place the Resample Waveform VI in the block diagram to do sampling the simulated signal.

5. Place the FFT function VI in the block diagram in order to get the frequency waveform of the simulated signal.

6. Place the waveform graphs in the front panel and connect the blocks to output of each function in Block diagram.

7. Place the sub diagrams inside the while loop in order to repeat the operation until the stop button is enabled.

Observations:

1. Observe the sampling theorem concept by varying the simulated signal
frequency and sampling frequency

2. Observe the aliasing effect by varying the simulated frequency.

Requirements


Filename: sampling_theorem.vi

Software Requirements


Application Software: LabVIEW Professional Development System 7.1

 
2 ratings | 5.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).