LibTiePie
0.5
Library for interfacing TiePie engineering instruments
|
The enabled state of a channel trigger determines whether a channel is selected as trigger source.
Channel triggers of multiple channels can be enabled, in that case they will be OR'ed.
By default channel 1 is enabled, all other channels are disabled.
Functions | |
bool8_t | ScpChTrGetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh) |
Check whether channel trigger for a specified channel is enabled. More... | |
bool8_t | ScpChTrSetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh, bool8_t bEnable) |
To select a channel as trigger source, set channel trigger enable. More... | |
bool8_t ScpChTrGetEnabled | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Check whether channel trigger for a specified channel is enabled.
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | wCh | The channel number identifying the channel, 0 to ScpGetChannelCount() - 1 . |
NOT_SUPPORTED | The indicated channel does not support trigger with the current settings. |
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 ScpChTrSetEnabled | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
bool8_t | bEnable | ||
) |
To select a channel as trigger source, set channel trigger 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. |
NOT_SUPPORTED | The indicated channel does not support trigger with the current settings. |
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. |