Redirecting to list. Has anyone ever sent a gnuradio stream out to a serial port, as Chris suggests? I suspect it is not so easy as he describes...
(incidentally, I'm using cygwin under windows XP. /dev/tty* doesn't exist) Is there a way to continuously print a gnuradio byte stream to the console? On 5/8/07, Chris Albertson <[EMAIL PROTECTED]> wrote:
A serial port "looks" like a file to Python or any other program. If you can print to the console you can write to a serial port. I assume you are running on some UNIX-like OS. Open /dev/ttyS0 and write bytes to it. You need to set permissions so the open will work Echo "Hello World" > /dev/ttyS0 should send a byte stream out to the first serial port on the machine. You can use "stty" to set the port speed and other parameters. Se "man stty" or just "stty --help" --- Steven Clark <[EMAIL PROTECTED]> wrote: > Do you know of any simple way to send a gnuradio stream to a serial > port? AFAIK, no such "serial port sink" block exists. Serial port > support isn't even built in to python, you have to go to modules like > pyserial. Streaming the bits out real time while the demodulator is > running is key for me. > > -Steven > > On 5/8/07, Chris Albertson <[EMAIL PROTECTED]> wrote: > > > > Why not simply send the data to a serial port on the PC? > > > > --- Steven Clark <[EMAIL PROTECTED]> wrote: > > > > > Hi all- > > > > > > I've been desparate lately for a way to stream data from GNURadio > > > back out > > > to the hardware world without turning the data into an analog > signal > > > via the > > > USRP's DAC. For example, if I have a software demodulator > outputting > > > bits (1 > > > bit per byte, > > <SNIP> > > > > Chris Albertson > > Home: 310-376-1029 [EMAIL PROTECTED] > > Office: 310-336-5189 [EMAIL PROTECTED] > > > > > > > > > ____________________________________________________________________________________ > > The fish are biting. > > Get more visitors on your site using Yahoo! Search Marketing. > > http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php > > > Chris Albertson Home: 310-376-1029 [EMAIL PROTECTED] Office: 310-336-5189 [EMAIL PROTECTED] ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio