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

Functions

uint32_t ScpChTrGetTimeCount (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get number of trigger times for current trigger condition.
 
double ScpChTrGetTime (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex)
 Get trigger time.
 
double ScpChTrSetTime (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex, double dTime)
 Set trigger time.
 

Detailed Description

Function Documentation

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

Get trigger time.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
dwIndexTime index, 0..ScpChTrGetTimeCount() - 1.
Returns
Time in seconds
See Also
ScpChTrGetTimeCount
ScpChTrSetTime
uint32_t ScpChTrGetTimeCount ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get number of trigger times for current trigger condition.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
Returns
Number of trigger times.
See Also
ScpChTrGetCondition
ScpChTrGetTime
ScpChTrSetTime
double ScpChTrSetTime ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
uint32_t  dwIndex,
double  dTime 
)

Set trigger time.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
dwIndexTime index, 0..ScpChTrGetTimeCount() - 1.
dTimeTime in seconds
Returns
Time in seconds
See Also
ScpChTrGetTimeCount
ScpChTrGetTime