Functions for controlling the trigger level mode.
More...
Functions for controlling the trigger level mode.
The trigger level can be set in two different ways, indicated by the trigger level mode:
When trigger level mode is set to TIEPIE_HW_TLM_RELATIVE and auto ranging of the channel is enabled, the trigger level will remain at the same percentage when the input range changes, resulting in a different absolute voltage.
When trigger level mode is set to TIEPIE_HW_TLM_ABSOLUTE and auto ranging of the channel is enabled, the trigger level will remain at the same absolute voltage level when the input range changes. The input range will not auto range to a range that is smaller than the selected trigger level.
By default the trigger level mode is set to TIEPIE_HW_TLM_RELATIVE.
◆ tiepie_hw_oscilloscope_channel_trigger_get_level_modes()
TIEPIE_HW_API uint32_t tiepie_hw_oscilloscope_channel_trigger_get_level_modes |
( |
tiepie_hw_handle |
handle, |
|
|
uint16_t |
ch |
|
) |
| |
Get the supported trigger level modes of a specified channel.
- Parameters
-
- Returns
- The supported trigger level modes, a set of OR-ed TIEPIE_HW_TLM_* values or TIEPIE_HW_TLMM_NONE when unsuccessful.
- Status values
-
- Since
- 1.0
◆ tiepie_hw_oscilloscope_channel_trigger_get_level_mode()
TIEPIE_HW_API uint32_t tiepie_hw_oscilloscope_channel_trigger_get_level_mode |
( |
tiepie_hw_handle |
handle, |
|
|
uint16_t |
ch |
|
) |
| |
Get the current trigger level mode of a specified channel.
- Parameters
-
- Returns
- The curretly set trigger level mode, a TIEPIE_HW_TLM_* value, or TIEPIE_HW_TLMM_NONE when unsuccessful.
- Status values
-
- Since
- 1.0
◆ tiepie_hw_oscilloscope_channel_trigger_set_level_mode()
TIEPIE_HW_API uint32_t tiepie_hw_oscilloscope_channel_trigger_set_level_mode |
( |
tiepie_hw_handle |
handle, |
|
|
uint16_t |
ch, |
|
|
uint32_t |
value |
|
) |
| |
Set the trigger level mode of a specified channel.
- Parameters
-
- Returns
- The actually set trigger level mode, a TIEPIE_HW_TLM_* value, or TIEPIE_HW_TLMM_NONE when unsuccessful.
- Status values
-
- Since
- 1.0