LibTiePie  0.4.4
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Info

Information of a device trigger input can be obtained. More...

Functions

bool8_t DevTrInIsAvailable (TpDeviceHandle_t hDevice, uint16_t wInput)
 Check whether a device trigger input is available.
 
uint32_t DevTrInGetId (TpDeviceHandle_t hDevice, uint16_t wInput)
 Get the id of a specified device trigger input.
 
uint32_t DevTrInGetName (TpDeviceHandle_t hDevice, uint16_t wInput, char *pBuffer, uint32_t dwBufferLength)
 Get the name of a specified device trigger input.
 

Detailed Description

Information of a device trigger input can be obtained.

The following information of a device trigger input is available:

Function Documentation

bool8_t DevTrInIsAvailable ( TpDeviceHandle_t  hDevice,
uint16_t  wInput 
)

Check whether a device trigger input is available.

Parameters
hDeviceA device handle.
wInputTrigger input number, 0 to DevTrInGetCount() - 1.
Returns
BOOL8_TRUE if available, BOOL8_FALSE otherwise.
Since
0.4.4
uint32_t DevTrInGetId ( TpDeviceHandle_t  hDevice,
uint16_t  wInput 
)

Get the id of a specified device trigger input.

Parameters
hDeviceA device handle.
wInputTrigger input number, 0 to DevTrInGetCount() - 1.
Returns
Trigger input id, a TIID_* value.
Since
0.4.4
uint32_t DevTrInGetName ( TpDeviceHandle_t  hDevice,
uint16_t  wInput,
char *  pBuffer,
uint32_t  dwBufferLength 
)

Get the name of a specified device trigger input.

Parameters
hDeviceA device handle.
wInputTrigger input number, 0 to DevTrInGetCount() - 1.
pBufferPointer to buffer to write to.
dwBufferLengthLength of the buffer.
Returns
Name length excluding excluding terminating zero.
Since
0.4.1