|
LibTiePie
0.5
Library for interfacing TiePie engineering instruments
|
Functions to control the enabled state of an oscilloscope channel.
The enabled state of a channel determines whether the channel is measured.
By default all channels are enabled (BOOL8_TRUE).
Functions | |
| bool8_t | ScpChGetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh) |
| Check whether a specified channel is currently enabled. More... | |
| bool8_t | ScpChSetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh, bool8_t bEnable) |
| Set channel enable. More... | |
| bool8_t ScpChGetEnabled | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Check whether a specified channel is currently enabled.
| [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. |
| bool8_t ScpChSetEnabled | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh, | ||
| bool8_t | bEnable | ||
| ) |
Set channel enable.
| [in] | hDevice | A device handle identifying the oscilloscope. |
| [in] | wCh | The channel number identifying the channel, 0 to ScpGetChannelCount() - 1. |
| [in] | bEnable | BOOL8_TRUE or BOOL8_FALSE. |
| 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. |