[Discuss-gnuradio] VOLK for outer product of two vectors?

2012-10-21 Thread Alex Zhang
Hi,

I looked at the VOLK to find if there are existing method to calculate the
outer product of two vectors, but found nothing about it.
If no, I have to write a SIMD based outer product method by myself.

Thanks,
-- 

Alex,
*Dreams can come true – just believe.*
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Proposed revision of EU radio directive

2012-10-21 Thread Alex Burr
List members in the EU may find this of interest:

The EC is proposing a new revision of the R&TTE directive, which governs radio 
devices. In particular, 

> The proposal would also introduce some specific requirements, such as:
>    *    ensuring that software can only be used with radio equipment after 
>the compliance of that 
>        particular combination of software and the radio equipment has been 
>        demonstrated;

On the other hand, it also says:

> Verification by radio equipment of the compliance of its combination with 
> software
> should not be abused in order to prevent its use with software provided by 
> independent
> parties. 


Their press release: http://europa.eu/rapid/press-release_IP-12-1109_en.htm
Draft: http://ec.europa.eu/enterprise/sectors/rtte/files/directive/draft_en.pdf

Alex

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Phase Difference

2012-10-21 Thread Shih Oliver

Hi lists,
 I'm using a e100 to send a sinusoid signal to only one N200 through a 
splitter. The two received signals by the same N200 still shows a phase 
difference, and it appears that the phase differs from different runs. What 
should I do to get rid of the phase difference? 
Many thanks in advance. 
Best regards, 
Oliver___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Phase Difference

2012-10-21 Thread Josh Blum


On 10/21/2012 05:35 PM, Shih Oliver wrote:
> 
> Hi lists, I'm using a e100 to send a sinusoid signal to only one N200
> through a splitter. The two received signals by the same N200 still
> shows a phase difference, and it appears that the phase differs from
> different runs. What should I do to get rid of the phase difference?
>  Many thanks in advance. Best regards, Oliver
> 
> 

I may have misunderstood, but it sounds like there is only one receiver
in your setup. How are you measuring phase difference?

You may find this synchronization documentation helpful:
http://files.ettus.com/uhd_docs/manual/html/sync.html

-josh

> 
> ___ Discuss-gnuradio
> mailing list Discuss-gnuradio@gnu.org 
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Timed commands capabilities

2012-10-21 Thread Nowlan, Sean
Hi all,

Has anyone pushed timed commands to their limits? I have a few questions:

1) How many commands fit in the queue?
2) How far in the future can you schedule a timed command?
3) Does the set_command_time() call (and subsequent command call) block? Should 
these take roughly as much time as the RTT over Ethernet to an N200?
4) I don't necessarily want to call timed commands from the top level GNU Radio 
flowgraph. I want to delegate that to a custom GNU Radio block. Can commands to 
the USRP be called from a GNU Radio block other than uhd_usrp_source/sink? If 
so, what's the best way to communicate between the threads?
5) If I can't do #4 due to GNU Radio's architecture, would it make sense to use 
stream tags to associate a parameter change (like gain or frequency) with a 
sample in the stream and implement the timed command calls in 
gr_uhd_usrp_source/sink blocks acting when it sees the tags?

Thanks,

Sean Nowlan

--

Sean M. Nowlan
Research Engineer I
ICL/CNSD
Georgia Tech Research Institute
250 14th St NW, Suite 470
Atlanta, GA 30318

404.407.7952
sean.now...@gtri.gatech.edu

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Timed commands capabilities

2012-10-21 Thread Josh Blum


On 10/21/2012 07:40 PM, Nowlan, Sean wrote:
> Hi all,
> 
> Has anyone pushed timed commands to their limits? I have a few
> questions:
> 
> 1) How many commands fit in the queue?

16 because its implemented in an SRL16 fifo

(it could be arbitrary, just an FPGA change away)

> 2) How far in the future can you schedule a timed command?

10s which is just some arbitrary large timeout

(any more and the host spits a command not ack'd error)

> 3) Does the set_command_time() call (and subsequent command call)
> block? Should these take roughly as much time as the RTT over
> Ethernet to an N200?

set_command_time() is actually devoid of any communication. Its just
setting a property

subsequent commands will only block (aka wait for an ack) if the command
queue has become full, or a read operation is requested.

> 4) I don't necessarily want to call timed commands from the top level
> GNU Radio flowgraph. I want to delegate that to a custom GNU Radio
> block. Can commands to the USRP be called from a GNU Radio block
> other than uhd_usrp_source/sink? If so, what's the best way to
> communicate between the threads?

We have actually done this in pre-cog using the PMC RPC block from
grextras. A block actually passes a message to the RPC block, which
invokes a method on the usrp source/sink. This could be to set the
command time.

The code works, but might look a little funny. I am working (as we
speak) on making it possible to deal with native python objects, rather
than PMTs when working within python.

> 5) If I can't do #4 due to GNU Radio's architecture, would it make
> sense to use stream tags to associate a parameter change (like gain
> or frequency) with a sample in the stream and implement the timed
> command calls in gr_uhd_usrp_source/sink blocks acting when it sees
> the tags?
> 

An alternative to #4, would be to not RPC, but put a control message
input into the UHD source/sink to also send commands.

So, you can do #4 now. #5 is a future endeavor, but probably the right
way to do it.

-josh

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Error running top_block.py in E110

2012-10-21 Thread Jose Torres Diaz
Hi All,

I'm running a block that I finished in GRextras in the USRP E110. I built
the grextras as:

build/sudo cmake ../
build/sudo make
build/sudo make install

It finishes without errors, but when I run my example in E110:

/python top_block.py. It gives the following error:

 *File "top_block.py", line 14, in 
import gnuradio.extras as gr_extras*

Anyone as seen a similar error before?.

Thanks a lot,

Jose.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Error running top_block.py in E110

2012-10-21 Thread Josh Blum


On 10/21/2012 08:08 PM, Jose Torres Diaz wrote:
> Hi All,
> 
> I'm running a block that I finished in GRextras in the USRP E110. I built
> the grextras as:
> 
> build/sudo cmake ../
> build/sudo make
> build/sudo make install
> 
> It finishes without errors, but when I run my example in E110:
> 
> /python top_block.py. It gives the following error:
> 
>  *File "top_block.py", line 14, in 
> import gnuradio.extras as gr_extras*
> 

Is there more to this error message? This is just the traceback.

Sorry I cant really say without the rest. -josh

> Anyone as seen a similar error before?.
> 
> Thanks a lot,
> 
> Jose.
> 
> 
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] VOLK for outer product of two vectors?

2012-10-21 Thread Alex Zhang
resend.

On Oct 21, 2012, at 3:08 PM, Alex Zhang  wrote:

> Hi,
> 
> I looked at the VOLK to find if there are existing method to calculate the 
> outer product of two vectors, but found nothing about it.
> If no, I have to write a SIMD based outer product method by myself.
> 
> Thanks,
> -- 
> 
> Alex,
> Dreams can come true – just believe.
> 
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio