Hi all,
I'm using USRP B210 and want to control both TX channels through message
port. My code of OOT module presented bellow

pmt::pmt_t d_txCommand;
              d_txCommand = pmt::make_dict();
              d_txCommand = pmt::dict_add(d_txCommand, pmt::mp("chan"),
pmt::mp(0));
              d_txCommand = pmt::dict_add(d_txCommand, pmt::mp("lo_freq"),
pmt::mp(350e6));
              d_txCommand = pmt::dict_add(d_txCommand, pmt::mp("gain"),
pmt::mp(30));
              d_txCommand = pmt::dict_add(d_txCommand, pmt::mp("chan"),
pmt::mp(1));
              d_txCommand = pmt::dict_add(d_txCommand, pmt::mp("lo_freq"),
pmt::mp(351e6));
              d_txCommand = pmt::dict_add(d_txCommand, pmt::mp("gain"),
pmt::mp(30));
              message_port_pub(PDU_PORT_ID, d_txCommand );

UHD sink block configured to use 2 chanels, MB0: Subdev Spec A:A A:B.

After running  GRC file I see on spectrum analyser only one TX channel (the
last  one -> 351e6 ). Is it possible to set both channels to work with
different frequencies? instead of lo_freq i tried to use dsp_freq, but
result was the same.

Best regards,
MK
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to