LibTiePie  0.5
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Modules Pages

Description

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 (TpDeviceHandle_t hDevice, uint16_t wOutput)
 Get the supported trigger output events for a specified device trigger output. More...
 
uint64_t DevTrOutGetEvent (TpDeviceHandle_t hDevice, uint16_t wOutput)
 Get the currently selected trigger output event for a specified device trigger output. More...
 
uint64_t DevTrOutSetEvent (TpDeviceHandle_t hDevice, uint16_t wOutput, uint64_t qwEvent)
 Set the trigger output event for a specified device trigger output. More...
 

Function Documentation

uint64_t DevTrOutGetEvents ( TpDeviceHandle_t  hDevice,
uint16_t  wOutput 
)

Get the supported trigger output events for a specified device trigger output.

Parameters
[in]hDeviceA device handle identifying the device.
[in]wOutputThe 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
INVALID_OUTPUT The requested trigger output is not valid.
NOT_SUPPORTED The device has no trigger outputs.
INVALID_HANDLE The handle to the device is invalid.
DEVICE_GONE The device indicated by the device handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
See also
DevTrOutGetEvent
DevTrOutSetEvent
Since
0.4.1
uint64_t DevTrOutGetEvent ( TpDeviceHandle_t  hDevice,
uint16_t  wOutput 
)

Get the currently selected trigger output event for a specified device trigger output.

Parameters
[in]hDeviceA device handle identifying the device.
[in]wOutputThe trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1.
Returns
The currently selected trigger output event, a TOE_* value.
Status values
INVALID_OUTPUT The requested trigger output is not valid.
NOT_SUPPORTED The device has no trigger outputs.
INVALID_HANDLE The handle to the device is invalid.
DEVICE_GONE The device indicated by the device handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
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
[in]hDeviceA device handle identifying the device.
[in]wOutputThe trigger output index identifying the trigger output, 0 to DevTrOutGetCount() - 1.
[in]qwEventTrigger output event, a TOE_* value.
Returns
Trigger output event, a TOE_* value.
Status values
INVALID_OUTPUT The requested trigger output is not valid.
INVALID_VALUE The requested event value is not valid.
NOT_SUPPORTED The device has no trigger outputs.
INVALID_HANDLE The handle to the device is invalid.
DEVICE_GONE The device indicated by the device handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
See also
DevTrOutGetEvents
DevTrOutGetEvent
Since
0.4.1