discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] GRC: Serial Port to Block Diagram Interface


From: John Bonn
Subject: [Discuss-gnuradio] GRC: Serial Port to Block Diagram Interface
Date: Thu, 14 Jan 2010 14:17:55 -0800 (PST)

Hello friends..

I'm trying to setup some experiments to utilize the GRC environment. As a
part of it, I'm reading samples off an ADC connected to a microcontroller
connected to PC via UART/RS232 Serial, using PySerial module.

 I have been trying to write a Source block for GR, where a listening thread
would read the ADC samples from the Serial port into a global variable, and
then, another thread wud "probably" pass the data into a gr.vector_source
(like?) block within a hier2 block. 

Well, that was just the idea. But I guess the system doesn't work this way.
I'm not sure whether I'm entering the message-blocks domain, which is
expected to support such packetised(?) data. I read in the GRC Wiki - "add
custom blocks" section that it might be possible to make such "special"
functionality encapsulated in a block-diagram-safe block. Any suitable
examples ?

Conflicting again is the thought that ultimately samples from USRP and Audio
sources are also probably caught in chunks and assembled into streams. But
the sources for them look too complex and spread out for me to look into
right now. 

I hope someone will make it clear for me and point me in a direction I can
look for a quick hack. 

Cheers,

John
-- 
View this message in context: 
http://old.nabble.com/GRC%3A-Serial-Port-to-Block-Diagram-Interface-tp27167565p27167565.html
Sent from the GnuRadio mailing list archive at Nabble.com.





reply via email to

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