Writing data to RS232 from gnuradio


#1

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


#2

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