Re: [USRP-users] UDP packet channel id value

2018-09-20 Thread Marcus D. Leech via USRP-users
On 09/20/2018 06:00 PM, Yun Li wrote: Hi Marcus, My code is like this: uhd::stream_args_t stream_args("fc32"); //complex floats stream_args.channels = { 1, 3 }; // vector of channel ids uhd::rx_streamer::sptr rx_stream = usrp->get_rx_stream(stream_args); ... In this case, can I expect the stre

Re: [USRP-users] UDP packet channel id value

2018-09-20 Thread Yun Li via USRP-users
Hi Marcus, My code is like this: uhd::stream_args_t stream_args("fc32"); //complex floats stream_args.channels = { 1, 3 }; // vector of channel ids uhd::rx_streamer::sptr rx_stream = usrp->get_rx_stream(stream_args); ... In this case, can I expect the streaming channel index 0/1 in UDP packet co

Re: [USRP-users] UDP packet channel id value

2018-09-20 Thread Marcus D. Leech via USRP-users
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 me

Re: [USRP-users] UDP packet channel id value

2018-09-20 Thread Yun Li via USRP-users
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

Re: [USRP-users] UDP packet channel id value

2018-09-20 Thread Marcus D. Leech via USRP-users
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 t

[USRP-users] UDP packet channel id value

2018-09-20 Thread Yun Li via USRP-users
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