3.2.8. Data stream control

Data stream control (also called the Streaming application) unlocks the capability to stream data between Red Pitaya and the computer. This functionality can be extended by synchronising multiple boards together to create a multi-channel system (X-channel system and X-channel 2.0 (Click Shield) synchronisation).

../../../_images/Streaming_web_interface.png

Overview

The Streaming application is designed to provide a simple and efficient way to stream data between Red Pitaya and a computer. It supports both ADC and DAC streaming, allowing users to acquire data from the fast analog inputs and generate signals on the fast analog outputs.

The application uses the reserved memory region that is shared with the Deep Memory Mode to temporarily store the data that is streamed to and from the board. This allows for efficient data transfer and processing, while also providing a flexible and scalable solution for a wide range of applications.

Key features

Note

The Streaming application supports only continuous data streaming and does not have triggering capabilities. The data is streamed continuously from the moment the application is started until it is stopped.


Quick start

The Streaming application can be started in three ways:

  1. From the Red Pitaya Web interface

    ../../../_images/redpitaya_main_page.png
  2. From inside the Red Pitaya Linux OS (SSH connection) by loading the stream_app FPGA image and running streaming-server.

    overlay.sh stream_app
    streaming-server
    

Once the streaming server is running, LED 2 will turn on and LED 0 will blink, indicating that the application is ready.


Application interface

../../../_images/streaming_app_features.png

The application interface is divided into the following sections:

  1. ADC streaming configuration: Configuration of the ADC streaming settings, such as streaming mode, sampling frequency, input channel select and file format. See ADC Configuration.

  2. DAC streaming configuration: Configuration of the DAC streaming settings, such as streaming mode and output data rate. See DAC Configuration.

  3. DMA memory configuration: Determines the minimal block size for streaming and Deep Memory Mode reserved memory management. See Memory Configuration.

  4. Streaming status: Controls for starting and stopping the streaming process. The status of the streaming process is also displayed here. See Web Interface Usage.

  5. Files on the SD card: List of files saved on the SD card (acquired data and logs) and buttons for managing them. See Web Interface Usage.

  6. PC Clients: List of downloadable clients for streaming desktop applications (Windows, Linux), command line clients (Windows, Linux) and console client for Red Pitaya itself. See Web Interface Usage.


Documentation structure

This documentation is organized into the following sections:


Getting help


Compatibility

Red Pitaya boards are compatible with any computer operating system. However, the same cannot be said for the streaming client applications which are meant to run on the computer, which are available for Linux and Windows operating systems. Any specific requirements for the operating systems are listed below. We always recommend using the latest version of the OS and the streaming client application to ensure the best performance and compatibility.

Warning

The streaming client application and the Red Pitaya OS must be the same version. Using a client that does not match the OS version may result in connection failures or corrupted data, due to changes in the streaming protocol and data formats between releases. Always download the matching client from the streaming application interface when updating the OS.

  • Windows 11 - Please use Red Pitaya OS 2.05-37 or newer as older streaming client versions are incompatible with Windows 11.