libsigrok  0.3.0
sigrok hardware access and backend library
Data Fields
sr_datafeed_analog Struct Reference

Analog datafeed payload for type SR_DF_ANALOG. More...

#include <libsigrok.h>

+ Collaboration diagram for sr_datafeed_analog:

Data Fields

GSList * channels
 The channels for which data is included in this packet.
int num_samples
 Number of samples in data.
int mq
 Measured quantity (voltage, current, temperature, and so on).
int unit
 Unit in which the MQ is measured.
uint64_t mqflags
 Bitmap with extra information about the MQ.
float * data
 The analog value(s).

Detailed Description

Analog datafeed payload for type SR_DF_ANALOG.

Definition at line 342 of file libsigrok.h.


Field Documentation

The channels for which data is included in this packet.

Definition at line 344 of file libsigrok.h.

The analog value(s).

The data is interleaved according to the channels list.

Definition at line 356 of file libsigrok.h.

Measured quantity (voltage, current, temperature, and so on).

Use SR_MQ_VOLTAGE, ...

Definition at line 349 of file libsigrok.h.

Bitmap with extra information about the MQ.

Use SR_MQFLAG_AC, ...

Definition at line 353 of file libsigrok.h.

Number of samples in data.

Definition at line 346 of file libsigrok.h.

Unit in which the MQ is measured.

Use SR_UNIT_VOLT, ...

Definition at line 351 of file libsigrok.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines