LibTiePie
0.4.2
Library for interfacing TiePie engineering instruments
|
The channel trigger kind property is used to control how the channel trigger responds to the channel input signal. More...
Functions | |
uint64_t | ScpChTrGetKinds (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get the supported channel trigger kinds for a specified channel with the current measure mode. | |
uint64_t | ScpChTrGetKind (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get the currently selected channel trigger kind for a specified channel. | |
uint64_t | ScpChTrSetKind (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwTriggerKind) |
Set the channel trigger kind for a specified channel. | |
The channel trigger kind property is used to control how the channel trigger responds to the channel input signal.
Use ScpChTrGetKinds to find out which trigger kinds are supported by the channel. Depending on the selected trigger kind, other properties like e.g. level(s) and hysteresis are available to configure the channel trigger. Read more on trigger kind.
By default kind is set to rising edge (TK_RISING).
uint64_t ScpChTrGetKind | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get the currently selected channel trigger kind for a specified channel.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
uint64_t ScpChTrGetKinds | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get the supported channel trigger kinds for a specified channel with the current measure mode.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
uint64_t ScpChTrSetKind | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
uint64_t | qwTriggerKind | ||
) |
Set the channel trigger kind for a specified channel.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
qwTriggerKind | Trigger kind: a TK_* value. |