Trigger system
[Oscilloscope]

Functions

double ScpGetTriggerTimeOut (TpDeviceHandle_t hDevice)
double ScpSetTriggerTimeOut (TpDeviceHandle_t hDevice, double dTimeout)
uint64_t ScpGetTriggerSources (TpDeviceHandle_t hDevice)
uint64_t ScpGetTriggerSourceOR (TpDeviceHandle_t hDevice)
uint64_t ScpSetTriggerSourceOR (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask)
uint64_t ScpGetTriggerSourceAND (TpDeviceHandle_t hDevice)
uint64_t ScpSetTriggerSourceAND (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask)
uint64_t ScpGetTriggerKinds (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask)
uint64_t ScpGetTriggerKind (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource)
uint64_t ScpSetTriggerKind (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, uint64_t qwTriggerKind)
double ScpGetTriggerLevel (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource)
double ScpSetTriggerLevel (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, double dLevel)
double ScpGetTriggerHysteresis (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource)
double ScpSetTriggerHysteresis (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, double dHysteresis)
uint64_t ScpChGetTriggerKinds (TpDeviceHandle_t hDevice, uint16_t wCh)
uint64_t ScpChGetTriggerKind (TpDeviceHandle_t hDevice, uint16_t wCh)
uint64_t ScpChSetTriggerKind (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwTriggerKind)
double ScpChGetTriggerLevel (TpDeviceHandle_t hDevice, uint16_t wCh)
double ScpChSetTriggerLevel (TpDeviceHandle_t hDevice, uint16_t wCh, double dLevel)
double ScpChGetTriggerHysteresis (TpDeviceHandle_t hDevice, uint16_t wCh)
double ScpChSetTriggerHysteresis (TpDeviceHandle_t hDevice, uint16_t wCh, double dHysteresis)

Function Documentation

double ScpChGetTriggerHysteresis ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get current trigger hysteresis

Parameters:
hDevice a device handle
wCh channel number: 0..ScpGetChannelCount() - 1
Returns:
current trigger hysteresis: 0..1
uint64_t ScpChGetTriggerKind ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get current trigger kind for channel

See also:
Trigger kinds
Parameters:
hDevice a device handle
wCh channel number: 0..ScpGetChannelCount() - 1
Returns:
TK_* value
uint64_t ScpChGetTriggerKinds ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get all available trigger kinds for channel

See also:
Trigger kinds
Parameters:
hDevice a device handle
wCh channel number: 0..ScpGetChannelCount() - 1
Returns:
set of ORed TK_* values
double ScpChGetTriggerLevel ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get current trigger level

Parameters:
hDevice a device handle
wCh channel number: 0..ScpGetChannelCount() - 1
Returns:
relative trigger level: 0..1
double ScpChSetTriggerHysteresis ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
double  dHysteresis 
)

Set trigger hysteresis

Parameters:
hDevice a device handle
wCh channel number: 0..ScpGetChannelCount() - 1
dHysteresis trigger hysteresis: 0..1
Returns:
current trigger hysteresis: 0..1
uint64_t ScpChSetTriggerKind ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
uint64_t  qwTriggerKind 
)

Set trigger kind for channel

See also:
Trigger kinds
Parameters:
hDevice a device handle
wCh channel number: 0..ScpGetChannelCount() - 1
qwTriggerKind trigger kind: a TK_* value
Returns:
TK_* value
double ScpChSetTriggerLevel ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
double  dLevel 
)

Set trigger level

Parameters:
hDevice a device handle
wCh channel number: 0..ScpGetChannelCount() - 1
dLevel trigger level: 0..1
Returns:
current trigger level: 0..1
double ScpGetTriggerHysteresis ( TpDeviceHandle_t  hDevice,
uint64_t  qwTriggerSource 
)

Get current trigger hysteresis

Parameters:
hDevice a device handle
qwTriggerSource TS_* value
Returns:
current trigger hysteresis: 0..1
uint64_t ScpGetTriggerKind ( TpDeviceHandle_t  hDevice,
uint64_t  qwTriggerSource 
)

Get current trigger kind

See also:
Trigger kinds
Parameters:
hDevice a device handle
qwTriggerSource TS_* value
Returns:
TK_* value
uint64_t ScpGetTriggerKinds ( TpDeviceHandle_t  hDevice,
uint64_t  qwTriggerSourceMask 
)

Get available trigger kinds by source(s)

When getting available trigger kinds of multiple source the result is a set of ORed TK_* values which are supported by all sources.

See also:
Trigger kinds
Parameters:
hDevice a device handle
qwTriggerSourceMask TS_* value or multiple ORed TS_* values
Returns:
set of ORed TK_* values
double ScpGetTriggerLevel ( TpDeviceHandle_t  hDevice,
uint64_t  qwTriggerSource 
)

Get current trigger level

Parameters:
hDevice a device handle
qwTriggerSource TS_* value
Returns:
relative trigger level: 0..1
uint64_t ScpGetTriggerSourceAND ( TpDeviceHandle_t  hDevice  ) 

Set trigger sources AND

See also:
Trigger sources
Parameters:
hDevice a device handle
Returns:
current trigger sources, set of ORed TS_* values
uint64_t ScpGetTriggerSourceOR ( TpDeviceHandle_t  hDevice  ) 

Get current trigger sources OR

See also:
Trigger sources
Parameters:
hDevice a device handle
Returns:
current trigger sources, set of ORed TS_* values
uint64_t ScpGetTriggerSources ( TpDeviceHandle_t  hDevice  ) 

Get supported trigger sources

See also:
Trigger sources
Parameters:
hDevice a device handle
Returns:
supported trigger sources, set of ORed TK_* values
double ScpGetTriggerTimeOut ( TpDeviceHandle_t  hDevice  ) 

Get current trigger timeout in seconds

See also:
to
Parameters:
hDevice a device handle
Returns:
trigger timeout in seconds or TO_INFINITY
double ScpSetTriggerHysteresis ( TpDeviceHandle_t  hDevice,
uint64_t  qwTriggerSource,
double  dHysteresis 
)

Set trigger hysteresis

Parameters:
hDevice a device handle
qwTriggerSource TS_* value
dHysteresis trigger hysteresis: 0..1
Returns:
current trigger hysteresis: 0..1
uint64_t ScpSetTriggerKind ( TpDeviceHandle_t  hDevice,
uint64_t  qwTriggerSource,
uint64_t  qwTriggerKind 
)

Set trigger kind

See also:
Trigger kinds
Parameters:
hDevice a device handle
qwTriggerSource TS_* value
qwTriggerKind trigger kind: a TK_* value
Returns:
TK_* value
double ScpSetTriggerLevel ( TpDeviceHandle_t  hDevice,
uint64_t  qwTriggerSource,
double  dLevel 
)

Set trigger level

Parameters:
hDevice a device handle
qwTriggerSource TS_* value
dLevel trigger level: 0..1
Returns:
current trigger level: 0..1
uint64_t ScpSetTriggerSourceAND ( TpDeviceHandle_t  hDevice,
uint64_t  qwTriggerSourceMask 
)

Get current trigger sources AND

See also:
Trigger sources
Parameters:
hDevice a device handle
qwTriggerSourceMask trigger sources, set of ORed TK_* values
Returns:
current trigger sources, set of ORed TS_* values
uint64_t ScpSetTriggerSourceOR ( TpDeviceHandle_t  hDevice,
uint64_t  qwTriggerSourceMask 
)

Set trigger sources OR

See also:
Trigger sources
Parameters:
hDevice a device handle
qwTriggerSourceMask trigger sources, set of ORed TK_* values
Returns:
current trigger sources, set of ORed TS_* values
double ScpSetTriggerTimeOut ( TpDeviceHandle_t  hDevice,
double  dTimeout 
)

Set trigger timeout in seconds

Note:
Only TO_INFINITY and 0 are supported
See also:
to
Parameters:
hDevice a device handle
dTimeout trigger timeout in seconds or TO_INFINITY
Returns:
trigger timeout in seconds or TO_INFINITY

Generated on Fri Apr 9 16:07:51 2010 for libtiepie by  doxygen 1.6.1