Forum: GNU Radio writing data to RS232 from gnuradio

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B725aa2acb36e3789c0a754c539c497a?d=identicon&s=25 teka yemane (Guest)
on 2008-12-02 19:54
(Received via mailing list)
hello!
I need to write data to a hardware attached to my PC using the serial
interface. I am going to do this from gnuradio in windows using
cygwin.....can anyone give me a little hand on this pls?
thanks,
teka yemane
4252201ac30d6dd44d8090ce1070e35f?d=identicon&s=25 Josh Blum (Guest)
on 2008-12-02 20:18
(Received via mailing list)
You may try installing pyserial, examples are at the bottom of this
page: http://pyserial.wiki.sourceforge.net/pySerial

You can open a file descriptor to a serial port with pyserial, and pass
the file descriptor to a gr.file_descriptor_sink(....)

Sometimes it is a mystery if something will work in cygwin or not... so
good luck!

-Josh
This topic is locked and can not be replied to.