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

Functions

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

Detailed Description

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

Function Documentation

uint32_t ScpGetClockSource ( TpDeviceHandle_t  hDevice)

Get clock source.

Parameters
hDeviceA device handle.
Returns
Clock source, a CS_* value.
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.
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.