discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Re: Using UHD with one USRP and trying to verify that


From: Isaac Gerg
Subject: [Discuss-gnuradio] Re: Using UHD with one USRP and trying to verify that Im sending data
Date: Wed, 26 Jan 2011 21:46:46 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Wait a minute... 

Im receiving constantly and sending only here and there... should i be using the
multiusrp interface (Im only using 1 USRP but the basic rx and tx dboards)? 
Currently, Im using the single one.

Also, do send out a stream of data here and there what should my code look like?

Right now, I have:

Int32 s = pVec->size();
    uhd::tx_metadata_t md;
    md.start_of_burst = false; //never SOB when continuous
    md.end_of_burst   = true;

    //send the entire contents of the buffer
    // This should be the only place where data is sent over the air!
    m_pDev->send(&((*pVec)[0]), s, md,uhd::io_type_t::COMPLEX_FLOAT32,
uhd::device::SEND_MODE_FULL_BUFF);


Thx,
Isaac




reply via email to

[Prev in Thread] Current Thread [Next in Thread]