LibTiePie
0.4.1
Library for interfacing TiePie engineering instruments
|
Functions | |
uint32_t | GenGetModes (TpDeviceHandle_t hDevice) |
Get supported generator frequency modes. | |
uint32_t | GenGetModesEx (TpDeviceHandle_t hDevice, uint32_t dwSignalType) |
Get supported generator frequency modes by signal type. | |
uint32_t | GenGetMode (TpDeviceHandle_t hDevice) |
Get generator frequency mode. | |
uint32_t | GenSetMode (TpDeviceHandle_t hDevice, uint32_t dwMode) |
Set generator frequency mode. | |
bool8_t | GenGetAutoRanging (TpDeviceHandle_t hDevice) |
Get auto ranging. | |
bool8_t | GenSetAutoRanging (TpDeviceHandle_t hDevice, bool8_t bEnable) |
Set auto ranging. | |
uint32_t | GenGetRanges (TpDeviceHandle_t hDevice, double *pList, uint32_t dwLength) |
Get supported ranges. | |
double | GenGetRange (TpDeviceHandle_t hDevice) |
Get range. | |
double | GenSetRange (TpDeviceHandle_t hDevice, double dRange) |
Set range. | |
uint64_t | GenGetTriggerSources (TpDeviceHandle_t hDevice) |
Get supported trigger sources. | |
uint64_t | GenGetTriggerSourceAND (TpDeviceHandle_t hDevice) |
Get trigger sources AND. | |
uint64_t | GenSetTriggerSourceAND (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask) |
Set trigger sources AND. | |
uint64_t | GenGetTriggerSourceOR (TpDeviceHandle_t hDevice) |
Get trigger sources OR. | |
uint64_t | GenSetTriggerSourceOR (TpDeviceHandle_t hDevice, uint64_t qwTriggerSourceMask) |
Set trigger sources OR. | |
bool8_t GenGetAutoRanging | ( | TpDeviceHandle_t | hDevice | ) |
Get auto ranging.
hDevice | A device handle. |
uint32_t GenGetMode | ( | TpDeviceHandle_t | hDevice | ) |
Get generator frequency mode.
hDevice | A device handle. |
uint32_t GenGetModes | ( | TpDeviceHandle_t | hDevice | ) |
Get supported generator frequency modes.
hDevice | A device handle. |
uint32_t GenGetModesEx | ( | TpDeviceHandle_t | hDevice, |
uint32_t | dwSignalType | ||
) |
Get supported generator frequency modes by signal type.
hDevice | A device handle. |
dwSignalType | A ST_* signal type. |
double GenGetRange | ( | TpDeviceHandle_t | hDevice | ) |
Get range.
hDevice | A device handle. |
uint32_t GenGetRanges | ( | TpDeviceHandle_t | hDevice, |
double * | pList, | ||
uint32_t | dwLength | ||
) |
Get supported ranges.
Example:
hDevice | A device handle. |
pList | Pointer to array. |
dwLength | Number of elements in array. |
uint64_t GenGetTriggerSourceAND | ( | TpDeviceHandle_t | hDevice | ) |
Get trigger sources AND.
hDevice | A device handle. |
uint64_t GenGetTriggerSourceOR | ( | TpDeviceHandle_t | hDevice | ) |
Get trigger sources OR.
hDevice | A device handle. |
uint64_t GenGetTriggerSources | ( | TpDeviceHandle_t | hDevice | ) |
Get supported trigger sources.
hDevice | A device handle. |
bool8_t GenSetAutoRanging | ( | TpDeviceHandle_t | hDevice, |
bool8_t | bEnable | ||
) |
Set auto ranging.
hDevice | A device handle. |
bEnable | BOOL8_TRUE to enable or BOOL8_FALSE to disable. |
uint32_t GenSetMode | ( | TpDeviceHandle_t | hDevice, |
uint32_t | dwMode | ||
) |
Set generator frequency mode.
hDevice | A device handle. |
dwMode | Generator frequency mode, a FM_* value. |
double GenSetRange | ( | TpDeviceHandle_t | hDevice, |
double | dRange | ||
) |
Set range.
Example:
hDevice | A device handle. |
dRange | Maximum value that must fit within range. |
uint64_t GenSetTriggerSourceAND | ( | TpDeviceHandle_t | hDevice, |
uint64_t | qwTriggerSourceMask | ||
) |
Set trigger sources AND.
hDevice | A device handle. |
qwTriggerSourceMask | Trigger sources, a set of OR-ed TS_* values. |
uint64_t GenSetTriggerSourceOR | ( | TpDeviceHandle_t | hDevice, |
uint64_t | qwTriggerSourceMask | ||
) |
Set trigger sources OR.
hDevice | A device handle. |
qwTriggerSourceMask | Trigger sources, a set of OR-ed TS_* values. |