Page 1 of 1

Python client for streaming

Posted: Wed Jun 10, 2020 6:13 pm
by photodetector
Hello,

I have an application where a host PC will be connecting to multiple 125-14 boards to pull ADC data from the boards. The rpsa (redpitaya streaming app) seems perfect for this purpose, but the client software seems to be a standalone application written in C++. I hope to use Python on the Host PC and was wondering if there is python module that can be used for this purpose. If not any documentation or help in developing a python port of the client would be appreciated.

Re: Python client for streaming

Posted: Tue Aug 11, 2020 7:17 pm
by alex123go
Hello,

I'm not sure I have the best solution, but since nobody answered, I'll give it a try.

I've never worked with the "rpsa", so I could not help with that.

However, I've made another acquisition app with the Red Pitaya (viewtopic.php?f=7&p=32193#p32193 and
https://github.com/alex123go/RedPitaya_Acquisition). You need to write a new image to the SD card, but it'll be compatible with what you want to achieve.

How it should work:
You can connect several red pitayas boards and a host PC together to a router (or switch).
When you run the "MainWindow_AcqCard.py" script, it will launch 1 GUI. You can run as many GUI instances as you want.
For each GUI, there is an initial configuration window which list all the connected Red Pitaya. Just make sure to select a different one for each instance of the GUI.

For the moment, there is not way to synchronize the acquisitions. However, I planned to add an internal trigger to the acquisition tool. With your post, it made me realize that an external trigger might also be useful. Tell me if you think it could be useful and I'll prioritize it.

Alex

Re: Python client for streaming

Posted: Mon Nov 16, 2020 4:04 pm
by redpitaya
Why not use the official streaming app? it works great!

Re: Python client for streaming

Posted: Thu Nov 19, 2020 2:42 pm
by redpitaya
Black Friday 2020 is here!

Re: Python client for streaming

Posted: Fri Dec 04, 2020 4:59 pm
by pulidoinidetam
Anyone know How can I compile the streaming application individually? at this moment I can only compile it if I do a make from the root of the git RedPitaya project, then in the build folder is the streaming_server application, but i need to compile only this app, how can i get it?