LibTiePie
0.9.16
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.
The enabled state can be affected by changing the channel enable, sample frequency and/or resolution.
By default channel 1 is enabled, all other channels are disabled.
Functions | |
bool8_t | ScpChTrGetEnabled (LibTiePieHandle_t hDevice, uint16_t wCh) |
Check whether channel trigger for a specified channel is enabled. More... | |
bool8_t | ScpChTrSetEnabled (LibTiePieHandle_t hDevice, uint16_t wCh, bool8_t bEnable) |
To select a channel as trigger source, set channel trigger enable. More... | |
bool8_t ScpChTrGetEnabled | ( | LibTiePieHandle_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 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. |
bool8_t ScpChTrSetEnabled | ( | LibTiePieHandle_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_AVAILABLE | With the current settings, the requested functionality is not available. |
NOT_SUPPORTED | The indicated channel does not support trigger with the current settings. |
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. |