LibTiePie  0.4.1
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Groups Pages
Raw

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.
 

Detailed Description

Function Documentation

uint32_t ScpChGetDataRawType ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get raw data type.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
Returns
Raw data type.
int64_t ScpChGetDataRawValueMax ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get possible raw data maximum value.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
Returns
Possible raw data maximum value.
See Also
ScpChGetDataRawValueMin
ScpChGetDataRawValueZero
ScpChGetDataRawValueRange
int64_t ScpChGetDataRawValueMin ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get possible raw data minimum value.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
Returns
Possible raw data minimum value.
See Also
ScpChGetDataRawValueZero
ScpChGetDataRawValueMax
ScpChGetDataRawValueRange
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.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
pMinPointer to buffer for possible minimum raw data value, or NULL.
pZeroPointer to buffer for equal to zero raw data value, or NULL.
pMaxPointer to buffer for possible maximum raw data value, or NULL.
See Also
ScpChGetDataRawValueMin Pointer to buffer for possible minimum raw data value, or NULL.
ScpChGetDataRawValueZero Pointer to buffer for equal to zero raw data value, or NULL.
ScpChGetDataRawValueMax Pointer to buffer for possible maximum raw data value, or NULL.
int64_t ScpChGetDataRawValueZero ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get raw data value which equals zero.

Parameters
hDeviceA device handle.
wChChannel number, 0..ScpGetChannelCount() - 1.
Returns
Raw data value which equals zero.
See Also
ScpChGetDataRawValueMin
ScpChGetDataRawValueMax
ScpChGetDataRawValueRange
uint64_t ScpGetDataRaw ( TpDeviceHandle_t  hDevice,
void **  pBuffers,
uint16_t  wChannelCount,
uint64_t  qwStartIndex,
uint64_t  qwSampleCount 
)

Get raw measurement data.

Parameters
hDeviceA device handle.
pBuffersPointer to buffer with pointers to buffer for channel data, pointer buffer may contain NULL pointers.
wChannelCountNumber of pointers in pointer buffer.
qwStartIndex
qwSampleCountNumber of samples to write into buffer.
Returns
Number of samples ready.
See Also
Pointer array
uint64_t ScpGetDataRaw1Ch ( TpDeviceHandle_t  hDevice,
void *  pBufferCh1,
uint64_t  qwStartIndex,
uint64_t  qwSampleCount 
)

Get raw measurement data.

Parameters
hDeviceA device handle.
pBufferCh1Pointer to buffer for channel 1 data or NULL.
qwStartIndex
qwSampleCountNumber of samples to write into buffer.
Returns
Number of samples ready.
uint64_t ScpGetDataRaw2Ch ( TpDeviceHandle_t  hDevice,
void *  pBufferCh1,
void *  pBufferCh2,
uint64_t  qwStartIndex,
uint64_t  qwSampleCount 
)

Get raw measurement data.

Parameters
hDeviceA device handle.
pBufferCh1Pointer to buffer for channel 1 data or NULL.
pBufferCh2Pointer to buffer for channel 2 data or NULL.
qwStartIndex
qwSampleCountNumber of samples to write into buffer.
Returns
Number of samples ready.
uint64_t ScpGetDataRaw3Ch ( TpDeviceHandle_t  hDevice,
void *  pBufferCh1,
void *  pBufferCh2,
void *  pBufferCh3,
uint64_t  qwStartIndex,
uint64_t  qwSampleCount 
)

Get raw measurement data.

Parameters
hDeviceA device handle.
pBufferCh1Pointer to buffer for channel 1 data or NULL.
pBufferCh2Pointer to buffer for channel 2 data or NULL.
pBufferCh3Pointer to buffer for channel 3 data or NULL.
qwStartIndex
qwSampleCountNumber of samples to write into buffer.
Returns
Number of samples ready.
uint64_t ScpGetDataRaw4Ch ( TpDeviceHandle_t  hDevice,
void *  pBufferCh1,
void *  pBufferCh2,
void *  pBufferCh3,
void *  pBufferCh4,
uint64_t  qwStartIndex,
uint64_t  qwSampleCount 
)

Get raw measurement data.

Parameters
hDeviceA device handle.
pBufferCh1Pointer to buffer for channel 1 data or NULL.
pBufferCh2Pointer to buffer for channel 2 data or NULL.
pBufferCh3Pointer to buffer for channel 3 data or NULL.
pBufferCh4Pointer to buffer for channel 4 data or NULL.
qwStartIndex
qwSampleCountNumber of samples to write into buffer.
Returns
Number of samples ready.