|
LibTiePie
0.4.0
Library for interfacing TiePie engineering instruments
|
Functions | |
| double | ScpGetTriggerTimeOut (TpDeviceHandle_t hDevice) |
| Get trigger timeout in seconds. | |
| double | ScpSetTriggerTimeOut (TpDeviceHandle_t hDevice, double dTimeout) |
| Set trigger timeout in seconds. | |
| double | ScpVerifyTriggerTimeOut (TpDeviceHandle_t hDevice, double dTimeout) |
| Verify trigger timeout in seconds. | |
| uint64_t | ScpGetTriggerSources (TpDeviceHandle_t hDevice) |
| Get supported trigger sources. | |
| uint64_t | ScpGetTriggerSourcesEx (TpDeviceHandle_t hDevice, uint32_t dwMeasureMode) |
| Get supported trigger sources by measure mode. | |
| 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) |
| Set trigger sources AND. | |
| uint64_t | ScpSetTriggerSourceAND (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask) |
| Get trigger sources AND. | |
| uint64_t | ScpGetTriggerKinds (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask) |
| Get supported trigger kinds by source(s). | |
| uint64_t | ScpGetTriggerKindsEx (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask, uint32_t dwMeasureMode) |
| Get supported trigger kinds by source(s) and measure mode. | |
| 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 | ScpChGetTriggerKindsEx (TpDeviceHandle_t hDevice, uint16_t wCh, uint32_t dwMeasureMode) |
| Get supported channel trigger kinds by measure mode. | |
| 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. | |
| double ScpChGetTriggerHysteresis | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh, | ||
| uint32_t | dwIndex | ||
| ) |
Get channel trigger hysteresis.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| dwIndex | Trigger hysteresis index. |
0..1. | uint64_t ScpChGetTriggerKind | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Get channel trigger kind.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| uint64_t ScpChGetTriggerKinds | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Get supported channel trigger kinds.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| uint64_t ScpChGetTriggerKindsEx | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh, | ||
| uint32_t | dwMeasureMode | ||
| ) |
Get supported channel trigger kinds by measure mode.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| dwMeasureMode | Measure mode, a MM_* value. |
| double ScpChGetTriggerLevel | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh, | ||
| uint32_t | dwIndex | ||
| ) |
Get channel trigger level.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| dwIndex | Trigger hysteresis index. |
0..1. | double ScpChGetTriggerPulseTime | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Get channel trigger pulse time.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 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..ScpGetChannelCount() - 1. |
| dwIndex | Trigger hysteresis index. |
| dHysteresis | Trigger hysteresis, 0..1. |
0..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..ScpGetChannelCount() - 1. |
| qwTriggerKind | Trigger kind: a TK_* value. |
| 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..ScpGetChannelCount() - 1. |
| dwIndex | Trigger hysteresis index. |
| dLevel | Trigger level, 0..1. |
0..1. | double ScpChSetTriggerPulseTime | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh, | ||
| double | dPulseTime | ||
| ) |
Set channel trigger pulse time.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| dPulseTime | Trigger pulse time in seconds. |
| double ScpGetTriggerHysteresis | ( | TpDeviceHandle_t | hDevice, |
| uint64_t | qwTriggerSource, | ||
| uint32_t | dwIndex | ||
| ) |
Get trigger hysteresis.
| hDevice | A device handle. |
| qwTriggerSource | A TS_* value. |
| dwIndex | Trigger hysteresis index. |
0..1. | uint64_t ScpGetTriggerKind | ( | TpDeviceHandle_t | hDevice, |
| uint64_t | qwTriggerSource | ||
| ) |
Get trigger kind.
| hDevice | A device handle. |
| qwTriggerSource | A TS_* value. |
| 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_* value or multiple OR-ed TS_* values. |
| uint64_t ScpGetTriggerKindsEx | ( | TpDeviceHandle_t | hDevice, |
| uint64_t | qwTriggerSourceMask, | ||
| uint32_t | dwMeasureMode | ||
| ) |
Get supported trigger kinds by source(s) and measure mode.
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 | TS_* value or multiple OR-ed TS_* values. |
| dwMeasureMode | Measure mode, a MM_* value. |
| double ScpGetTriggerLevel | ( | TpDeviceHandle_t | hDevice, |
| uint64_t | qwTriggerSource, | ||
| uint32_t | dwIndex | ||
| ) |
Get trigger level.
| hDevice | A device handle. |
| qwTriggerSource | A TS_* value. |
| dwIndex | Trigger level index. |
0..1. | uint64_t ScpGetTriggerSourceAND | ( | TpDeviceHandle_t | hDevice | ) |
Set trigger sources AND.
| hDevice | A device handle. |
| uint64_t ScpGetTriggerSourceOR | ( | TpDeviceHandle_t | hDevice | ) |
Get trigger sources OR.
| hDevice | A device handle. |
| uint64_t ScpGetTriggerSources | ( | TpDeviceHandle_t | hDevice | ) |
Get supported trigger sources.
| hDevice | A device handle. |
| uint64_t ScpGetTriggerSourcesEx | ( | TpDeviceHandle_t | hDevice, |
| uint32_t | dwMeasureMode | ||
| ) |
Get supported trigger sources by measure mode.
| hDevice | A device handle. |
| dwMeasureMode | Measure mode, a MM_* value. |
| double ScpGetTriggerTimeOut | ( | TpDeviceHandle_t | hDevice | ) |
Get trigger timeout in seconds.
| hDevice | A device handle. |
| double ScpSetTriggerHysteresis | ( | TpDeviceHandle_t | hDevice, |
| uint64_t | qwTriggerSource, | ||
| uint32_t | dwIndex, | ||
| double | dHysteresis | ||
| ) |
Set trigger hysteresis.
| hDevice | A device handle. |
| qwTriggerSource | A TS_* value. |
| dwIndex | Trigger hysteresis index. |
| dHysteresis | Trigger hysteresis, 0..1. |
0..1. | uint64_t ScpSetTriggerKind | ( | TpDeviceHandle_t | hDevice, |
| uint64_t | qwTriggerSource, | ||
| uint64_t | qwTriggerKind | ||
| ) |
Set trigger kind.
| hDevice | A device handle. |
| qwTriggerSource | A TS_* value. |
| qwTriggerKind | Trigger kind: a TK_* value. |
| double ScpSetTriggerLevel | ( | TpDeviceHandle_t | hDevice, |
| uint64_t | qwTriggerSource, | ||
| uint32_t | dwIndex, | ||
| double | dLevel | ||
| ) |
Set trigger level.
| hDevice | A device handle. |
| qwTriggerSource | A TS_* value. |
| dwIndex | Trigger level index. |
| dLevel | Trigger level, 0..1. |
0..1. | uint64_t ScpSetTriggerSourceAND | ( | TpDeviceHandle_t | hDevice, |
| uint64_t | qwTriggerSourceMask | ||
| ) |
Get trigger sources AND.
| hDevice | A device handle. |
| qwTriggerSourceMask | Trigger sources, a set of OR-ed TS_* values. |
| 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_* values. |
| double ScpSetTriggerTimeOut | ( | TpDeviceHandle_t | hDevice, |
| double | dTimeout | ||
| ) |
Set trigger timeout in seconds.
| hDevice | A device handle. |
| dTimeout | Trigger timeout in seconds or TO_INFINITY. |
| double ScpVerifyTriggerTimeOut | ( | TpDeviceHandle_t | hDevice, |
| double | dTimeout | ||
| ) |
Verify trigger timeout in seconds.
| hDevice | A device handle. |
| dTimeout | Trigger timeout in seconds or TO_INFINITY. |