libtiepie-hw
1.1.13
|
The channel trigger kind property is used to control how the channel trigger responds to the channel input signal. More...
Functions | |
TIEPIE_HW_API uint64_t | tiepie_hw_oscilloscope_channel_trigger_get_kinds (tiepie_hw_handle handle, uint16_t ch) |
Get the supported channel trigger kinds for a specified channel with the currently selected measure mode. More... | |
TIEPIE_HW_API uint64_t | tiepie_hw_oscilloscope_channel_trigger_get_kind (tiepie_hw_handle handle, uint16_t ch) |
Get the currently selected channel trigger kind for a specified channel. More... | |
TIEPIE_HW_API uint64_t | tiepie_hw_oscilloscope_channel_trigger_set_kind (tiepie_hw_handle handle, uint16_t ch, uint64_t value) |
Set the channel trigger kind for a specified channel. More... | |
The channel trigger kind property is used to control how the channel trigger responds to the channel input signal.
Use tiepie_hw_oscilloscope_channel_trigger_get_kinds() to find out which trigger kinds are supported by the channel. Depending on the selected trigger kind, other properties like e.g. level(s) and hysteresis are available to configure the channel trigger. Read more on trigger kind.
By default kind is set to rising edge (TIEPIE_HW_TK_RISINGEDGE).
TIEPIE_HW_API uint64_t tiepie_hw_oscilloscope_channel_trigger_get_kinds | ( | tiepie_hw_handle | handle, |
uint16_t | ch | ||
) |
Get the supported channel trigger kinds for a specified channel with the currently selected measure mode.
[in] | handle | A device handle identifying the oscilloscope. |
[in] | ch | The channel number identifying the channel, 0 to tiepie_hw_oscilloscope_get_channel_count() - 1 . |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The indicated channel does not support trigger with the current settings. |
TIEPIE_HW_STATUS_INVALID_CHANNEL | |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API uint64_t tiepie_hw_oscilloscope_channel_trigger_get_kind | ( | tiepie_hw_handle | handle, |
uint16_t | ch | ||
) |
Get the currently selected channel trigger kind for a specified channel.
[in] | handle | A device handle identifying the oscilloscope. |
[in] | ch | The channel number identifying the channel, 0 to tiepie_hw_oscilloscope_get_channel_count() - 1 . |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The indicated channel does not support trigger with the current settings. |
TIEPIE_HW_STATUS_INVALID_CHANNEL | |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API uint64_t tiepie_hw_oscilloscope_channel_trigger_set_kind | ( | tiepie_hw_handle | handle, |
uint16_t | ch, | ||
uint64_t | value | ||
) |
Set the channel trigger kind for a specified channel.
[in] | handle | A device handle identifying the oscilloscope. |
[in] | ch | The channel number identifying the channel, 0 to tiepie_hw_oscilloscope_get_channel_count() - 1 . |
[in] | value | The required trigger kind: a TIEPIE_HW_TK_* value. |
TIEPIE_HW_STATUS_INVALID_VALUE | The requested trigger kind is invalid. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The indicated channel does not support trigger with the current settings. |
TIEPIE_HW_STATUS_INVALID_CHANNEL | |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |