libRBR
v1.2.3
RBR instrument communication API
|
Instrument commands and structures pertaining to gated sampling. More...
Go to the source code of this file.
Data Structures | |
struct | RBRInstrumentThresholding |
Instrument thresholding command parameters. More... | |
struct | RBRInstrumentTwistActivation |
Instrument twistactivation command parameters. More... | |
Typedefs | |
typedef enum RBRInstrumentGatingState | RBRInstrumentGatingState |
The state of a gating condition. | |
typedef enum RBRInstrumentThresholdingChannelSelection | RBRInstrumentThresholdingChannelSelection |
Means of instrument thresholding channel selection. More... | |
typedef enum RBRInstrumentThresholdingCondition | RBRInstrumentThresholdingCondition |
Possible instrument thresholding conditions. More... | |
typedef struct RBRInstrumentThresholding | RBRInstrumentThresholding |
Instrument thresholding command parameters. More... | |
typedef struct RBRInstrumentTwistActivation | RBRInstrumentTwistActivation |
Instrument twistactivation command parameters. More... | |
Enumerations | |
enum | RBRInstrumentGatingState { RBRINSTRUMENT_GATING_NA, RBRINSTRUMENT_GATING_PAUSED, RBRINSTRUMENT_GATING_RUNNING, RBRINSTRUMENT_GATING_COUNT, RBRINSTRUMENT_UNKNOWN_GATING } |
The state of a gating condition. More... | |
enum | RBRInstrumentThresholdingChannelSelection { RBRINSTRUMENT_THRESHOLD_CHANNEL_BY_INDEX, RBRINSTRUMENT_THRESHOLD_CHANNEL_BY_LABEL } |
Means of instrument thresholding channel selection. More... | |
enum | RBRInstrumentThresholdingCondition { RBRINSTRUMENT_THRESHOLDING_ABOVE, RBRINSTRUMENT_THRESHOLDING_BELOW, RBRINSTRUMENT_THRESHOLDING_COUNT, RBRINSTRUMENT_UNKNOWN_THRESHOLDING } |
Possible instrument thresholding conditions. More... | |
Instrument commands and structures pertaining to gated sampling.
typedef struct RBRInstrumentThresholding RBRInstrumentThresholding |
Instrument thresholding
command parameters.
Means of instrument thresholding channel selection.
Possible instrument thresholding conditions.
typedef struct RBRInstrumentTwistActivation RBRInstrumentTwistActivation |
Instrument twistactivation
command parameters.
The state of a gating condition.
Means of instrument thresholding channel selection.
Enumerator | |
---|---|
RBRINSTRUMENT_THRESHOLD_CHANNEL_BY_INDEX | The channel is set by index. |
RBRINSTRUMENT_THRESHOLD_CHANNEL_BY_LABEL | The channel is set by label. |
Possible instrument thresholding conditions.
RBRInstrumentError RBRInstrument_getThresholding | ( | RBRInstrument * | instrument, |
RBRInstrumentThresholding * | threshold | ||
) |
Get the instrument thresholding settings.
[in] | instrument | the instrument connection |
[out] | threshold | the thresholding parameters |
RBRInstrumentError RBRInstrument_getTwistActivation | ( | RBRInstrument * | instrument, |
RBRInstrumentTwistActivation * | twistActivation | ||
) |
Get the instrument twist activation settings.
[in] | instrument | the instrument connection |
[out] | twistActivation | the twist activation parameters |
RBRInstrumentError RBRInstrument_setThresholding | ( | RBRInstrument * | instrument, |
const RBRInstrumentThresholding * | threshold | ||
) |
Set the instrument thresholding settings.
Hardware errors may occur if:
[in] | instrument | the instrument connection |
[in] | threshold | the thresholding parameters |
RBRInstrumentError RBRInstrument_setTwistActivation | ( | RBRInstrument * | instrument, |
const RBRInstrumentTwistActivation * | twistActivation | ||
) |
Set the instrument twist activation settings.
Hardware errors may occur if:
[in] | instrument | the instrument connection |
[in] | twistActivation | the twist activation parameters |
const char* RBRInstrumentGatingState_name | ( | RBRInstrumentGatingState | state | ) |
Get a human-readable string name for a gating state.
[in] | state | the gating state |
const char* RBRInstrumentThresholdingChannelSelection_name | ( | RBRInstrumentThresholdingChannelSelection | selection | ) |
Get a human-readable string name for a means of thresholding channel selection.
[in] | selection | the channel selection type |
const char* RBRInstrumentThresholdingCondition_name | ( | RBRInstrumentThresholdingCondition | condition | ) |
Get a human-readable string name for a thresholding condition.
[in] | condition | the thresholding condition |