Guide for creating an RP Web App?

Applications, development tools, FPGA, C, WEB
Post Reply
blipton
Posts: 2
Joined: Fri Aug 29, 2014 2:16 am

Guide for creating an RP Web App?

Post by blipton » Fri Apr 29, 2016 6:46 pm

Is there a guide on how to write a red pitaya app, hopefully using a standard platform for which there's lots of existing examples/resources (html5, .net, google app engine, meteor, angularJS, etc)

Also, is it possible using the included oscilloscope app, to capture a few milliseconds of data into a .csv file (for later use with the function generator)?

lhochstetter
Posts: 55
Joined: Tue Mar 01, 2016 1:43 pm

Re: Guide for creating an RP Web App?

Post by lhochstetter » Sat Jun 11, 2016 12:29 pm

NOTE: The wiki is currently updating and some links point to articles which do not exist anymore / have changed locations

---

For starters you could read the Red Pitaya Wiki article about the structure of a Web App:

http://wiki.redpitaya.com/index.php?tit ... d_overview

Optionally you could read the old (and probably outdated) guide:

http://wiki.redpitaya.com/index.php?tit ... _to_GitHub

Another option would be to study the source code of existing Web Apps:

https://github.com/RedPitaya/RedPitaya/ ... /apps-free

The .html files seem to differ from the files that come with the 0.95 stable release image ...

---

I am trying to develop my first simple app too ... some things I have learned so far:

Web Server Stopping / Starting:

systemctl stop redpitaya_nginx.service
systemctl start redpitaya_nginx.service

viewtopic.php?f=14&t=1027

NGINX Modul API

int rp_app_init(void);
int rp_app_exit(void);

int rp_set_params(rp_app_params_t *p, int len);
int rp_get_params(rp_app_params_t **p);

int rp_get_signals(float ***s, int *sig_num, int *sig_len);

viewtopic.php?f=14&t=1242
and
https://github.com/RedPitaya/RedPitaya/ ... src/main.h

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 3 guests