LibTiePie
0.4.1
Library for interfacing TiePie engineering instruments
|
Functions | |
uint64_t | ScpGetDataRaw (TpDeviceHandle_t hDevice, void **pBuffers, uint16_t wChannelCount, uint64_t qwStartIndex, uint64_t qwSampleCount) |
Get raw measurement data. | |
uint64_t | ScpGetDataRaw1Ch (TpDeviceHandle_t hDevice, void *pBufferCh1, uint64_t qwStartIndex, uint64_t qwSampleCount) |
Get raw measurement data. | |
uint64_t | ScpGetDataRaw2Ch (TpDeviceHandle_t hDevice, void *pBufferCh1, void *pBufferCh2, uint64_t qwStartIndex, uint64_t qwSampleCount) |
Get raw measurement data. | |
uint64_t | ScpGetDataRaw3Ch (TpDeviceHandle_t hDevice, void *pBufferCh1, void *pBufferCh2, void *pBufferCh3, uint64_t qwStartIndex, uint64_t qwSampleCount) |
Get raw measurement data. | |
uint64_t | ScpGetDataRaw4Ch (TpDeviceHandle_t hDevice, void *pBufferCh1, void *pBufferCh2, void *pBufferCh3, void *pBufferCh4, uint64_t qwStartIndex, uint64_t qwSampleCount) |
Get raw measurement data. | |
uint32_t | ScpChGetDataRawType (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get raw data type. | |
void | ScpChGetDataRawValueRange (TpDeviceHandle_t hDevice, uint16_t wCh, int64_t *pMin, int64_t *pZero, int64_t *pMax) |
Get possible raw data minimum, equal to zero and maximum values. | |
int64_t | ScpChGetDataRawValueMax (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get possible raw data maximum value. | |
int64_t | ScpChGetDataRawValueZero (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get raw data value which equals zero. | |
int64_t | ScpChGetDataRawValueMin (TpDeviceHandle_t hDevice, uint16_t wCh) |
Get possible raw data minimum value. | |
uint32_t ScpChGetDataRawType | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get raw data type.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
int64_t ScpChGetDataRawValueMax | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get possible raw data maximum value.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
int64_t ScpChGetDataRawValueMin | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get possible raw data minimum value.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
void ScpChGetDataRawValueRange | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh, | ||
int64_t * | pMin, | ||
int64_t * | pZero, | ||
int64_t * | pMax | ||
) |
Get possible raw data minimum, equal to zero and maximum values.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
pMin | Pointer to buffer for possible minimum raw data value, or NULL . |
pZero | Pointer to buffer for equal to zero raw data value, or NULL . |
pMax | Pointer to buffer for possible maximum raw data value, or NULL . |
NULL
. NULL
. NULL
. int64_t ScpChGetDataRawValueZero | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Get raw data value which equals zero.
hDevice | A device handle. |
wCh | Channel number, 0..ScpGetChannelCount() - 1 . |
uint64_t ScpGetDataRaw | ( | TpDeviceHandle_t | hDevice, |
void ** | pBuffers, | ||
uint16_t | wChannelCount, | ||
uint64_t | qwStartIndex, | ||
uint64_t | qwSampleCount | ||
) |
Get raw 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 ScpGetDataRaw1Ch | ( | TpDeviceHandle_t | hDevice, |
void * | pBufferCh1, | ||
uint64_t | qwStartIndex, | ||
uint64_t | qwSampleCount | ||
) |
Get raw 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 ScpGetDataRaw2Ch | ( | TpDeviceHandle_t | hDevice, |
void * | pBufferCh1, | ||
void * | pBufferCh2, | ||
uint64_t | qwStartIndex, | ||
uint64_t | qwSampleCount | ||
) |
Get raw 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 ScpGetDataRaw3Ch | ( | TpDeviceHandle_t | hDevice, |
void * | pBufferCh1, | ||
void * | pBufferCh2, | ||
void * | pBufferCh3, | ||
uint64_t | qwStartIndex, | ||
uint64_t | qwSampleCount | ||
) |
Get raw 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 ScpGetDataRaw4Ch | ( | TpDeviceHandle_t | hDevice, |
void * | pBufferCh1, | ||
void * | pBufferCh2, | ||
void * | pBufferCh3, | ||
void * | pBufferCh4, | ||
uint64_t | qwStartIndex, | ||
uint64_t | qwSampleCount | ||
) |
Get raw 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. |