signal generation using C++ and Qt

Applications, development tools, FPGA, C, WEB
Post Reply
souha
Posts: 1
Joined: Wed Jun 22, 2022 10:18 am

signal generation using C++ and Qt

Post by souha » Wed Jun 22, 2022 10:23 am

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

User avatar
M0JPI
Posts: 19
Joined: Wed Jun 15, 2022 8:06 pm
Location: Cumbria, UK

Re: signal generation using C++ and Qt

Post by M0JPI » Wed Jun 22, 2022 7:14 pm

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

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 29 guests