LibTiePie  0.4.4
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Arbitrary waveform buffer

Functions for controlling the arbitrary waveform buffer. More...

Functions

uint64_t GenGetDataLengthMin (TpDeviceHandle_t hDevice)
 Get minimum length of waveform buffer.
 
uint64_t GenGetDataLengthMax (TpDeviceHandle_t hDevice)
 Get maximum length of waveform buffer.
 
uint64_t GenGetDataLength (TpDeviceHandle_t hDevice)
 Get length of waveform buffer.
 
void GenSetData (TpDeviceHandle_t hDevice, float *pBuffer, uint64_t qwSampleCount)
 Load a waveform pattern into the waveform buffer.
 

Detailed Description

Functions for controlling the arbitrary waveform buffer.

Function Documentation

uint64_t GenGetDataLengthMin ( TpDeviceHandle_t  hDevice)

Get minimum length of waveform buffer.

Parameters
hDeviceA device handle.
Returns
Minimum waveform buffer length in samples.
Since
0.4.2
uint64_t GenGetDataLengthMax ( TpDeviceHandle_t  hDevice)

Get maximum length of waveform buffer.

Parameters
hDeviceA device handle.
Returns
Maximum waveform buffer length in samples.
Since
0.4.0
uint64_t GenGetDataLength ( TpDeviceHandle_t  hDevice)

Get length of waveform buffer.

Parameters
hDeviceA device handle.
Returns
Waveform buffer length in samples.
Since
0.4.0
void GenSetData ( TpDeviceHandle_t  hDevice,
float *  pBuffer,
uint64_t  qwSampleCount 
)

Load a waveform pattern into the waveform buffer.

Parameters
hDeviceA device handle.
pBufferPointer to buffer with waveform data.
qwSampleCountNumber of samples in buffer.
Remarks
Signal type must be set to arbitrary mode to load a waveform pattern into the waveform buffer.
When the generator is active, uploading new a waveform pattern will shortly interrupt the output signal.
Since
0.4.0