LibTiePie
0.4.1
Library for interfacing TiePie engineering instruments
|
Functions | |
bool8_t | ScpChGetAutoRanging (TpDeviceHandle_t hDevice, uint16_t wCh) |
Check whether auto ranging is enabled. | |
bool8_t | ScpChSetAutoRanging (TpDeviceHandle_t hDevice, uint16_t wCh, bool8_t bEnable) |
Set auto ranging. | |
uint32_t | ScpChGetRanges (TpDeviceHandle_t hDevice, uint16_t wCh, double *pList, uint32_t dwLength) |
Get supported ranges for current coupling. | |
uint32_t | ScpChGetRangesEx (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwCoupling, double *pList, uint32_t dwLength) |
Get supported ranges by coupling. | |
double | ScpChGetRange (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get range. | |
double | ScpChSetRange (TpDeviceHandle_t hDevice, uint16_t wCh, double dRange) |
Set range. | |
bool8_t ScpChGetAutoRanging | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Check whether auto ranging is enabled.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
double ScpChGetRange | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get range.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
uint32_t ScpChGetRanges | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
double * | pList, | ||
uint32_t | dwLength | ||
) |
Get supported ranges for current coupling.
Example:
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
pList | Pointer to array. |
dwLength | Number of elements in array. |
uint32_t ScpChGetRangesEx | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
uint64_t | qwCoupling, | ||
double * | pList, | ||
uint32_t | dwLength | ||
) |
Get supported ranges by coupling.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
qwCoupling | Coupling: a CK_* value. |
pList | Pointer to array. |
dwLength | Number of elements in array. |
bool8_t ScpChSetAutoRanging | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
bool8_t | bEnable | ||
) |
Set auto ranging.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
bEnable | BOOL8_TRUE to enable or BOOL8_FALSE to disable. |
double ScpChSetRange | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
double | dRange | ||
) |
Set range.
Example:
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
dRange | Maximum value that must fit within range. |