usrp_sink_impl.h
void set_tx_lo_dist(bool enabled,
const std::string &name, size_t chan = 0) override;
usrp_sink.h
virtual void set_tx_lo_dist(bool enabled, const std::string &name, size_t chan =0) = 0;
usrp_sink_python.cc
.def("set_tx_lo_dist",
&usrp_sink::set_tx_lo_dist,
py::arg("enabled"),
py::arg("name"),
py::arg("chan") = 0,
D(usrp_sink, set_tx_lo_dist))
usrp_sink_pydoc_template.h
static const char* __doc_gr_uhd_usrp_sink_set_tx_lo_dist = R"doc()doc";
Assuming the sink block is "usrp_sink_0"
snippet_0 code
'Main-After Init'
# Turn on the ports
self.usrp_sink_0.set_tx_lo_dist(True,"LO_OUT_0",0)
# repeat the above for all ports needed "LO_OUT_<N>"
snippet_1
'Main-After Stop'
# Turn off the ports
self.usrp_sink_0.set_tx_lo_dist(False,"LO_OUT_0",0)
# repeat for all ports you enabled "LO_OUT_<N>"
The other settings i found were needed in the gr-uhd block included:
Setting the start time to 1
Setting the Master Clock rate to 200MHz
CH0:
LO Source = external
LO Export = True
CH1:
LO Source = external
LO Export = False
I'd like to thank the community of users for doing all of this work, especially Marcus Leech, Rob Kossler and Daniel Estevez