LibTiePie
0.9.16
Library for interfacing TiePie engineering instruments
|
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.
Functions | |
uint64_t | DevTrInGetKinds (LibTiePieHandle_t hDevice, uint16_t wInput) |
Get the supported trigger kinds for a specified device trigger input. More... | |
uint64_t | DevTrInGetKind (LibTiePieHandle_t hDevice, uint16_t wInput) |
Get the currently selected trigger kind for a specified device trigger input. More... | |
uint64_t | DevTrInSetKind (LibTiePieHandle_t hDevice, uint16_t wInput, uint64_t qwKind) |
Set the required trigger kind for a specified device trigger input. More... | |
uint64_t DevTrInGetKinds | ( | LibTiePieHandle_t | hDevice, |
uint16_t | wInput | ||
) |
Get the supported trigger kinds for a specified device trigger input.
[in] | hDevice | A device handle identifying the device. |
[in] | wInput | The trigger input index identifying the trigger input, 0 to DevTrInGetCount() - 1 . |
INVALID_INPUT | The requested trigger input is invalid. |
NOT_AVAILABLE | With the current settings, the trigger input is not available. |
NOT_SUPPORTED | The device has no trigger inputs. |
INVALID_HANDLE | The handle to the device is invalid. |
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. |
uint64_t DevTrInGetKind | ( | LibTiePieHandle_t | hDevice, |
uint16_t | wInput | ||
) |
Get the currently selected trigger kind for a specified device trigger input.
[in] | hDevice | A device handle identifying the device. |
[in] | wInput | The trigger input index identifying the trigger input, 0 to DevTrInGetCount() - 1 . |
INVALID_INPUT | The requested trigger input is invalid. |
NOT_AVAILABLE | With the current settings, the trigger input is not available. |
NOT_SUPPORTED | The device has no trigger inputs. |
INVALID_HANDLE | The handle to the device is invalid. |
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. |
uint64_t DevTrInSetKind | ( | LibTiePieHandle_t | hDevice, |
uint16_t | wInput, | ||
uint64_t | qwKind | ||
) |
Set the required trigger kind for a specified device trigger input.
[in] | hDevice | A device handle identifying the device. |
[in] | wInput | The trigger input index identifying the trigger input, 0 to DevTrInGetCount() - 1 . |
[in] | qwKind | The required trigger kind, a TK_* value. |
INVALID_INPUT | The requested trigger input is invalid. |
NOT_AVAILABLE | With the current settings, the trigger input is not available. |
INVALID_VALUE | The requested trigger kind is invalid. |
NOT_SUPPORTED | The device has no trigger inputs. |
INVALID_HANDLE | The handle to the device is invalid. |
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. |