|
From: | sp h |
Subject: | What Is The Proper Way To Change Block Parameters in cpp? |
Date: | Wed, 20 Oct 2021 21:45:37 +0330 |
gr::blocks::multiply_const_cc::sptr multiplyControl(gr::blocks::multiply_const_cc::make(1, 1));gr::blocks::file_source::sptr file_source(gr::blocks::file_source::make(8,fileSelected.c_str(), "true"));this->tb->connect(file_source, 0, multiplyControl, 0);if(transmitterDevice=="usrp2"){
this->tb->connect(multiplyControl, 0, this->sinkUHD, 0);}
else{
this->tb->connect(multiplyControl, 0, this->sink, 0);}
[Prev in Thread] | Current Thread | [Next in Thread] |