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.
teka yemane (Guest)
on 2008-12-02 20: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
Josh B. (Guest)
on 2008-12-02 21: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.