|
LibTiePie
0.5
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 (TpDeviceHandle_t hDevice, uint16_t wCh) |
| Get the supported coupling kinds of a specified channel. More... | |
| uint64_t | ScpChGetCoupling (TpDeviceHandle_t hDevice, uint16_t wCh) |
| Get the currently set coupling of a specified channel. More... | |
| uint64_t | ScpChSetCoupling (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwCoupling) |
| Set the coupling of a specified channel. More... | |
| uint64_t ScpChGetCouplings | ( | TpDeviceHandle_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 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. |
| LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
| SUCCESS | The function executed successfully. |
| uint64_t ScpChGetCoupling | ( | TpDeviceHandle_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 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. |
| LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
| SUCCESS | The function executed successfully. |
| uint64_t ScpChSetCoupling | ( | TpDeviceHandle_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 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. |
| LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
| SUCCESS | The function executed successfully. |