 |
libRBR
v1.2.3
RBR instrument communication API
|
Go to the documentation of this file.
13 #ifndef LIBRBR_RBRINSTRUMENTSCHEDULE_H
14 #define LIBRBR_RBRINSTRUMENTSCHEDULE_H
26 #define RBRINSTRUMENT_AVAILABLE_FAST_PERIODS_MAX 32
29 #define RBRINSTRUMENT_SAMPLING_PERIOD_MAX 86400000
@ RBRINSTRUMENT_GATE_COUNT
Definition: RBRInstrumentSchedule.h:179
@ RBRINSTRUMENT_STATUS_PENDING
Definition: RBRInstrumentSchedule.h:372
RBRInstrumentError RBRInstrument_getDeployment(RBRInstrument *instrument, RBRInstrumentDeployment *deployment)
Get the instrument deployment parameters.
struct RBRInstrumentDeployment RBRInstrumentDeployment
Instrument deployment command parameters.
RBRInstrumentError RBRInstrument_getSampling(RBRInstrument *instrument, RBRInstrumentSampling *sampling)
Get the instrument sampling parameters.
@ RBRINSTRUMENT_UNKNOWN_GATE
Definition: RBRInstrumentSchedule.h:181
@ RBRINSTRUMENT_GATE_INVALID
Definition: RBRInstrumentSchedule.h:177
RBRInstrumentError RBRInstrument_setDeployment(RBRInstrument *instrument, const RBRInstrumentDeployment *deployment)
Set the instrument deployment parameters.
RBRInstrumentGate gate
The sampling gating condition.
Definition: RBRInstrumentSchedule.h:261
RBRInstrumentDateTime dateTime
The instrument's date and time.
Definition: RBRInstrumentSchedule.h:43
@ RBRINSTRUMENT_STATUS_DISABLED
Definition: RBRInstrumentSchedule.h:370
const char * RBRInstrumentGate_name(RBRInstrumentGate gate)
Get a human-readable string name for a gating condition.
RBRInstrumentDeploymentStatus
Possible instrument logging statuses.
Definition: RBRInstrumentSchedule.h:367
Instrument clock command parameters.
Definition: RBRInstrumentSchedule.h:38
@ RBRINSTRUMENT_STATUS_FAILED
Definition: RBRInstrumentSchedule.h:390
RBRInstrumentPeriod period
Time between measurements.
Definition: RBRInstrumentSchedule.h:215
RBRInstrumentError RBRInstrument_setClock(RBRInstrument *instrument, const RBRInstrumentClock *clock)
Set the instrument clock.
int64_t RBRInstrumentDateTime
Definition: RBRInstrument.h:181
RBRInstrumentDateTime startTime
The deployment start date and time.
Definition: RBRInstrumentSchedule.h:425
@ RBRINSTRUMENT_SAMPLING_COUNT
Definition: RBRInstrumentSchedule.h:138
const RBRInstrumentPeriod availableFastPeriods[RBRINSTRUMENT_AVAILABLE_FAST_PERIODS_MAX]
Fast measurement periods available for the logger for sampling rates faster than 1Hz.
Definition: RBRInstrumentSchedule.h:232
@ RBRINSTRUMENT_UNKNOWN_STATUS
Definition: RBRInstrumentSchedule.h:398
const char * RBRInstrumentSamplingMode_name(RBRInstrumentSamplingMode mode)
Get a human-readable string name for a sampling mode.
@ RBRINSTRUMENT_STATUS_FULLANDSTOPPED
Definition: RBRInstrumentSchedule.h:386
int32_t RBRInstrumentPeriod
A periodic parameter.
Definition: RBRInstrument.h:191
@ RBRINSTRUMENT_GATE_THRESHOLDING
Definition: RBRInstrumentSchedule.h:169
RBRInstrumentDateTime endTime
The deployment end date and time.
Definition: RBRInstrumentSchedule.h:431
RBRInstrumentError RBRInstrument_setBurstSampling(RBRInstrument *instrument, const RBRInstrumentSampling *sampling)
Set the instrument burst sampling length and interval.
@ RBRINSTRUMENT_STATUS_UNKNOWN
Definition: RBRInstrumentSchedule.h:394
RBRInstrumentSamplingMode
Possible instrument sampling modes.
Definition: RBRInstrumentSchedule.h:116
struct RBRInstrumentClock RBRInstrumentClock
Instrument clock command parameters.
@ RBRINSTRUMENT_STATUS_NOTBLANK
Definition: RBRInstrumentSchedule.h:392
@ RBRINSTRUMENT_SAMPLING_REGIMES
Definition: RBRInstrumentSchedule.h:129
@ RBRINSTRUMENT_SAMPLING_AVERAGE
Definition: RBRInstrumentSchedule.h:125
RBRInstrumentError
Errors which can be returned from library functions.
Definition: RBRInstrument.h:200
float offsetFromUtc
The offset of the instrument's date and time from UTC.
Definition: RBRInstrumentSchedule.h:59
Instrument sampling command parameters.
Definition: RBRInstrumentSchedule.h:202
Instrument deployment command parameters.
Definition: RBRInstrumentSchedule.h:418
RBRInstrumentSamplingMode mode
The instrument sampling mode.
Definition: RBRInstrumentSchedule.h:205
RBRInstrumentError RBRInstrument_getClock(RBRInstrument *instrument, RBRInstrumentClock *clock)
Get the instrument clock.
@ RBRINSTRUMENT_SAMPLING_WAVE
Definition: RBRInstrumentSchedule.h:123
int32_t burstLength
The number of measurements taken in each burst.
Definition: RBRInstrumentSchedule.h:248
@ RBRINSTRUMENT_SAMPLING_TIDE
Definition: RBRInstrumentSchedule.h:127
struct RBRInstrumentSampling RBRInstrumentSampling
Instrument sampling command parameters.
@ RBRINSTRUMENT_UNKNOWN_SAMPLING
Definition: RBRInstrumentSchedule.h:140
@ RBRINSTRUMENT_STATUS_LOGGING
Definition: RBRInstrumentSchedule.h:374
#define RBRINSTRUMENT_AVAILABLE_FAST_PERIODS_MAX
The maximum number of available fast sampling periods to parse from the instrument.
Definition: RBRInstrumentSchedule.h:26
@ RBRINSTRUMENT_STATUS_COUNT
Definition: RBRInstrumentSchedule.h:396
@ RBRINSTRUMENT_SAMPLING_DDSAMPLING
Definition: RBRInstrumentSchedule.h:136
const RBRInstrumentPeriod userPeriodLimit
The minimum period which can be used in fast sampling modes.
Definition: RBRInstrumentSchedule.h:242
@ RBRINSTRUMENT_STATUS_FULL
Definition: RBRInstrumentSchedule.h:388
const RBRInstrumentDeploymentStatus status
The deployment status.
Definition: RBRInstrumentSchedule.h:437
Core library context object.
Definition: RBRInstrument.h:591
@ RBRINSTRUMENT_STATUS_FINISHED
Definition: RBRInstrumentSchedule.h:378
@ RBRINSTRUMENT_SAMPLING_BURST
Definition: RBRInstrumentSchedule.h:121
@ RBRINSTRUMENT_GATE_TWISTACTIVATION
Definition: RBRInstrumentSchedule.h:175
RBRInstrumentGate
Possible instrument gating conditions.
Definition: RBRInstrumentSchedule.h:160
@ RBRINSTRUMENT_STATUS_STOPPED
Definition: RBRInstrumentSchedule.h:384
@ RBRINSTRUMENT_GATE_NONE
Definition: RBRInstrumentSchedule.h:163
RBRInstrumentPeriod burstInterval
The time between the first measurement of two consecutive bursts.
Definition: RBRInstrumentSchedule.h:259
@ RBRINSTRUMENT_SAMPLING_CONTINUOUS
Definition: RBRInstrumentSchedule.h:119
@ RBRINSTRUMENT_STATUS_GATED
Definition: RBRInstrumentSchedule.h:376
const char * RBRInstrumentDeploymentStatus_name(RBRInstrumentDeploymentStatus status)
Get a human-readable string name for a deployment status.
RBRInstrumentError RBRInstrument_setSampling(RBRInstrument *instrument, const RBRInstrumentSampling *sampling)
Set the instrument sampling mode and period.