LibTiePie  0.4.2
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Groups Pages
Event

Functions

uint64_t DevTrOutGetEvents (TpDeviceHandle_t hDevice, uint16_t wOutput)
 Get supported trigger output events.
 
uint64_t DevTrOutGetEvent (TpDeviceHandle_t hDevice, uint16_t wOutput)
 Get trigger output event.
 
uint64_t DevTrOutSetEvent (TpDeviceHandle_t hDevice, uint16_t wOutput, uint64_t qwEvent)
 Set trigger output event.
 

Detailed Description

Default value: TOE_GENERATOR_START.

Function Documentation

uint64_t DevTrOutGetEvent ( TpDeviceHandle_t  hDevice,
uint16_t  wOutput 
)

Get trigger output event.

Parameters
hDeviceA device handle.
wOutputTrigger output number, 0 to DevTrOutGetCount() - 1.
Returns
Trigger output event, a TOE_* value.
See Also
DevTrOutGetEvents
DevTrOutSetEvent
uint64_t DevTrOutGetEvents ( TpDeviceHandle_t  hDevice,
uint16_t  wOutput 
)

Get supported trigger output events.

Parameters
hDeviceA device handle.
wOutputTrigger output number, 0 to DevTrOutGetCount() - 1.
Returns
Supported trigger output kinds, a set of OR-ed TOE_* values.
See Also
DevTrOutGetEvent
DevTrOutSetEvent
uint64_t DevTrOutSetEvent ( TpDeviceHandle_t  hDevice,
uint16_t  wOutput,
uint64_t  qwEvent 
)

Set trigger output event.

Parameters
hDeviceA device handle.
wOutputTrigger output number, 0 to DevTrOutGetCount() - 1.
qwEventTrigger output event, a TOE_* value.
Returns
Trigger output event, a TOE_* value.
See Also
DevTrOutGetEvents
DevTrOutGetEvent