On 03/19/2018 07:23 PM, Dan CaJacob via USRP-users wrote: > I seem to recall that the 8-bit OTW format isn't implemented for RFNoC > yet... I could use that too.
We currently support u8 and sc8 modes for OTW. If your block can do 8-bit samples, UHD will know how to handle that. We also have s8 for signed, real, 8-bit samples. -- M > > On Mon, Mar 19, 2018 at 9:07 PM Adam Parower via USRP-users > <usrp-users@lists.ettus.com <mailto:usrp-users@lists.ettus.com>> wrote: > > Hello everyone, > > > I am trying to figure out how to receive complex 8-bit integer > samples from a USRP containing a custom RFNoC flowgraph. If I didn't > require RFNoC and could use the legacy UHD C++ API instead, this > would be trivial; I would simply set both the host format and > on-the-wire format in my stream arguments to "sc8". However, when I > do the same thing in my RFNoC-based application, I get the following > error message: > > Error: RuntimeError: [RX Streamer] Conflicting OTW types defined: > args.otw_format = 'sc8' <=> stream_sig.item_type = 'sc16' > > > I understand that the value of stream_sig.item_type comes from the > <source> port in the XML block declaration of the block to which my > rx_streamer points, but editing the <type> field there does not > produce the desired result. To correctly stream 8-bit samples, would > I have to, say, implement a custom RFNoC block to repackage 16-bit > samples into 8-bit samples at half the sample rate, discarding the 8 > LSBs? Or is there a simpler way to do this? > > > Thank you in advance for your assistance. > > > Adam Parower > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > -- > Very Respectfully, > > Dan CaJacob > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > _______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com