Page 1 of 1

signal generation using C++ and Qt

Posted: Wed Jun 22, 2022 10:23 am
by souha
Hello,
I want to use red pitaya as an external device and control it using my application on Qt (with c++). The purpose is to use the card without it's OS but using the API C++ library on my computer. Is it possible to do so? if yes, how?
Thank You :D

Re: signal generation using C++ and Qt

Posted: Wed Jun 22, 2022 7:14 pm
by M0JPI
Hi Souha,

I think there are two documented ways of meeting your goal of controlling the Red Pitaya via an API. You will still need to use an SD Card with the OS, unless you're happy writing the Red Pitaya code for bare metal, or make your own OS.

Firstly you could use the SCPI server. It has an API that has been documented in detail, and can be used over a network. The examples are written in Python, but you could port them to C++.

The second option is to use the streaming server. This doesn't have as much documentation about the API, but it does support transfers at 20MB/s streaming over a 1Gbit network (direct ethernet connection is recommended to achieve best streaming performance). The code for the client side is available on Github, and is written in C++.

John M0JPI