libtiepie-hw 1.3.3
|
Functions to control the trigger presamples valid of an oscilloscope. More...
Functions | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_oscilloscope_has_presamples_valid (tiepie_hw_handle handle) |
Check whether the oscilloscope has presamples valid support with the currently selected measure mode. | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_oscilloscope_has_presamples_valid_ex (tiepie_hw_handle handle, uint32_t measure_mode) |
Check whether the oscilloscope has presamples valid support for a specific measure mode. | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_oscilloscope_get_presamples_valid (tiepie_hw_handle handle) |
Get presamples valid for a specified measure mode, for a specified oscilloscope. | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_oscilloscope_set_presamples_valid (tiepie_hw_handle handle, tiepie_hw_bool value) |
Set presamples valid, for a specified oscilloscope. | |
Functions to control the trigger presamples valid of an oscilloscope.
TIEPIE_HW_API tiepie_hw_bool tiepie_hw_oscilloscope_has_presamples_valid | ( | tiepie_hw_handle | handle | ) |
Check whether the oscilloscope has presamples valid support with the currently selected measure mode.
[in] | handle | A device handle identifying the oscilloscope. |
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 tiepie_hw_bool tiepie_hw_oscilloscope_has_presamples_valid_ex | ( | tiepie_hw_handle | handle, |
uint32_t | measure_mode | ||
) |
Check whether the oscilloscope has presamples valid support for a specific measure mode.
[in] | handle | A device handle identifying the oscilloscope. |
[in] | measure_mode | Measure mode, a TIEPIE_HW_MM_* value. |
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 tiepie_hw_bool tiepie_hw_oscilloscope_get_presamples_valid | ( | tiepie_hw_handle | handle | ) |
Get presamples valid for a specified measure mode, for a specified oscilloscope.
[in] | handle | A device handle identifying the oscilloscope. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The oscilloscope does not support presamples valid. |
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 tiepie_hw_bool tiepie_hw_oscilloscope_set_presamples_valid | ( | tiepie_hw_handle | handle, |
tiepie_hw_bool | value | ||
) |
Set presamples valid, for a specified oscilloscope.
[in] | handle | A device handle identifying the oscilloscope. |
[in] | value | TIEPIE_HW_BOOL_TRUE to enable presamples valid, TIEPIE_HW_BOOL_FALSE otherwise. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The oscilloscope does not support presamples valid. |
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 |