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

Functions

uint32_t ScpChTrGetHysteresisCount (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get number of trigger hystereses for current trigger kind.
 
double ScpChTrGetHysteresis (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex)
 Get channel trigger hysteresis.
 
double ScpChTrSetHysteresis (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex, double dHysteresis)
 Set channel trigger hysteresis.
 

Detailed Description

Function Documentation

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

Get channel trigger hysteresis.

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

Get number of trigger hystereses for current trigger kind.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
Returns
Number of trigger hystereses.
See Also
ScpChTrGetKind
ScpChTrGetHysteresis
ScpChTrSetHysteresis
double ScpChTrSetHysteresis ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
uint32_t  dwIndex,
double  dHysteresis 
)

Set channel trigger hysteresis.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
dwIndexTrigger hysteresis index, 0..ScpChTrGetHysteresisCount() - 1.
dHysteresisTrigger hysteresis, 0..1.
Returns
Trigger hysteresis, 0..1.