libtiepie  0.3.0
 All Files Functions Typedefs Groups
Measurements

Functions

bool8_t ScpStart (TpDeviceHandle_t hDevice)
void ScpStop (TpDeviceHandle_t hDevice)
void ScpForceTrigger (TpDeviceHandle_t hDevice)
bool8_t ScpIsDataReady (TpDeviceHandle_t hDevice)
bool8_t ScpIsDataOverflow (TpDeviceHandle_t hDevice)
bool8_t ScpIsRunning (TpDeviceHandle_t hDevice)
bool8_t ScpIsTriggered (TpDeviceHandle_t hDevice)
uint32_t ScpGetMeasureModes (TpDeviceHandle_t hDevice)
uint32_t ScpGetMeasureMode (TpDeviceHandle_t hDevice)
uint32_t ScpSetMeasureMode (TpDeviceHandle_t hDevice, uint32_t dwMeasureMode)

Detailed Description


Function Documentation

void ScpForceTrigger ( TpDeviceHandle_t  hDevice)

Force trigger

Parameters:
hDevicea device handle
uint32_t ScpGetMeasureMode ( TpDeviceHandle_t  hDevice)

Get oscilloscope measure mode

Parameters:
hDevicea device handle
Returns:
measure mode: a CM_* value
uint32_t ScpGetMeasureModes ( TpDeviceHandle_t  hDevice)
Parameters:
hDevicea device handle
bool8_t ScpIsDataOverflow ( TpDeviceHandle_t  hDevice)

Check if overflow occurred

Parameters:
hDevicea device handle
Returns:
1 if overflow occurred, 0 otherwise
bool8_t ScpIsDataReady ( TpDeviceHandle_t  hDevice)

Check if data is ready

Parameters:
hDevicea device handle
Returns:
1 if measuring done, 0 otherwise
bool8_t ScpIsRunning ( TpDeviceHandle_t  hDevice)

Check if instrument is measuring

Parameters:
hDevicea device handle
Returns:
1 if instrument is measuring, 0 otherwise
bool8_t ScpIsTriggered ( TpDeviceHandle_t  hDevice)

Check is instrument has triggered

Parameters:
hDevicea device handle
Returns:
1 if oscilloscope has triggerd, 0 otherwise
uint32_t ScpSetMeasureMode ( TpDeviceHandle_t  hDevice,
uint32_t  dwMeasureMode 
)

Set oscilloscope measure mode

Note:
Only MM_BLOCK is supported
Parameters:
hDevicea device handle
dwMeasureModemeasure mode, a CM_* value
Returns:
current measure mode, a CM_* value
bool8_t ScpStart ( TpDeviceHandle_t  hDevice)

Start measuring

Parameters:
hDevicea device handle
Returns:
see ScpIsRunning
void ScpStop ( TpDeviceHandle_t  hDevice)

Stop measuring

Parameters:
hDevicea device handle