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

Functions

uint64_t GenGetDataLengthMin (TpDeviceHandle_t hDevice)
 Get minimum length of arbitrary sample buffer.
 
uint64_t GenGetDataLengthMax (TpDeviceHandle_t hDevice)
 Get maximum length of arbitrary sample buffer.
 
uint64_t GenGetDataLength (TpDeviceHandle_t hDevice)
 Get length 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 length of arbitrary sample buffer.

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

Get maximum length of arbitrary sample buffer.

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

Get minimum length of arbitrary sample buffer.

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

Get arbitrary 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 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.
See Also
GenGetDataRawType