LibTiePie  0.4.1
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Groups Pages
Level(s)

Functions

uint32_t ScpChTrGetLevelCount (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get number of trigger levels for current trigger kind.
 
double ScpChTrGetLevel (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex)
 Get channel trigger level.
 
double ScpChTrSetLevel (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex, double dLevel)
 Set channel trigger level.
 

Detailed Description

Function Documentation

double ScpChTrGetLevel ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
uint32_t  dwIndex 
)

Get channel trigger level.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
dwIndexTrigger level index, 0..ScpChTrGetLevelCount() - 1.
Returns
Trigger level, 0..1.
uint32_t ScpChTrGetLevelCount ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get number of trigger levels for current trigger kind.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
Returns
Number of trigger levels.
See Also
ScpChTrGetKind
ScpChTrGetLevel
ScpChTrSetLevel
double ScpChTrSetLevel ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
uint32_t  dwIndex,
double  dLevel 
)

Set channel trigger level.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
dwIndexTrigger level index, 0..ScpChTrGetLevelCount() - 1.
dLevelTrigger level, 0..1.
Returns
Trigger level, 0..1.