LibTiePie  0.4.3
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Arbitrary

Functions

uint64_t GenGetDataLengthMin (TpDeviceHandle_t hDevice)
 Get minimum length of sample buffer.
 
uint64_t GenGetDataLengthMax (TpDeviceHandle_t hDevice)
 Get maximum length of sample buffer.
 
uint64_t GenGetDataLength (TpDeviceHandle_t hDevice)
 Get length of sample buffer.
 
uint32_t GenGetDataRawType (TpDeviceHandle_t hDevice)
 Get raw data type.
 
void GenSetData (TpDeviceHandle_t hDevice, float *pBuffer, uint64_t qwSampleCount)
 Load data into sample buffer.
 
void GenSetDataRaw (TpDeviceHandle_t hDevice, void *pBuffer, uint64_t qwSampleCount)
 Load data into sample buffer.
 

Detailed Description

Function Documentation

uint64_t GenGetDataLengthMin ( TpDeviceHandle_t  hDevice)

Get minimum length of sample buffer.

Parameters
hDeviceA device handle.
Returns
Minimum data length in samples.
uint64_t GenGetDataLengthMax ( TpDeviceHandle_t  hDevice)

Get maximum length of sample buffer.

Parameters
hDeviceA device handle.
Returns
Maximum data length in samples.
uint64_t GenGetDataLength ( TpDeviceHandle_t  hDevice)

Get length of sample buffer.

Parameters
hDeviceA device handle.
Returns
Data length in samples.
uint32_t GenGetDataRawType ( TpDeviceHandle_t  hDevice)

Get raw data type.

Parameters
hDeviceA device handle.
Returns
Raw data type.
See Also
GenSetDataRaw
void GenSetData ( TpDeviceHandle_t  hDevice,
float *  pBuffer,
uint64_t  qwSampleCount 
)

Load data into sample buffer.

Parameters
hDeviceA device handle.
pBufferPointer to buffer with sample data.
qwSampleCountNumber of samples in buffer.
void GenSetDataRaw ( TpDeviceHandle_t  hDevice,
void *  pBuffer,
uint64_t  qwSampleCount 
)

Load data into sample buffer.

Parameters
hDeviceA device handle.
pBufferPointer to buffer with sample data.
qwSampleCountNumber of samples in buffer.
See Also
GenGetDataRawType