|
LibTiePie
0.7.1
Library for interfacing TiePie engineering instruments
|
Select the event that controls the trigger output.
Supported events are:
Only one event at a time can be set for a trigger output.
By default, the event is set to TOE_GENERATOR_START.
Functions | |
| uint64_t | DevTrOutGetEvents (LibTiePieHandle_t hDevice, uint16_t wOutput) |
| Get the supported trigger output events for a specified device trigger output. More... | |
| uint64_t | DevTrOutGetEvent (LibTiePieHandle_t hDevice, uint16_t wOutput) |
| Get the currently selected trigger output event for a specified device trigger output. More... | |
| uint64_t | DevTrOutSetEvent (LibTiePieHandle_t hDevice, uint16_t wOutput, uint64_t qwEvent) |
| Set the trigger output event for a specified device trigger output. More... | |
| uint64_t DevTrOutGetEvents | ( | LibTiePieHandle_t | hDevice, |
| uint16_t | wOutput | ||
| ) |
Get the supported trigger output events for 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. |
| uint64_t DevTrOutGetEvent | ( | LibTiePieHandle_t | hDevice, |
| uint16_t | wOutput | ||
| ) |
Get the currently selected trigger output event for 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. |
| uint64_t DevTrOutSetEvent | ( | LibTiePieHandle_t | hDevice, |
| uint16_t | wOutput, | ||
| uint64_t | qwEvent | ||
| ) |
Set the trigger output event for 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. |
| [in] | qwEvent | Trigger output event, a TOE_* value. |
| INVALID_OUTPUT | The requested trigger output is invalid. |
| INVALID_VALUE | The requested event value 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. |