I'm producing the stream in C++ (using openFrameworks) and sending the data as char arrays, and have confirmed that this is indeed all that is being sent (e.g. "1.25")…
I think what I'm missing is how to unpack them from the char arrays in GRC, tried various conversions, ("Packed to Unpacked," "Char to Float," etc.) but am just not getting my head around how GRC would handle this… Cheers, Mark -- mark.cetilia.org | mem1.com | reduxproject.com On Sep 13, 2011, at 7:21 PM, Marcus D. Leech wrote: > On 09/13/2011 07:05 PM, Mark Cetilia wrote: >> Hi all, >> I would like to stream floating point numbers from another application into >> GRC; >> currently sending them over UDP as char arrays, which I was hoping to >> convert back into floats in GRC. >> >> Seems like kind of a basic thing, but I can't get my head around how this is >> possible. >> Any pointers / advice would be greatly appreciated… >> >> Cheers, >> Mark >> >> > How are you producing the UDP stream? ARe you saying that in your > "producer" you don't know how to pack complex-floats into > a UDP buffer, or something else? > > The UDP source in GRC is perfectly happy to unpack complex-floats (or floats, > or whatever) from a UDP-based stream. > > > > > -- > Marcus Leech > Principal Investigator > Shirleys Bay Radio Astronomy Consortium > http://www.sbrac.org > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio