libtiepie-hw
1.1.3
|
Functions to control the segment count. More...
Functions | |
TIEPIE_HW_API uint32_t | tiepie_hw_oscilloscope_get_segment_count_max (tiepie_hw_handle handle) |
Get the maximum supported number of segments of a specified oscilloscope. More... | |
TIEPIE_HW_API uint32_t | tiepie_hw_oscilloscope_get_segment_count (tiepie_hw_handle handle) |
Get the currently selected number of segments of a specified oscilloscope. More... | |
TIEPIE_HW_API uint32_t | tiepie_hw_oscilloscope_set_segment_count (tiepie_hw_handle handle, uint32_t value) |
Set the number of segments of a specified oscilloscope. More... | |
Functions to control the segment count.
The segment count can be affected by changing the record length.
TIEPIE_HW_API uint32_t tiepie_hw_oscilloscope_get_segment_count_max | ( | tiepie_hw_handle | handle | ) |
Get the maximum supported number of segments of a specified oscilloscope.
[in] | handle | A device handle identifying the oscilloscope. |
0
when unsuccessful. TIEPIE_HW_STATUS_NOT_SUPPORTED | Segment count is not supported by the hardware. |
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 uint32_t tiepie_hw_oscilloscope_get_segment_count | ( | tiepie_hw_handle | handle | ) |
Get the currently selected number of segments of a specified oscilloscope.
[in] | handle | A device handle identifying the oscilloscope. |
0
when unsuccessful. TIEPIE_HW_STATUS_INVALID_VALUE | |
TIEPIE_HW_STATUS_NOT_SUPPORTED | Segment count is not supported by the hardware. |
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 uint32_t tiepie_hw_oscilloscope_set_segment_count | ( | tiepie_hw_handle | handle, |
uint32_t | value | ||
) |
Set the number of segments of a specified oscilloscope.
[in] | handle | A device handle identifying the oscilloscope. |
[in] | value | The required number of segments. |
0
when unsuccessful. TIEPIE_HW_STATUS_VALUE_CLIPPED | The requested segment count is outside the valid range and clipped to the closest limit. |
TIEPIE_HW_STATUS_VALUE_MODIFIED | The requested segment count is within the valid range but not available. The closest valid value is set. |
TIEPIE_HW_STATUS_INVALID_VALUE | |
TIEPIE_HW_STATUS_NOT_SUPPORTED | Segment count is not supported by the hardware. |
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 |