Re: [Discuss-gnuradio] ValueError: itemsize mismatch crash

2017-08-02 Thread vipinsharma
Is there any thing I can check to resolve this issue? Vipin Sent from Mail for Windows 10 From: Vipin Sharma Sent: Saturday, July 29, 2017 10:13 PM To: GNURadio Discussion List Subject: ValueError: itemsize mismatch crash Hi,  I have a few custom blocks in C in the top level GRC system. Everyt

Re: [Discuss-gnuradio] Complex data types in SWIG for custom C blocks

2017-07-18 Thread vipinsharma
Thanks for offering the support Kartik. I ended up not going through SWIG route at all. Basically I got away with typecasting in the C domain itself and not expose complex data types to Python at all (through SWIG). For now I am Ok. I will shoot you an email in case SWIG catches up with me aga

Re: [Discuss-gnuradio] Runtime AttributeError for custom block

2017-07-09 Thread vipinsharma
I tried ‘sudo ldconfig’ and then regenerated the flowgraph after re-building the application. I see the same issue as before. Here is the output of ‘ldd’. How do I know what is missing? linux-vdso.so.1 => (0x7ffc10dfd000) libboost_system.so.1.58.0 => /usr/lib/x86_64-linux-g

[Discuss-gnuradio] Handling custom blocks in GRC

2017-05-23 Thread vipinsharma
Hello, My application is written in Matlab. I have converted the Matlab code to C++ code using Matlab Coder. The original Matlab code has top level function, say A_Func which calls multiple other functions, say B_Func and C_Func. Matlab Coder dumps out three C++ functions; one each for A_Func,