wiki:WARPLab/Examples

Version 6 (modified by chunter, 11 years ago) (diff)

--

  • TOC "WARPLab7/TOC" is empty!

WARPLab 7: Examples

This page briefly describes the examples in the M_Code_Examples directory that is checked out when setting up WARPLab7 for the first time.

SISO Transmission and Reception Example

File: wl_example_siso_txrx.m Requirements: 2 WARP v3 boards, 1 antenna each.

This example uses WARPLab7 to transmit a sinusoid from one WARP board 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 boards, 2 antenna 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.