libRBR  v1.2.3
RBR instrument communication API
Data Fields
RBRInstrumentChannelGain Struct Reference

#include <RBRInstrumentConfiguration.h>

Data Fields

RBRInstrumentChannelRangingMode rangingMode
 The gain selection mode employed by the sensor.
 
float currentGain
 The gain value in use by the sensor. More...
 
float availableGains [RBRINSTRUMENT_CHANNEL_GAINS_MAX]
 The gain settings supported by the sensor. More...
 

Detailed Description

Gain parameters for a channel.

See also
RBRInstrumentChannel
RBRInstrument_setChannelGain()

Field Documentation

◆ availableGains

float RBRInstrumentChannelGain::availableGains[RBRINSTRUMENT_CHANNEL_GAINS_MAX]

The gain settings supported by the sensor.

Only applies where RBRInstrumentChannelGain.rangingMode is RBRINSTRUMENT_RANGING_MANUAL or RBRINSTRUMENT_RANGING_AUTO. Otherwise all values are set to NaN.

Unused entries are set to NaN.

◆ currentGain

float RBRInstrumentChannelGain::currentGain

The gain value in use by the sensor.

Only applies when RBRInstrumentChannelGain.rangingMode is RBRINSTRUMENT_RANGING_MANUAL. Otherwise set to NaN.


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