WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2019-Feb-12 06:05:24

Muneeb
Member
Registered: 2019-Jan-15
Posts: 12

WARPLab 7 Example: SISO OFDM

Hello,

I am reading the description of SISO OFDM example, I could not understand the meaning of the sentence mentioned below:

"The script can run with WARP hardware in the loop or it can run as a standalone MATLAB simulation of a complete OFDM transmitter and receiver."
Can someone please elaborate.

Thanks :)

Offline

 

#2 2019-Feb-12 09:01:39

chunter
Administrator
From: Mango Communications
Registered: 2006-Aug-24
Posts: 1212

Re: WARPLab 7 Example: SISO OFDM

That script was written so that it simulates a transmission and reception if you don't happen to have two configured nodes currently connected. You can change the USE_WARPLAB_TXRX to 0 if you want to run the script in simulation mode.

Offline

 

#3 2019-Feb-14 13:20:57

Muneeb
Member
Registered: 2019-Jan-15
Posts: 12

Re: WARPLab 7 Example: SISO OFDM

Thanks for the reply. Just to make it clear, if I put the value of USE_WARPLAB_TXRX = 1, then the WARP boards won't be active?

Offline

 

#4 2019-Feb-14 13:30:38

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: WARPLab 7 Example: SISO OFDM

Thanks for the reply. Just to make it clear, if I put the value of USE_WARPLAB_TXRX = 1, then the WARP boards won't be active?

No. Please look at the code - it's clear from the comments and use of the USE_WARPLAB_TXRX variable how to select hardware or sim-only modes.

Offline

 

#5 2019-Feb-15 02:41:17

Muneeb
Member
Registered: 2019-Jan-15
Posts: 12

Re: WARPLab 7 Example: SISO OFDM

Hi,
It is just written like this on the code:

USE_WARPLAB_TXRX        = 0;           % Enable WARPLab-in-the-loop (otherwise sim-only)

Means if this is the case then WARP board will then be active?
Also what does SIM means here? Is it Subscriber Identity Module from GSM?

Thanks!

Offline

 

#6 2019-Feb-15 05:25:10

chunter
Administrator
From: Mango Communications
Registered: 2006-Aug-24
Posts: 1212

Re: WARPLab 7 Example: SISO OFDM

You need to study the code more carefully. If that comment is confusing then look where that variable is actually used in the code. It is only used in 4 places and the first looks like this:

Code:

if(USE_WARPLAB_TXRX)

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % Set up the WARPLab experiment
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    NUMNODES = 2;

    % Create a vector of node objects
    nodes   = wl_initNodes(NUMNODES);

If that variable is set to one, the code will use WARPLab to connect to two boards.

Muneeb wrote:

Also what does SIM means here? Is it Subscriber Identity Module from GSM?

No, none of this example has anything to do with cellular systems. It's not "SIM" but rather "sim" as in simulation. If you don't use hardware (i.e. USE_WARPLAB_TXRX = 0), then the code will simulate some adverse channel conditions to test the receive implementation.

Offline

 

#7 2019-Feb-17 09:01:51

Muneeb
Member
Registered: 2019-Jan-15
Posts: 12

Re: WARPLab 7 Example: SISO OFDM

Thank a lot for the answer. It was really helpful :)

Offline

 

Board footer