|
libRBR
v1.2.3
RBR instrument communication API
|
Instrument commands and structures pertaining to vehicle support. More...

Go to the source code of this file.
Data Structures | |
| struct | RBRInstrumentRegimes |
Instrument regimes command parameters. More... | |
| struct | RBRInstrumentRegime |
Instrument regime command parameters. More... | |
| struct | RBRInstrumentDirectionDependentSampling |
Instrument ddsampling command parameters. More... | |
Macros | |
| #define | RBRINSTRUMENT_REGIME_MAX 3 |
| The maximum number of regimes configurable on an instrument. | |
| #define | RBRINSTRUMENT_REGIME_BOUNDARY_MAX 65535 |
| The maximum regime boundary in dbar. | |
| #define | RBRINSTRUMENT_REGIME_BINSIZE_MAX 6553.5 |
| The maximum regime bin size in dbar. | |
| #define | RBRINSTRUMENT_REGIME_SAMPLING_PERIOD_MAX 65000 |
| The maximum sampling period within a regime. | |
Typedefs | |
| typedef enum RBRInstrumentDirection | RBRInstrumentDirection |
| Whether settings apply to ascent or descent. More... | |
| typedef enum RBRInstrumentRegimesReference | RBRInstrumentRegimesReference |
| The types of pressure available for use a reference for the determination of the current regime and bin. More... | |
| typedef struct RBRInstrumentRegimes | RBRInstrumentRegimes |
Instrument regimes command parameters. More... | |
| typedef uint8_t | RBRInstrumentRegimeIndex |
| A regime identifier. | |
| typedef struct RBRInstrumentRegime | RBRInstrumentRegime |
Instrument regime command parameters. More... | |
| typedef struct RBRInstrumentDirectionDependentSampling | RBRInstrumentDirectionDependentSampling |
Instrument ddsampling command parameters. More... | |
Enumerations | |
| enum | RBRInstrumentDirection { RBRINSTRUMENT_DIRECTION_ASCENDING, RBRINSTRUMENT_DIRECTION_DESCENDING, RBRINSTRUMENT_DIRECTION_COUNT, RBRINSTRUMENT_UNKNOWN_DIRECTION } |
| Whether settings apply to ascent or descent. More... | |
| enum | RBRInstrumentRegimesReference { RBRINSTRUMENT_REFERENCE_ABSOLUTE, RBRINSTRUMENT_REFERENCE_SEAPRESSURE, RBRINSTRUMENT_REFERENCE_COUNT, RBRINSTRUMENT_UNKNOWN_REFERENCE } |
| The types of pressure available for use a reference for the determination of the current regime and bin. More... | |
Instrument commands and structures pertaining to vehicle support.
| typedef enum RBRInstrumentDirection RBRInstrumentDirection |
Whether settings apply to ascent or descent.
Instrument ddsampling command parameters.
| typedef struct RBRInstrumentRegime RBRInstrumentRegime |
Instrument regime command parameters.
| typedef struct RBRInstrumentRegimes RBRInstrumentRegimes |
Instrument regimes command parameters.
The types of pressure available for use a reference for the determination of the current regime and bin.
Whether settings apply to ascent or descent.
The types of pressure available for use a reference for the determination of the current regime and bin.
| RBRInstrumentError RBRInstrument_getDirectionDependentSampling | ( | RBRInstrument * | instrument, |
| RBRInstrumentDirectionDependentSampling * | ddsampling | ||
| ) |
Get the instrument direction-dependent sampling settings.
| [in] | instrument | the instrument connection |
| [out] | ddsampling | the direction-dependent sampling parameters |
| RBRInstrumentError RBRInstrument_getRegime | ( | RBRInstrument * | instrument, |
| RBRInstrumentRegime * | regime | ||
| ) |
Get the instrument regime settings.
Set RBRInstrumentRegime.index to indicate which regime settings are to be retrieved.
RBRINSTRUMENT_INVALID_PARAMETER_VALUE will be returned right away if a regime index greater than 3 is requested. RBRINSTRUMENT_HARDWARE_ERROR will be returned if a regime index is given which exceeds the number of regimes currently configured (RBRInstrumentRegimes.count).
| [in] | instrument | the instrument connection |
| [out] | regime | the regime parameters |
| RBRInstrumentError RBRInstrument_getRegimes | ( | RBRInstrument * | instrument, |
| RBRInstrumentRegimes * | regimes | ||
| ) |
Get the instrument regimes settings.
| [in] | instrument | the instrument connection |
| [out] | regimes | the regimes parameters |
| RBRInstrumentError RBRInstrument_setDirectionDependentSampling | ( | RBRInstrument * | instrument, |
| RBRInstrumentDirectionDependentSampling * | ddsampling | ||
| ) |
Set the instrument regime settings.
Hardware errors may occur if:
| [in] | instrument | the instrument connection |
| [in] | ddsampling | the direction-dependent sampling parameters |
| RBRInstrumentError RBRInstrument_setRegime | ( | RBRInstrument * | instrument, |
| const RBRInstrumentRegime * | regime | ||
| ) |
Set the instrument regime settings.
Hardware errors may occur if:
| [in] | instrument | the instrument connection |
| [in] | regime | the regime parameters |
| RBRInstrumentError RBRInstrument_setRegimes | ( | RBRInstrument * | instrument, |
| const RBRInstrumentRegimes * | regimes | ||
| ) |
Set the instrument regimes settings.
These settings are only used when the RBRInstrumentSampling.mode is RBRINSTRUMENT_SAMPLING_REGIMES.
Hardware errors may occur if:
| [in] | instrument | the instrument connection |
| [in] | regimes | the regimes parameters |
| const char* RBRInstrumentDirection_name | ( | RBRInstrumentDirection | direction | ) |
Get a human-readable string name for an instrument direction.
| [in] | direction | the direction |
| const char* RBRInstrumentRegimesReference_name | ( | RBRInstrumentRegimesReference | reference | ) |
Get a human-readable string name for a regime pressure reference.
| [in] | reference | the pressure reference |
1.8.17