libtiepie-hw
1.1.6
|
Functions to control the input bandwidth of an oscilloscope channel. More...
Functions | |
TIEPIE_HW_API uint32_t | tiepie_hw_oscilloscope_channel_get_bandwidths (tiepie_hw_handle handle, uint16_t ch, double *list, uint32_t length) |
Get the supported input bandwidths for a specified channel. More... | |
TIEPIE_HW_API double | tiepie_hw_oscilloscope_channel_get_bandwidth (tiepie_hw_handle handle, uint16_t ch) |
Get the current channel input bandwidth. More... | |
TIEPIE_HW_API double | tiepie_hw_oscilloscope_channel_set_bandwidth (tiepie_hw_handle handle, uint16_t ch, double bandwidth) |
Set the channel input bandwidth. More... | |
Functions to control the input bandwidth of an oscilloscope channel.
By default the input bandwidth of a channel is set to the highest value available.
TIEPIE_HW_API uint32_t tiepie_hw_oscilloscope_channel_get_bandwidths | ( | tiepie_hw_handle | handle, |
uint16_t | ch, | ||
double * | list, | ||
uint32_t | length | ||
) |
Get the supported input bandwidths 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 . |
[out] | list | A pointer to an array for the input bandwidths. |
[in] | length | The number of elements in the array. |
TIEPIE_HW_STATUS_UNSUCCESSFUL | |
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 double tiepie_hw_oscilloscope_channel_get_bandwidth | ( | tiepie_hw_handle | handle, |
uint16_t | ch | ||
) |
Get the current channel input bandwidth.
[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 channel does not support reading the input bandwidth. |
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 double tiepie_hw_oscilloscope_channel_set_bandwidth | ( | tiepie_hw_handle | handle, |
uint16_t | ch, | ||
double | bandwidth | ||
) |
Set the channel input bandwidth.
[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] | bandwidth | The requested input bandwidth in Hz. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The channel does not support changing the input bandwidth. |
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 |