Data Capture

Purpose

Capture data to be transferred via XML-RPC.

Description

../../_images/data_capture.svg

The Data Capture block captures simulation data from real-time simulations that are controlled by an external script. The captured data can be queried via the XML-RPC interface of the RT Box.

All captured data is written into an internal buffer first. The size of the buffer is controlled by the parameter “Number of samples”. Once the buffer is full, the data can be read via XML-RPC. See Getting data from the real-time simulation for a description of XML-RPC commands to access the Data Capture block.

The start of data capturing can be controlled with an optional trigger signal.

Parameters

Number of samples

The number of samples that are captured before data is accessible via XML-RPC.

Trigger type

Specifies the edge of the trigger signal that starts data capturing. With the setting continuous, the data acquisition is always active. When set to once at startup, the data buffer is filled once when the simulation is startet. In both cases, the trigger input is ignored.

Trigger level

Defines the value that the trigger signal must reach to become active.