LibTiePie
0.4.1
Library for interfacing TiePie engineering instruments
|
Modules | |
Raw | |
Functions | |
uint64_t | ScpGetData (TpDeviceHandle_t hDevice, float **pBuffers, uint16_t wChannelCount, uint64_t qwStartIndex, uint64_t qwSampleCount) |
Get measurement data. | |
uint64_t | ScpGetData1Ch (TpDeviceHandle_t hDevice, float *pBufferCh1, uint64_t qwStartIndex, uint64_t qwSampleCount) |
Get measurement data. | |
uint64_t | ScpGetData2Ch (TpDeviceHandle_t hDevice, float *pBufferCh1, float *pBufferCh2, uint64_t qwStartIndex, uint64_t qwSampleCount) |
Get measurement data. | |
uint64_t | ScpGetData3Ch (TpDeviceHandle_t hDevice, float *pBufferCh1, float *pBufferCh2, float *pBufferCh3, uint64_t qwStartIndex, uint64_t qwSampleCount) |
Get measurement data. | |
uint64_t | ScpGetData4Ch (TpDeviceHandle_t hDevice, float *pBufferCh1, float *pBufferCh2, float *pBufferCh3, float *pBufferCh4, uint64_t qwStartIndex, uint64_t qwSampleCount) |
Get measurement data. | |
uint64_t | ScpGetValidPreSampleCount (TpDeviceHandle_t hDevice) |
Get number of valid pre samples. | |
void | ScpChGetDataValueRange (TpDeviceHandle_t hDevice, uint16_t wCh, double *pMin, double *pMax) |
Get possible minimum and maximum value for current data. | |
double | ScpChGetDataValueMax (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get possible maximum value for current data. | |
double | ScpChGetDataValueMin (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get possible minimum value for current data. | |
bool8_t | ScpChIsRangeMaxReachable (TpDeviceHandle_t hDevice, uint16_t wCh) |
Check whether the ranges maximum is reachable. | |
double ScpChGetDataValueMax | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get possible maximum value for current data.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
double ScpChGetDataValueMin | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get possible minimum value for current data.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
void ScpChGetDataValueRange | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
double * | pMin, | ||
double * | pMax | ||
) |
Get possible minimum and maximum value for current data.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
pMin | Pointer to buffer for possible minimum value or NULL . |
pMax | Pointer to buffer for possible maximum value or NULL . |
bool8_t ScpChIsRangeMaxReachable | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Check whether the ranges maximum is reachable.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
uint64_t ScpGetData | ( | TpDeviceHandle_t | hDevice, |
float ** | pBuffers, | ||
uint16_t | wChannelCount, | ||
uint64_t | qwStartIndex, | ||
uint64_t | qwSampleCount | ||
) |
Get measurement data.
hDevice | A device handle. |
pBuffers | Pointer to buffer with pointers to buffer for channel data, pointer buffer may contain NULL pointers. |
wChannelCount | Number of pointers in pointer buffer. |
qwStartIndex | |
qwSampleCount | Number of samples to write into buffer. |
uint64_t ScpGetData1Ch | ( | TpDeviceHandle_t | hDevice, |
float * | pBufferCh1, | ||
uint64_t | qwStartIndex, | ||
uint64_t | qwSampleCount | ||
) |
Get measurement data.
hDevice | A device handle. |
pBufferCh1 | Pointer to buffer for channel 1 data or NULL . |
qwStartIndex | |
qwSampleCount | Number of samples to write into buffer. |
uint64_t ScpGetData2Ch | ( | TpDeviceHandle_t | hDevice, |
float * | pBufferCh1, | ||
float * | pBufferCh2, | ||
uint64_t | qwStartIndex, | ||
uint64_t | qwSampleCount | ||
) |
Get measurement data.
hDevice | A device handle. |
pBufferCh1 | Pointer to buffer for channel 1 data or NULL . |
pBufferCh2 | Pointer to buffer for channel 2 data or NULL . |
qwStartIndex | |
qwSampleCount | Number of samples to write into buffer. |
uint64_t ScpGetData3Ch | ( | TpDeviceHandle_t | hDevice, |
float * | pBufferCh1, | ||
float * | pBufferCh2, | ||
float * | pBufferCh3, | ||
uint64_t | qwStartIndex, | ||
uint64_t | qwSampleCount | ||
) |
Get measurement data.
hDevice | A device handle. |
pBufferCh1 | Pointer to buffer for channel 1 data or NULL . |
pBufferCh2 | Pointer to buffer for channel 2 data or NULL . |
pBufferCh3 | Pointer to buffer for channel 3 data or NULL . |
qwStartIndex | |
qwSampleCount | Number of samples to write into buffer. |
uint64_t ScpGetData4Ch | ( | TpDeviceHandle_t | hDevice, |
float * | pBufferCh1, | ||
float * | pBufferCh2, | ||
float * | pBufferCh3, | ||
float * | pBufferCh4, | ||
uint64_t | qwStartIndex, | ||
uint64_t | qwSampleCount | ||
) |
Get measurement data.
hDevice | A device handle. |
pBufferCh1 | Pointer to buffer for channel 1 data or NULL . |
pBufferCh2 | Pointer to buffer for channel 2 data or NULL . |
pBufferCh3 | Pointer to buffer for channel 3 data or NULL . |
pBufferCh4 | Pointer to buffer for channel 4 data or NULL . |
qwStartIndex | |
qwSampleCount | Number of samples to write into buffer. |
uint64_t ScpGetValidPreSampleCount | ( | TpDeviceHandle_t | hDevice | ) |
Get number of valid pre samples.
hDevice | A device handle. |