LibTiePie  0.4.1
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Groups Pages
Condition

Functions

uint32_t ScpChTrGetConditions (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get supported pulse trigger conditions for current trigger kind.
 
uint32_t ScpChTrGetCondition (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get current pulse trigger condition.
 
uint32_t ScpChTrSetCondition (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwCondition)
 Set pulse trigger condition.
 

Detailed Description

Function Documentation

uint32_t ScpChTrGetCondition ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get current pulse trigger condition.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
Returns
Trigger condition, a TC_* value.
See Also
ScpChTrGetConditions
ScpChTrSetCondition
uint32_t ScpChTrGetConditions ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get supported pulse trigger conditions for current trigger kind.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
Returns
Supported trigger conditions, a set of OR-ed TC_* values.
See Also
ScpChGetTriggerKind
ScpChTrGetCondition
ScpChTrSetCondition
uint32_t ScpChTrSetCondition ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
uint32_t  dwCondition 
)

Set pulse trigger condition.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
dwConditionTrigger condition, a TC_* value.
Returns
Trigger condition, a TC_* value.
See Also
ScpChTrGetConditions
ScpChTrGetCondition