LibTiePie  0.4.5
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Modules Pages

Description

By default the clock source is set to: Internal (CS_INTERNAL).

Functions

uint32_t ScpGetClockSources (TpDeviceHandle_t hDevice)
 Get supported clock sources. More...
 
uint32_t ScpGetClockSource (TpDeviceHandle_t hDevice)
 Get clock source. More...
 
uint32_t ScpSetClockSource (TpDeviceHandle_t hDevice, uint32_t dwClockSource)
 Set clock source. More...
 

Function Documentation

uint32_t ScpGetClockSources ( TpDeviceHandle_t  hDevice)

Get supported clock sources.

Parameters
hDeviceA device handle.
Returns
Supported clock sources, a set of OR-ed CS_* values.
Since
0.4.0
uint32_t ScpGetClockSource ( TpDeviceHandle_t  hDevice)

Get clock source.

Parameters
hDeviceA device handle.
Returns
Clock source, a CS_* value.
Since
0.4.0
uint32_t ScpSetClockSource ( TpDeviceHandle_t  hDevice,
uint32_t  dwClockSource 
)

Set clock source.

Parameters
hDeviceA device handle.
dwClockSourceClock source, a CS_* value.
Returns
Clock source, a CS_* value.
Since
0.4.0