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.
Get the supported trigger output events for a specified device trigger output.
- Parameters
-
hDevice | A device handle identifying the device. |
wOutput | The trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1 . |
- Returns
- The supported trigger output events, a set of OR-ed TOE_* values.
- Status values
-
- See also
- DevTrOutGetEvent
-
DevTrOutSetEvent
- Since
- 0.4.1
Get the currently selected trigger output event for a specified device trigger output.
- Parameters
-
hDevice | A device handle identifying the device. |
wOutput | The trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1 . |
- Returns
- The currently selected trigger output event, a TOE_* value.
- Status values
-
- See also
- DevTrOutGetEvents
-
DevTrOutSetEvent
- Since
- 0.4.1
uint64_t DevTrOutSetEvent |
( |
TpDeviceHandle_t |
hDevice, |
|
|
uint16_t |
wOutput, |
|
|
uint64_t |
qwEvent |
|
) |
| |
Set the trigger output event for a specified device trigger output.
- Parameters
-
hDevice | A device handle identifying the device. |
wOutput | The trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1 . |
qwEvent | Trigger output event, a TOE_* value. |
- Returns
- Trigger output event, a TOE_* value.
- Status values
-
- See also
- DevTrOutGetEvents
-
DevTrOutGetEvent
- Since
- 0.4.1