ris_operation_tutorial
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ris_operation_tutorial [2026/09/04 14:40] – cmorin | ris_operation_tutorial [2026/09/04 14:42] (current) – cmorin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| # RIS Operation Tutorial | # RIS Operation Tutorial | ||
| - | |||
| - | To Fill In | ||
| **This Tutorial assumes that you have followed the basic CorteXlab operation tutorials (at least [[running_your_first_experiment|GNU Radio benchmark example]], and [[bokehgui_for_cortexlab|Eyes and ears inside CorteXlab]], | **This Tutorial assumes that you have followed the basic CorteXlab operation tutorials (at least [[running_your_first_experiment|GNU Radio benchmark example]], and [[bokehgui_for_cortexlab|Eyes and ears inside CorteXlab]], | ||
| Line 170: | Line 168: | ||
| On top of that, we have quite a few elements to interact with the RIS. | On top of that, we have quite a few elements to interact with the RIS. | ||
| - | The main one sits inside the HTTP Helper block. It's a custom Python block to make the HTTP requests to the RIS server. Its code is inside '' | + | The main one sits inside the HTTP Helper block. It's a custom Python block to make the HTTP requests to the RIS server. Its code is inside '' |
| < | < | ||
| Line 247: | Line 245: | ||
| self.my_log.warn(f" | self.my_log.warn(f" | ||
| </ | </ | ||
| - | All its functions send HTTP requests through the '' | + | All its functions send HTTP requests through the '' |
| As you can see with their parameters, all the Bokeh GUI Button blocks are there to call functions of this HTTP Helper block. | As you can see with their parameters, all the Bokeh GUI Button blocks are there to call functions of this HTTP Helper block. | ||
| - | All this is sufficient for all RIS commands, except for, again, the ''/ | + | All this is sufficient for all RIS commands, except for, again, the ''/ |
| - | This one requires feedback to evaluate the configuration it tries, in the form of another HTTP server, replying with a float value, whenever queried on the ''/ | + | This one requires feedback to evaluate the configuration it tries, in the form of another HTTP server, replying with a float value, whenever queried on the ''/ |
| In our case, it's implemented inside of the same RX flowgraph, as a python snippet this time, that contains the following: | In our case, it's implemented inside of the same RX flowgraph, as a python snippet this time, that contains the following: | ||
| Line 278: | Line 276: | ||
| </ | </ | ||
| - | We setup a Flask server inside of a separate thread, that implements only the ''/ | + | We setup a Flask server inside of a separate thread, that implements only the ''/ |
| And that endpoint queries the Probe Signal block at the end of the flowgraph to respond with the latest computed average received power. | And that endpoint queries the Probe Signal block at the end of the flowgraph to respond with the latest computed average received power. | ||
ris_operation_tutorial.1788532829.txt.gz · Last modified: by cmorin
