wiki:WARPLab/Examples

Version 10 (modified by murphpo, 11 years ago) (diff)

--

Examples

This page briefly describes the examples in the M_Code_Examples directory that part of every WARPLab Reference Design Release.

SISO Transmission and Reception Example

File: wl_example_siso_txrx.m

Requirements: 2 WARP v3 kits, 1 antenna each.

This example uses WARPLab7 to transmit a sinusoid from one WARP kit and receives this sinusoid from another. Additionally, a preamble is attached to the beginning of this sinusoid "payload" that can optionally be used by the Automatic Gain Control (AGC) functionality of the receiver to set gains. AGC mode is enabled by a variable at the top of the script called USE_AGC.

MIMO Transmission and Reception Example

File: wl_example_mimo_txrx.m

Requirements: 2 WARP v3 kits, 2 antennas each.

This example is nearly identical to the SISO example, except that both RF interfaces on WARP v3 are used to transmit and receive. We send two different frequency sinusoids -- one from each transmit antenna, and receive the superposition of those sinusoids on both receive antennas.

Synchronized Nodes Example

Please see Synchronized Nodes Example for details and code.