LibTiePie  0.9.16
Library for interfacing TiePie engineering instruments

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 (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...
 

Function Documentation

uint64_t DevTrOutGetEvents ( LibTiePieHandle_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 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_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
See also
DevTrOutGetEvent
DevTrOutSetEvent
Since
0.4.1
uint64_t DevTrOutGetEvent ( LibTiePieHandle_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 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_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
See also
DevTrOutGetEvents
DevTrOutSetEvent
Since
0.4.1
uint64_t DevTrOutSetEvent ( LibTiePieHandle_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 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_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
See also
DevTrOutGetEvents
DevTrOutGetEvent
Since
0.4.1