libtiepie-hw 1.3.3
|
Functions to retrieve information from an oscilloscope channel. More...
Functions | |
TIEPIE_HW_API uint32_t | tiepie_hw_oscilloscope_channel_get_connector_type (tiepie_hw_handle handle, uint16_t ch) |
Get the channel connector type. | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_oscilloscope_channel_is_differential (tiepie_hw_handle handle, uint16_t ch) |
Check whether the channel has a differential input. | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_oscilloscope_channel_is_isolated (tiepie_hw_handle handle, uint16_t ch) |
Check whether the channel has a galvanically isolated input. | |
TIEPIE_HW_API double | tiepie_hw_oscilloscope_channel_get_impedance (tiepie_hw_handle handle, uint16_t ch) |
Get the channel input impedance. | |
Functions to retrieve information from an oscilloscope channel.
TIEPIE_HW_API uint32_t tiepie_hw_oscilloscope_channel_get_connector_type | ( | tiepie_hw_handle | handle, |
uint16_t | ch | ||
) |
Get the channel connector type.
[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 connector type. |
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 tiepie_hw_bool tiepie_hw_oscilloscope_channel_is_differential | ( | tiepie_hw_handle | handle, |
uint16_t | ch | ||
) |
Check whether the channel has a differential input.
[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_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 tiepie_hw_bool tiepie_hw_oscilloscope_channel_is_isolated | ( | tiepie_hw_handle | handle, |
uint16_t | ch | ||
) |
Check whether the channel has a galvanically isolated input.
[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_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_impedance | ( | tiepie_hw_handle | handle, |
uint16_t | ch | ||
) |
Get the channel input impedance.
[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 impedance. |
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 |