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

Functions

double ScpGetSampleFrequencyMax (TpDeviceHandle_t hDevice)
 Get instruments maximum sample frequency.
 
double ScpGetSampleFrequency (TpDeviceHandle_t hDevice)
 Get sample frequency.
 
double ScpSetSampleFrequency (TpDeviceHandle_t hDevice, double dSampleFrequency)
 Set sample frequency.
 
double ScpVerifySampleFrequency (TpDeviceHandle_t hDevice, double dSampleFrequency)
 Verify sample frequency.
 
double ScpVerifySampleFrequencyEx (TpDeviceHandle_t hDevice, double dSampleFrequency, uint32_t dwMeasureMode, uint8_t byResolution, uint64_t qwActiveChannelMask)
 Verify sample frequency by measure mode, resolution and active channels.
 

Detailed Description

Function Documentation

double ScpGetSampleFrequency ( TpDeviceHandle_t  hDevice)

Get sample frequency.

Parameters
hDeviceA device handle.
Returns
Sample frequency in Hz.
double ScpGetSampleFrequencyMax ( TpDeviceHandle_t  hDevice)

Get instruments maximum sample frequency.

Parameters
hDeviceA device handle.
Returns
Maximum sample frequency.
double ScpSetSampleFrequency ( TpDeviceHandle_t  hDevice,
double  dSampleFrequency 
)

Set sample frequency.

Parameters
hDeviceA device handle.
dSampleFrequencySample frequency in Hz.
Returns
Sample frequency in Hz.
double ScpVerifySampleFrequency ( TpDeviceHandle_t  hDevice,
double  dSampleFrequency 
)

Verify sample frequency.

Parameters
hDeviceA device handle.
dSampleFrequencySample frequency in Hz.
Returns
Sample frequency in Hz when set.
double ScpVerifySampleFrequencyEx ( TpDeviceHandle_t  hDevice,
double  dSampleFrequency,
uint32_t  dwMeasureMode,
uint8_t  byResolution,
uint64_t  qwActiveChannelMask 
)

Verify sample frequency by measure mode, resolution and active channels.

Parameters
hDeviceA device handle.
dSampleFrequencySample frequency in Hz.
dwMeasureModeMeasure mode, a MM_* value.
byResolutionResolution in bits.
qwActiveChannelMaskBit mask with active channels.
Returns
Sample frequency in Hz when set.