KymoCore/Documentation
v8.0.0 Stable⌄
Versions8.0.0 Current
GitHub ↗
KYMOCORE / API REFERENCE

KymoSample Struct Reference

API contracts in their original English. Navigation and guides are bilingual.

Coordinates written by the application sample callback. More...

#include <kymo_plot_types.h>

Public Attributes

float x
 Optional X coordinate; must be finite if the channel enables X.
float value
 Required scalar/Y measurement; must be finite.
float z
 Optional Z coordinate; must be finite if the channel enables Z.

Detailed Description

Coordinates written by the application sample callback.

Main zero-initializes this object for each attempt. Channel ID and timestamp are supplied by the runtime.

Usage
sample->value = sensor_value; then return nonzero from the callback.

Definition at line 61 of file kymo_plot_types.h.

Member Data Documentation

◆ value

float KymoSample::value

Required scalar/Y measurement; must be finite.

Usage
Assign the current application measurement.

Definition at line 75 of file kymo_plot_types.h.

◆ x

float KymoSample::x

Optional X coordinate; must be finite if the channel enables X.

Usage
Assign position, angle or an independent-variable coordinate.

Definition at line 68 of file kymo_plot_types.h.

◆ z

float KymoSample::z

Optional Z coordinate; must be finite if the channel enables Z.

Usage
Assign the third coordinate for XYZ telemetry.

Definition at line 82 of file kymo_plot_types.h.


The documentation for this struct was generated from the following file: