LibTiePie
0.4.5
Library for interfacing TiePie engineering instruments
|
Functions to retrieve information from an oscilloscope channel.
Functions | |
uint32_t | ScpChGetConnectorType (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get the channel connector type. More... | |
bool8_t | ScpChIsDifferential (TpDeviceHandle_t hDevice, uint16_t wCh) |
Check whether the channel has a differential input. More... | |
double | ScpChGetImpedance (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get the channel input impedance. More... | |
uint32_t ScpChGetConnectorType | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get the channel connector type.
hDevice | A device handle identifying the oscilloscope. |
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 not valid. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
DEVICE_GONE | The device indicated by the device handle is no longer available. |
SUCCESS | The function executed successfully. |
bool8_t ScpChIsDifferential | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Check whether the channel has a differential input.
hDevice | A device handle identifying the oscilloscope. |
wCh | The channel number identifying the channel, 0 to ScpGetChannelCount() - 1 . |
INVALID_CHANNEL | The requested channel number is not valid. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
DEVICE_GONE | The device indicated by the device handle is no longer available. |
SUCCESS | The function executed successfully. |
double ScpChGetImpedance | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get the channel input impedance.
hDevice | A device handle identifying the oscilloscope. |
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 not valid. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
DEVICE_GONE | The device indicated by the device handle is no longer available. |
SUCCESS | The function executed successfully. |