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

Functions

uint64_t GenGetDataLengthMax (TpDeviceHandle_t hDevice)
 Get maximum size of arbitrary sample buffer.
 
uint64_t GenGetDataLength (TpDeviceHandle_t hDevice)
 Get size of arbitrary sample buffer.
 
uint64_t GenVerifyDataLength (TpDeviceHandle_t hDevice, uint64_t qwDataLength)
 Verify size of arbitrary sample buffer.
 
uint32_t GenGetDataRawType (TpDeviceHandle_t hDevice)
 Get arbitrary raw data type.
 
void GenSetData (TpDeviceHandle_t hDevice, float *pBuffer, uint64_t qwSampleCount)
 Load arbitrary data into memory.
 
void GenSetDataRaw (TpDeviceHandle_t hDevice, void *pBuffer, uint64_t qwSampleCount)
 Load arbitrary data into memory.
 

Detailed Description

Function Documentation

uint64_t GenGetDataLength ( TpDeviceHandle_t  hDevice)

Get size of arbitrary sample buffer.

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

Get maximum size of arbitrary sample buffer.

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

Get arbitrary raw data type.

Parameters
hDeviceA device handle.
Returns
void GenSetData ( TpDeviceHandle_t  hDevice,
float *  pBuffer,
uint64_t  qwSampleCount 
)

Load arbitrary data into memory.

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 arbitrary data into memory.

Parameters
hDeviceA device handle.
pBufferPointer to buffer with sample data.
qwSampleCountNumber of samples in buffer.
uint64_t GenVerifyDataLength ( TpDeviceHandle_t  hDevice,
uint64_t  qwDataLength 
)

Verify size of arbitrary sample buffer.

Parameters
hDeviceA device handle.
qwDataLength
Returns