LibTiePie
0.4.4
Library for interfacing TiePie engineering instruments
|
This section contains (mostly deprecated!) trigger related functions. More...
Modules | |
Time out | |
This section contains trigger time out related functions. | |
Delay | |
This section contains trigger delay related functions. | |
Functions | |
uint64_t | ScpGetTriggerSources (TpDeviceHandle_t hDevice) |
Get supported trigger sources. | |
uint64_t | ScpGetTriggerSourceOR (TpDeviceHandle_t hDevice) |
Get trigger sources OR. | |
uint64_t | ScpSetTriggerSourceOR (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask) |
Set trigger sources OR. | |
uint64_t | ScpGetTriggerSourceAND (TpDeviceHandle_t hDevice) |
Get trigger sources AND. | |
uint64_t | ScpSetTriggerSourceAND (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask) |
Set trigger sources AND. | |
uint64_t | ScpGetTriggerKinds (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask) |
Get supported trigger kinds by source(s). | |
uint64_t | ScpGetTriggerKind (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource) |
Get trigger kind. | |
uint64_t | ScpSetTriggerKind (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, uint64_t qwTriggerKind) |
Set trigger kind. | |
double | ScpGetTriggerLevel (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, uint32_t dwIndex) |
Get trigger level. | |
double | ScpSetTriggerLevel (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, uint32_t dwIndex, double dLevel) |
Set trigger level. | |
double | ScpGetTriggerHysteresis (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, uint32_t dwIndex) |
Get trigger hysteresis. | |
double | ScpSetTriggerHysteresis (TpDeviceHandle_t hDevice, uint64_t qwTriggerSource, uint32_t dwIndex, double dHysteresis) |
Set trigger hysteresis. | |
uint64_t | ScpChGetTriggerKinds (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get supported channel trigger kinds. | |
uint64_t | ScpChGetTriggerKind (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get channel trigger kind. | |
uint64_t | ScpChSetTriggerKind (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwTriggerKind) |
Set channel trigger kind. | |
double | ScpChGetTriggerLevel (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex) |
Get channel trigger level. | |
double | ScpChSetTriggerLevel (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex, double dLevel) |
Set channel trigger level. | |
double | ScpChGetTriggerHysteresis (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex) |
Get channel trigger hysteresis. | |
double | ScpChSetTriggerHysteresis (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwIndex, double dHysteresis) |
Set channel trigger hysteresis. | |
double | ScpChGetTriggerPulseTime (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get channel trigger pulse time. | |
double | ScpChSetTriggerPulseTime (TpDeviceHandle_t hDevice, uint16_t wCh, double dPulseTime) |
Set channel trigger pulse time. | |
This section contains (mostly deprecated!) trigger related functions.
Most functions in this section are deprecated and will be removed in LibTiePie 1.0, see Trigger system page.
uint64_t ScpGetTriggerSources | ( | TpDeviceHandle_t | hDevice | ) |
Get supported trigger sources.
hDevice | A device handle. |
uint64_t ScpGetTriggerSourceOR | ( | TpDeviceHandle_t | hDevice | ) |
Get trigger sources OR.
hDevice | A device handle. |
uint64_t ScpSetTriggerSourceOR | ( | TpDeviceHandle_t | hDevice, |
uint64_t | qwTriggerSourceMask | ||
) |
Set trigger sources OR.
hDevice | A device handle. |
qwTriggerSourceMask | Trigger sources, a set of OR-ed TS_CH* values. |
uint64_t ScpGetTriggerSourceAND | ( | TpDeviceHandle_t | hDevice | ) |
Get trigger sources AND.
hDevice | A device handle. |
uint64_t ScpSetTriggerSourceAND | ( | TpDeviceHandle_t | hDevice, |
uint64_t | qwTriggerSourceMask | ||
) |
Set trigger sources AND.
hDevice | A device handle. |
qwTriggerSourceMask | Trigger sources, a set of OR-ed TS_CH* values. |
uint64_t ScpGetTriggerKinds | ( | TpDeviceHandle_t | hDevice, |
uint64_t | qwTriggerSourceMask | ||
) |
Get supported trigger kinds by source(s).
When getting supported trigger kinds of multiple sources the result is a set of OR-ed TK_* values which are supported by all sources.
hDevice | A device handle. |
qwTriggerSourceMask | A TS_CH* value or multiple OR-ed TS_CH* values. |
uint64_t ScpGetTriggerKind | ( | TpDeviceHandle_t | hDevice, |
uint64_t | qwTriggerSource | ||
) |
Get trigger kind.
hDevice | A device handle. |
qwTriggerSource | A TS_CH* value. |
uint64_t ScpSetTriggerKind | ( | TpDeviceHandle_t | hDevice, |
uint64_t | qwTriggerSource, | ||
uint64_t | qwTriggerKind | ||
) |
Set trigger kind.
hDevice | A device handle. |
qwTriggerSource | A TS_CH* value. |
qwTriggerKind | Trigger kind: a TK_* value. |
double ScpGetTriggerLevel | ( | TpDeviceHandle_t | hDevice, |
uint64_t | qwTriggerSource, | ||
uint32_t | dwIndex | ||
) |
Get trigger level.
hDevice | A device handle. |
qwTriggerSource | A TS_CH* value. |
dwIndex | Trigger level index. |
0
to 1
. double ScpSetTriggerLevel | ( | TpDeviceHandle_t | hDevice, |
uint64_t | qwTriggerSource, | ||
uint32_t | dwIndex, | ||
double | dLevel | ||
) |
Set trigger level.
hDevice | A device handle. |
qwTriggerSource | A TS_CH* value. |
dwIndex | Trigger level index. |
dLevel | Trigger level, 0 to 1 . |
0
to 1
. double ScpGetTriggerHysteresis | ( | TpDeviceHandle_t | hDevice, |
uint64_t | qwTriggerSource, | ||
uint32_t | dwIndex | ||
) |
Get trigger hysteresis.
hDevice | A device handle. |
qwTriggerSource | A TS_CH* value. |
dwIndex | Trigger hysteresis index. |
0
to 1
. double ScpSetTriggerHysteresis | ( | TpDeviceHandle_t | hDevice, |
uint64_t | qwTriggerSource, | ||
uint32_t | dwIndex, | ||
double | dHysteresis | ||
) |
Set trigger hysteresis.
hDevice | A device handle. |
qwTriggerSource | A TS_CH* value. |
dwIndex | Trigger hysteresis index. |
dHysteresis | Trigger hysteresis, 0 to 1 . |
0
to 1
. uint64_t ScpChGetTriggerKinds | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get supported channel trigger kinds.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
uint64_t ScpChGetTriggerKind | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get channel trigger kind.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
uint64_t ScpChSetTriggerKind | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
uint64_t | qwTriggerKind | ||
) |
Set channel trigger kind.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
qwTriggerKind | Trigger kind: a TK_* value. |
double ScpChGetTriggerLevel | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
uint32_t | dwIndex | ||
) |
Get channel trigger level.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
dwIndex | Trigger hysteresis index. |
0
to 1
. double ScpChSetTriggerLevel | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
uint32_t | dwIndex, | ||
double | dLevel | ||
) |
Set channel trigger level.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
dwIndex | Trigger hysteresis index. |
dLevel | Trigger level, 0 to 1 . |
0
to 1
. double ScpChGetTriggerHysteresis | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
uint32_t | dwIndex | ||
) |
Get channel trigger hysteresis.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
dwIndex | Trigger hysteresis index. |
0
to 1
. double ScpChSetTriggerHysteresis | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
uint32_t | dwIndex, | ||
double | dHysteresis | ||
) |
Set channel trigger hysteresis.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
dwIndex | Trigger hysteresis index. |
dHysteresis | Trigger hysteresis, 0 to 1 . |
0
to 1
. double ScpChGetTriggerPulseTime | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get channel trigger pulse time.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
double ScpChSetTriggerPulseTime | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
double | dPulseTime | ||
) |
Set channel trigger pulse time.
hDevice | A device handle. |
wCh | Channel number, 0 to ScpGetChannelCount() - 1 . |
dPulseTime | Trigger pulse time in seconds. |