Hi, yeah sorry I forgot to check the thread when I saw someone posted
Righty, so if you are using the client then I think you need to also use something called
baudline
https://github.com/Nuand/bladeRF/wiki/b ... g_RXd_data
Now I didn't use this personally, however, if you click the link above there are some instructions for "Live Viewing", and I think this is kinda the road you need to go down.
Aside from that there are a couple of different ways to stream the data as it comes in (though please correct me anyone if what I'm saying is incorrect):
1: Save data to a bin file and then use another program to take data from that bin file. I don't know if you will have multi-access issues here, and I don't know what you would do about limiting the size of the file (I think the cli actually has a limit you can set), but I'm pretty sure with a bit of jiggery-pokery this could be viable. I think this is basically what
baudline is doing.
2: You can use libbladerf.h directly and use the functions there in your c/c++ code.
3: In terms of the easiest approach, I would recommend getting familiar with gnuradio and using the OsmoSDR sink/source setup. This is what I ended up using in the end as gnuradio basically processes samples as fast as your clock speed, so they are constantly coming in. On top of that you get all the additional functionality that gnuradio provides, and it's very easy to build your own python/c++ blocks in order to extend it for whatever specific task you are doing.
So yeah, long term I'd recommend no. 3
I hope this helps!
MB
----- edit ------
So I just saw you're using matlab. Now this is where I kinda got stuck as I couldn't get matlab to process the samples fast enough. Again, I'd still recommend no. 3, but if you absolutely must use matlab then probably saving to the bin and then getting matlab to read from some sort of queue is your best bet (option no. 1). It depends on your experience / time restraints really. You can build a pretty sophisticated system in gnuradio without knowing a scrap of code though.