libsigrok  0.4.0
sigrok hardware access and backend library
Data Fields
sr_datafeed_analog_old Struct Reference

Analog datafeed payload for type SR_DF_ANALOG_OLD. More...

#include <libsigrok.h>

+ Collaboration diagram for sr_datafeed_analog_old:

Data Fields

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

Detailed Description

Analog datafeed payload for type SR_DF_ANALOG_OLD.

Definition at line 498 of file libsigrok.h.

Field Documentation

GSList* sr_datafeed_analog_old::channels

The channels for which data is included in this packet.

Definition at line 500 of file libsigrok.h.

Referenced by sr_packet_copy(), and sr_packet_free().

float* sr_datafeed_analog_old::data

The analog value(s).

The data is interleaved according to the channels list.

Definition at line 512 of file libsigrok.h.

Referenced by sr_packet_copy(), and sr_packet_free().

int sr_datafeed_analog_old::mq

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

Use SR_MQ_VOLTAGE, ...

Definition at line 505 of file libsigrok.h.

Referenced by sr_packet_copy().

uint64_t sr_datafeed_analog_old::mqflags

Bitmap with extra information about the MQ.

Use SR_MQFLAG_AC, ...

Definition at line 509 of file libsigrok.h.

Referenced by sr_packet_copy().

int sr_datafeed_analog_old::num_samples

Number of samples in data.

Definition at line 502 of file libsigrok.h.

Referenced by sr_packet_copy().

int sr_datafeed_analog_old::unit

Unit in which the MQ is measured.

Use SR_UNIT_VOLT, ...

Definition at line 507 of file libsigrok.h.

Referenced by sr_packet_copy().


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