LibTiePie  0.4.4
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Output(s)

A device can have one or more device trigger outputs, usually available as pins on an extension connector on the instrument. More...

Modules

 Enabled
 
 Event
 
 Info
 

Functions

uint16_t DevTrGetOutputCount (TpDeviceHandle_t hDevice)
 Get number of trigger outputs.
 
uint16_t DevTrGetOutputIndexById (TpDeviceHandle_t hDevice, uint32_t dwId)
 Get index of trigger output by it's ID.
 

Detailed Description

A device can have one or more device trigger outputs, usually available as pins on an extension connector on the instrument.

Function Documentation

uint16_t DevTrGetOutputCount ( TpDeviceHandle_t  hDevice)

Get number of trigger outputs.

Parameters
hDeviceA device handle.
Returns
Number of trigger outputs.
Since
0.4.1
uint16_t DevTrGetOutputIndexById ( TpDeviceHandle_t  hDevice,
uint32_t  dwId 
)

Get index of trigger output by it's ID.

Parameters
hDeviceA device handle.
dwIdTrigger output ID, a TOID_* value.
Returns
Trigger input index on success, or LIBTIEPIE_TRIGGERIO_INDEX_INVALID otherwise.
Since
0.4.4