|
LibTiePie
0.9.16
Library for interfacing TiePie engineering instruments
|
Obtain information of a device trigger output.
The following information of a device trigger output is available:
Functions | |
| uint32_t | DevTrOutGetId (LibTiePieHandle_t hDevice, uint16_t wOutput) |
| Get the id of a specified device trigger output. More... | |
| uint32_t | DevTrOutGetName (LibTiePieHandle_t hDevice, uint16_t wOutput, char *pBuffer, uint32_t dwBufferLength) |
| Get the name of a specified device trigger output. More... | |
| bool8_t | DevTrOutTrigger (LibTiePieHandle_t hDevice, uint16_t wOutput) |
| Trigger the specified device trigger output. More... | |
| uint32_t DevTrOutGetId | ( | LibTiePieHandle_t | hDevice, |
| uint16_t | wOutput | ||
| ) |
Get the id of a specified device trigger output.
| [in] | hDevice | A device handle identifying the device. |
| [in] | wOutput | The trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1. |
| INVALID_OUTPUT | The requested trigger output is invalid. |
| NOT_SUPPORTED | The device has no trigger outputs. |
| 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. |
| uint32_t DevTrOutGetName | ( | LibTiePieHandle_t | hDevice, |
| uint16_t | wOutput, | ||
| char * | pBuffer, | ||
| uint32_t | dwBufferLength | ||
| ) |
Get the name of a specified device trigger output.
| [in] | hDevice | A device handle identifying the device. |
| [in] | wOutput | The trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1. |
| [out] | pBuffer | A pointer to a buffer for the name. |
| [in] | dwBufferLength | The length of the buffer, in bytes. |
| INVALID_OUTPUT | The requested trigger output is invalid. |
| NOT_SUPPORTED | The device has no trigger outputs. |
| 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. |
| bool8_t DevTrOutTrigger | ( | LibTiePieHandle_t | hDevice, |
| uint16_t | wOutput | ||
| ) |
Trigger the specified device trigger output.
| [in] | hDevice | A device handle identifying the device. |
| [in] | wOutput | The trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1. |
| UNSUCCESSFUL | An error occurred during execution of the last called function. |
| INVALID_OUTPUT | The requested trigger output is invalid. |
| NOT_SUPPORTED | The device has no trigger outputs or the trigger output doesn't support manual triggering. |
| INVALID_HANDLE | The handle to the device is invalid. |
| DEVICE_GONE | |
| LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
| SUCCESS | The function executed successfully. |