On 09/20/2018 04:14 PM, Yun Li wrote:
Hi Marcus,

Thanks for the clarification. We do have a need to map the streaming channel index back to the channel id. Is there a fixed mapping formula? For example, if we are streaming channel 1 and 3, then 0 in the UDP means channel 1 and 1 in the UDP means channel 3 and so forth?

Thanks.
Yun

It depends on the order in which you specified your hardware channels in the subdev spec when you created the device object and streamer.



2018-09-20 20:11 GMT+00:00 Marcus D. Leech via USRP-users <usrp-users@lists.ettus.com <mailto:usrp-users@lists.ettus.com>>:

    On 09/20/2018 03:58 PM, Yun Li via USRP-users wrote:

        Hi there,

        We are capturing UDP packets while streaming multiple channels
        (RX channel 1 and 3 in particular) from N310
        (UHD_3.13.0.2-1-g78745bda). Looking at UDP packets, it seems
        that the channel id field in the VRT header is actually set to
        0 and 1. I expect the value would be 1 and 3. Is there a
        particular reason for that or am I reading it in a wrong way?

        BTW, I also did another test with streaming channel 1,2,3 and
        the UDP packets show 0,1,2.

        Thanks.
        Yun

    That's just the streaming channel index.  If you're only streaming
    2 channels--it's the streaming channel number, not the physical
    channel number.


    _______________________________________________
    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
    <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

Reply via email to