>On 05/13/2011 03:33 PM, address@hidden wrote:
>>
>> I am connecting the uhd_usrp_sink to a sig_source_c. Here is the troublesome
>> code that I use to setup the uhd_usrp_sink:
>> uhd::device_addr_t addr; //I assume this defaults to ""
>> uhd::io_type_t type(2); //I want this to be COMPLEX_FLOAT32, but don't know
>>how to
>>gr_uhd_usrp_sink_sptr usrp_sink = uhd_make_usrp_sink(addr,type,1);
>>...
>>...
>
>Well thats the problem, there is no enum w/ value 2. Use one of the
>build-in enums:
>http://www.ettus.com/uhd_docs/doxygen/html/classuhd_1_1io__type__t.html
>
>Also, you can pass uhd::io_type_t::COMPLEX_FLOAT32 directly as the
>second argument.
>
>-josh