I have copied rx_streaming_samples.cc from “usrp2/host/apps” to a local
directory, compiled and linked with libusrp2 etc. It works. However, in
a first small step towards transmitting with the usrp2 I added
“u2->set_tx_center_freq(1902.5e6, &tr)” just before the end of main (and
nothing more). The command fails.
In an effort to find the error we used wiresharc and were able to see
the command from the host being transmitted and a response being sent
from the usrp2. However, the host doesn’t seem to be satisfied with the
received packet.
I have copied rx_streaming_samples.cc from “usrp2/host/apps” to a local
directory, compiled and linked with libusrp2 etc. It works. However, in
a first small step towards transmitting with the usrp2 I added
“u2->set_tx_center_freq(1902.5e6, &tr)” just before the end of main (and
nothing more). The command fails.
Which version of the trunk software are you using?
On Thu, Apr 09, 2009 at 04:47:07PM +0200, Per Z. wrote:
Dear All,
I have copied rx_streaming_samples.cc from “usrp2/host/apps” to a local
directory, compiled and linked with libusrp2 etc. It works. However, in
a first small step towards transmitting with the usrp2 I added
“u2->set_tx_center_freq(1902.5e6, &tr)” just before the end of main (and
nothing more). The command fails.
In an effort to find the error we used wiresharc and were able to see
the command from the host being transmitted and a response being sent
from the usrp2. However, the host doesn’t seem to be satisfied with the
received packet.
I am trying to issue 50000 calls to tx_16sc (of 371 samples each i.e.,
one ETH packet per call) to the USRP2. I transmit a simple sinuswave. If
I set “send_now=1” in the metadata it works as expected and I can see
the signal on a spectrum analyzer. If I set send_now=0 I can only
occasionally see the signal pass and then for only very short time. Here
are some more details: I first receive a few frames to get the
time-stamp from the received frames, this timestamp is stored in the
variable last_time_stamp. Then I transmit using the code below (the
interpolation factor is set to 10). Is there anything I have
misunderstood ?
In an effort to find the error we used wiresharc and were able to see
the command from the host being transmitted and a response being sent
from the usrp2. However, the host doesn’t seem to be satisfied with the
received packet.
Have you got this issue with USRP2 solved.
We’re now couping with the similar issue setting the tx_timestamp for
choosing a synchronized transmitting time for 2 usrp2.
We use sync_every_pps(true) for reseting the timestamp counter every 1
second with external PPS input. and set the timestamp to 99999999.
But it doesn’t work when interporlation rate lower than 10.