Multi_usrp examples in trunk

Hi all,

after some time searching through the list archives I was not able to
find out what happened to the multi_usrp.py file which is needed to run
the the multi_usrp/multi_usrp_rx_cfile.py and
multi_usrp/multi_usrp_rx_oscope.py in the examples directory.

I found in the svn log, that they haven’t been converted to hier_block2
yet. (Rev. 7607 afaik)

After changing some code in usrp_multi.py and manually copying it to the
python dist-packages directory, I was able to run the
multi_usrp/multi_usrp_rx_cfile.py, which seemed to work fine. Looking
at the samples in Octave they seemed fine too.
However I was not able to get the multi_usrp_rx_oscope.py to run, as I
was not able to convert the scopesink stuff in it to scopesink2.

Although it’s flagged as unsupported, I think it would be nice to have
this kind of examples running. If there’s interest in fixing this I
could send my changes for others to check. If there’s
no interest in fixing it I don’t see the point in keeping the example in
current versions.

Best regards,

Moritz

On Fri, Aug 07, 2009 at 09:13:52AM +0200, Moritz Fischer wrote:

After changing some code in usrp_multi.py and manually copying it to the
current versions.

Best regards,
Moritz

It would be great to have it running. Please fix it and send a patch.

FWIW, the reason it’s still there is so that somebody who cares (== you)
doesn’t have to start from zero :wink:

Eric

Hmmm, didn’t I send a patch out way, way, back (last summer?) to convert
the
multi_usrp.py code to hier_block2? Perhaps I forgot to hit the send
button.
I can’t find it in a quick search just now. FWIW, I don’t remember ever
getting the multi_usrp_oscope working, but I was mainly working with
multi_usrp_rx_cfile.py at the time.
Doug

On Fri, 2009-08-07 at 12:59 -0700, Eric B. wrote:

It would be great to have it running. Please fix it and send a patch.
I’ll do that, after trying for a whole day, I finally sent the message
to the list, and about 20mins later I managed to make some progress :-/
However I still have not managed to get the ‘-s’ switch for attaching
the counters to the scopesink to work together with 4 channels.
I’ll have another look and sent the patch next week.
If I will still be to stupid to complete the somewhat simple task of
determining the correct number of inputs for the scope with 4 channels
and ‘-s’ switch from options.nchan and options.show_counters I will cry
again to the list for help :wink:

Does someone know what the maximum number of channels one can attach to
the scopesink2 is?

FWIW, the reason it’s still there is so that somebody who cares (==
you)
doesn’t have to start from zero :wink:
:slight_smile:

Best regards,

Moritz

On Sun, Aug 09, 2009 at 01:22:03PM +0200, Moritz Fischer wrote:

and ‘-s’ switch from options.nchan and options.show_counters I will cry
again to the list for help :wink:

Does someone know what the maximum number of channels one can attach to
the scopesink2 is?

The current limit is 8, but it’s arbitrary. See gr_oscope_guts.h

Eric

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs