Make_format and set_format

Hey Guys,

I have a question about the make_format(width, shift) and set_format
of the usrp_standard_rx class. It appears to me “width” is the bit width
IQ samples across the USB bus, but what does “shift” mean here? What has
been shifted if let’s say (width, shift) = (8, 8)? Also, if I call this
function with (8, 8) for a ‘usrp.source_c’, what would be the data
of the outputs of the usrp source, complex 4-byte floats or complex
chars? In the first case, does this save any computation load?

Thank you very much


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs