LibTiePie
0.4.2
Library for interfacing TiePie engineering instruments
|
Some trigger kinds require an additional condition to indicate how the channel trigger must respond to the input signal. More...
Functions | |
uint32_t | ScpChTrGetConditions (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get the supported trigger conditions for a specified channel with the current trigger kind. | |
uint32_t | ScpChTrGetCondition (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get the current selected trigger condition for a specified channel. | |
uint32_t | ScpChTrSetCondition (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwCondition) |
Set the trigger condition for a specified channel. | |
Some trigger kinds require an additional condition to indicate how the channel trigger must respond to the input signal.
The available trigger conditions depend on the currently set trigger kind. Use ScpChTrGetConditions to determine the available trigger conditions for the currently selected trigger kind. Read more on trigger condition.
By default the trigger condition is set to: greater than (TC_GREATER).
uint32_t ScpChTrGetCondition | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get the current selected trigger condition for a specified channel.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
uint32_t ScpChTrGetConditions | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get the supported trigger conditions for a specified channel with the current trigger kind.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
uint32_t ScpChTrSetCondition | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
uint32_t | dwCondition | ||
) |
Set the trigger condition for a specified channel.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
dwCondition | The required trigger condition, a TC_* value. |