Timebase
[Oscilloscope]

Functions

uint32_t ScpGetClockSource (TpDeviceHandle_t hDevice)
uint32_t ScpSetClockSource (TpDeviceHandle_t hDevice, uint32_t dwClockSource)
uint64_t ScpGetPreSampleCount (TpDeviceHandle_t hDevice)
uint64_t ScpSetPreSampleCount (TpDeviceHandle_t hDevice, uint64_t qwPreSampleCount)
uint64_t ScpGetRecordLengthMax (TpDeviceHandle_t hDevice)
uint64_t ScpGetRecordLength (TpDeviceHandle_t hDevice)
uint64_t ScpSetRecordLength (TpDeviceHandle_t hDevice, uint64_t qwRecordLength)
double ScpGetSampleFrequencyMax (TpDeviceHandle_t hDevice)
double ScpGetSampleFrequency (TpDeviceHandle_t hDevice)
double ScpSetSampleFrequency (TpDeviceHandle_t hDevice, double dSampleFrequency)

Function Documentation

uint32_t ScpGetClockSource ( TpDeviceHandle_t  hDevice  ) 

Get instruments clock source

See also:
Clock modes
Parameters:
hDevice a device handle
Returns:
current clock source, a CM_* value
uint64_t ScpGetPreSampleCount ( TpDeviceHandle_t  hDevice  ) 

Get number of pre samples

Parameters:
hDevice a device handle
Returns:
current number of pre samples
uint64_t ScpGetRecordLength ( TpDeviceHandle_t  hDevice  ) 

Get current record length

Parameters:
hDevice a device handle
Returns:
current record length
uint64_t ScpGetRecordLengthMax ( TpDeviceHandle_t  hDevice  ) 

Get instruments maximum record length

Parameters:
hDevice a device handle
Returns:
maximum record length
double ScpGetSampleFrequency ( TpDeviceHandle_t  hDevice  ) 

Get current sample frequency

Parameters:
hDevice a device handle
Returns:
current sample frequency in Hz
double ScpGetSampleFrequencyMax ( TpDeviceHandle_t  hDevice  ) 

Get instruments maximum sample frequency

Parameters:
hDevice a device handle
Returns:
maximum sample frequency
uint32_t ScpSetClockSource ( TpDeviceHandle_t  hDevice,
uint32_t  dwClockSource 
)

Set instruments clock source

Note:
Only CM_INTERNAL is supported
See also:
Clock modes
Parameters:
hDevice a device handle
dwClockSource clock source: a CM_* value
Returns:
current clock source, a CM_* value
uint64_t ScpSetPreSampleCount ( TpDeviceHandle_t  hDevice,
uint64_t  qwPreSampleCount 
)

Set number of pre samples

Parameters:
hDevice a device handle
qwPreSampleCount number of pre samples
Returns:
current number of pre samples
uint64_t ScpSetRecordLength ( TpDeviceHandle_t  hDevice,
uint64_t  qwRecordLength 
)

Set record length

Parameters:
hDevice a device handle
qwRecordLength record length
Returns:
current record length
double ScpSetSampleFrequency ( TpDeviceHandle_t  hDevice,
double  dSampleFrequency 
)

Set sample frequency

Parameters:
hDevice a device handle
dSampleFrequency sample frequency in Hz
Returns:
current sample frequency in Hz

Generated on Fri Apr 9 16:07:51 2010 for libtiepie by  doxygen 1.6.1