LibTiePie
0.7.4
Library for interfacing TiePie engineering instruments
|
Functions to control the input coupling of an oscilloscope channel.
By default the input coupling of a channel is set to: Volt DC (CK_DCV).
Functions | |
uint64_t | ScpChGetCouplings (LibTiePieHandle_t hDevice, uint16_t wCh) |
Get the supported coupling kinds of a specified channel. More... | |
uint64_t | ScpChGetCoupling (LibTiePieHandle_t hDevice, uint16_t wCh) |
Get the currently set coupling of a specified channel. More... | |
uint64_t | ScpChSetCoupling (LibTiePieHandle_t hDevice, uint16_t wCh, uint64_t qwCoupling) |
Set the coupling of a specified channel. More... | |
uint64_t ScpChGetCouplings | ( | LibTiePieHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get the supported coupling kinds of a specified channel.
[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. |
uint64_t ScpChGetCoupling | ( | LibTiePieHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get the currently set coupling of a specified channel.
[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. |
uint64_t ScpChSetCoupling | ( | LibTiePieHandle_t | hDevice, |
uint16_t | wCh, | ||
uint64_t | qwCoupling | ||
) |
Set the coupling of a specified channel.
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | wCh | The channel number identifying the channel, 0 to ScpGetChannelCount() - 1 . |
[in] | qwCoupling | The required coupling, a CK_* value. |
INVALID_VALUE | The requested coupling kind is invalid. |
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. |