LibTiePie
0.9.13
Library for interfacing TiePie engineering instruments
|
Functions to retrieve information from an oscilloscope channel.
Functions | |
uint32_t | ScpChGetConnectorType (LibTiePieHandle_t hDevice, uint16_t wCh) |
Get the channel connector type. More... | |
bool8_t | ScpChIsDifferential (LibTiePieHandle_t hDevice, uint16_t wCh) |
Check whether the channel has a differential input. More... | |
double | ScpChGetImpedance (LibTiePieHandle_t hDevice, uint16_t wCh) |
Get the channel input impedance. More... | |
uint32_t ScpChGetConnectorType | ( | LibTiePieHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get the channel connector type.
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | wCh | The channel number identifying the channel, 0 to ScpGetChannelCount() - 1 . |
NOT_SUPPORTED | The channel does not support reading the connector type. |
INVALID_CHANNEL | The requested channel number is invalid. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
bool8_t ScpChIsDifferential | ( | LibTiePieHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Check whether the channel has a differential input.
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | wCh | The channel number identifying the channel, 0 to ScpGetChannelCount() - 1 . |
INVALID_CHANNEL | The requested channel number is invalid. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
double ScpChGetImpedance | ( | LibTiePieHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get the channel input impedance.
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | wCh | The channel number identifying the channel, 0 to ScpGetChannelCount() - 1 . |
NOT_SUPPORTED | The channel does not support reading the input impedance. |
INVALID_CHANNEL | The requested channel number is invalid. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |