pothosware / PothosDemos

Pothos demonstration applications
https://github.com/pothosware/PothosDemos/wiki
26 stars 19 forks source link

Error using Frequency Xlating FIR Filter #4

Closed TheJimD closed 8 years ago

TheJimD commented 8 years ago

I was trying to recreate & experiment with the Frequency Xlating FIR Filter demo - the application I want to create needs to use that block.

When I drop that block onto the graphing area to instantiate the Xlating FIR Filter, the title in the box is red and the following error is shown in the Properties Panel:

FrequencyXlatingFIRFilter0::eval(..) Exception: ProxyBlockEval factory(/gr/filter/freq_xlating_fir_filter) -> {Object Convert Error: Pothos::Object::convert(): doesnt support int to class std::vector <class std::complex, class std::allocator <class std::complex > >}

The file I used for my install is: PothosSDR-2016.01.29-vc14-x64

I'm thinking that this might mean that I need to install the GNURadio suite.

Any help would be great! Thanks, Jim D

guruofquality commented 8 years ago

I think you have everything there you need.

If I drop the Frequency xlating filter into a blank editor, it doesnt have good defaults for all of the parameters. So for example to get it to work after drag and dropping it: when I set the taps to [1] and the sample rate to 1e6, it will instantiate and the ports will show up.

TheJimD commented 8 years ago

Thanks for the quick response. It was just a syntax error - I didn't put the brackets around the 1 in the Taps field so it didn't get treated as a vector. The block instantiates just fine with the brackets - now i am off to the bigger & better things!

I haven't done much with Pothosware yet (I only loaded it last weekend) but I am having fun and even learning a little something.

Thanks again, Jim D