libRBR
v1.2.3
RBR instrument communication API
|
Instrument commands and structures pertaining to pauseresume. This feature is available in firmware versions 1.116 or later. More...
Go to the source code of this file.
Typedefs | |
typedef enum RBRInstrumentPauseresumeState | RBRInstrumentPauseresumeState |
The state of a pauseresume condition. | |
typedef enum RBRInstrumentPauseStatus | RBRInstrumentPauseStatus |
Possible instrument pause status. More... | |
typedef enum RBRInstrumentResumeStatus | RBRInstrumentResumeStatus |
Possible instrument resume status. More... | |
Enumerations | |
enum | RBRInstrumentPauseresumeState { RBRINSTRUMENT_PAUSERESUME_NA, RBRINSTRUMENT_PAUSERESUME_PAUSED, RBRINSTRUMENT_PAUSERESUME_RUNNING, RBRINSTRUMENT_UNKNOWN_PAUSERESUME } |
The state of a pauseresume condition. More... | |
enum | RBRInstrumentPauseStatus { RBRINSTRUMENT_PAUSE_PAUSED, RBRINSTRUMENT_UNKNOWN_PAUSE } |
Possible instrument pause status. More... | |
enum | RBRInstrumentResumeStatus { RBRINSTRUMENT_RESUME_PENDING, RBRINSTRUMENT_RESUME_LOGGING, RBRINSTRUMENT_UNKNOWN_RESUME } |
Possible instrument resume status. More... | |
Functions | |
const char * | RBRInstrumentPauseresumeState_name (RBRInstrumentPauseresumeState state) |
Get a human-readable string name for a pauseresume state. More... | |
const char * | RBRInstrumentPauseStatus_name (RBRInstrumentPauseStatus status) |
Get a human-readable string name for a pause status. More... | |
const char * | RBRInstrumentResumeStatus_name (RBRInstrumentResumeStatus status) |
Get a human-readable string name for a resume status. More... | |
RBRInstrumentError | RBRInstrument_getPauseresume (RBRInstrument *instrument, RBRInstrumentPauseresumeState *state) |
RBRInstrumentError | RBRInstrument_pause (RBRInstrument *instrument, RBRInstrumentPauseStatus *status) |
RBRInstrumentError | RBRInstrument_resume (RBRInstrument *instrument, RBRInstrumentResumeStatus *status) |
Instrument commands and structures pertaining to pauseresume. This feature is available in firmware versions 1.116 or later.
typedef enum RBRInstrumentPauseStatus RBRInstrumentPauseStatus |
Possible instrument pause status.
typedef enum RBRInstrumentResumeStatus RBRInstrumentResumeStatus |
Possible instrument resume status.
The state of a pauseresume condition.
Possible instrument pause status.
Enumerator | |
---|---|
RBRINSTRUMENT_PAUSE_PAUSED | Deployment is paused and no more samples will be taken once the current acquisition finishes. |
RBRINSTRUMENT_UNKNOWN_PAUSE | An unknown or unrecognized pause status. |
Possible instrument resume status.
Enumerator | |
---|---|
RBRINSTRUMENT_RESUME_PENDING | Deployment has resumed running as scheduled. |
RBRINSTRUMENT_UNKNOWN_RESUME | An unknown or unrecognized resume status. |
RBRInstrumentError RBRInstrument_getPauseresume | ( | RBRInstrument * | instrument, |
RBRInstrumentPauseresumeState * | state | ||
) |
It allows the host to determine if the pauseresume feature is available on the instrument. It allows an elevated host to allow and deny the feature for the instrument.
[in] | instrument | the instrument connection |
[in,out] | state | the state of pauseresume |
RBRInstrumentError RBRInstrument_pause | ( | RBRInstrument * | instrument, |
RBRInstrumentPauseStatus * | status | ||
) |
It pauses an enabled deloyment.
[in] | instrument | the instrument connection |
[in,out] | status | the status of pause |
RBRInstrumentError RBRInstrument_resume | ( | RBRInstrument * | instrument, |
RBRInstrumentResumeStatus * | status | ||
) |
It resumes an enabled deployment which was previously paused using the pause command
[in] | instrument | the instrument connection |
[in,out] | status | the status of resume |
const char* RBRInstrumentPauseresumeState_name | ( | RBRInstrumentPauseresumeState | state | ) |
Get a human-readable string name for a pauseresume state.
[in] | state | the pauseresume state |
const char* RBRInstrumentPauseStatus_name | ( | RBRInstrumentPauseStatus | status | ) |
Get a human-readable string name for a pause status.
[in] | status | the pause status |
const char* RBRInstrumentResumeStatus_name | ( | RBRInstrumentResumeStatus | status | ) |
Get a human-readable string name for a resume status.
[in] | status | the resume status |