Is there anybody kind to help me? waiting for your help...

On Tue, Nov 15, 2011 at 9:06 AM, Su Jinzhao <sujinz...@gmail.com> wrote:

> Hi All,
>
>       There is only one interface in my simulation network, I want to
> switch some nodes frequency to another channel with new center frequency in
> C++, my code snippet is like this:
>
>                  Tcl& tcl = Tcl::instance();
>                tcl.evalf("$opt(netif) set freq_ %f",v[i].mid_freq);
>                if(tcl.result() != TCL_OK)
>                      cout << "set freq error!" << endl;
>
>       Here the variable $opt(netif) is defined in my .tcl file, and the
> result is print out "set freq error!", So How to set node frequency in C++
> ? any suggestions is appreciated.
>
> --
> Su Jinzhao(苏金钊)
>



-- 
Su Jinzhao(苏金钊)

Reply via email to