LibTiePie  0.4.3
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Kind

The device trigger kind determines how the device trigger responds to the device trigger input signal. More...

Functions

uint64_t DevTrInGetKinds (TpDeviceHandle_t hDevice, uint16_t wInput)
 Get the supported trigger kinds for a specified device trigger input.
 
uint64_t DevTrInGetKind (TpDeviceHandle_t hDevice, uint16_t wInput)
 Get the currently selected trigger kind for a specified device trigger input.
 
uint64_t DevTrInSetKind (TpDeviceHandle_t hDevice, uint16_t wInput, uint64_t qwKind)
 Set the required trigger kind for a specified device trigger input.
 

Detailed Description

The device trigger kind determines how the device trigger responds to the device trigger input signal.

Use DevTrInGetKinds to find out which trigger kinds are supported by the device trigger input. Read more on device trigger kind

Default value: TK_RISINGEDGE if supported, else TK_FALLINGEDGE.

Function Documentation

uint64_t DevTrInGetKinds ( TpDeviceHandle_t  hDevice,
uint16_t  wInput 
)

Get the supported trigger kinds for a specified device trigger input.

Parameters
hDeviceA device handle.
wInputTrigger input number, 0 to DevTrInGetCount() - 1.
Returns
Supported trigger input kinds, a set of OR-ed TK_* values.
See Also
DevTrInGetKind
DevTrInSetKind
uint64_t DevTrInGetKind ( TpDeviceHandle_t  hDevice,
uint16_t  wInput 
)

Get the currently selected trigger kind for a specified device trigger input.

Parameters
hDeviceA device handle.
wInputTrigger input number, 0 to DevTrInGetCount() - 1.
Returns
The current trigger kind, a TK_* value.
See Also
DevTrInGetKinds
DevTrInSetKind
uint64_t DevTrInSetKind ( TpDeviceHandle_t  hDevice,
uint16_t  wInput,
uint64_t  qwKind 
)

Set the required trigger kind for a specified device trigger input.

Parameters
hDeviceA device handle.
wInputTrigger input number, 0 to DevTrInGetCount() - 1.
qwKindThe required trigger kind, a TK_* value.
Returns
The actually set trigger kind, a TK_* value.
See Also
DevTrInGetKinds
DevTrInGetKind