LibTiePie  0.4.0
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Groups Pages
Measurements

Functions

bool8_t ScpStart (TpDeviceHandle_t hDevice)
 Start measuring.
 
void ScpStop (TpDeviceHandle_t hDevice)
 Stop measuring.
 
void ScpForceTrigger (TpDeviceHandle_t hDevice)
 Force a trigger.
 
bool8_t ScpIsDataReady (TpDeviceHandle_t hDevice)
 Check whether data is ready.
 
bool8_t ScpIsDataOverflow (TpDeviceHandle_t hDevice)
 Check whether a data overflow has occurred.
 
bool8_t ScpIsRunning (TpDeviceHandle_t hDevice)
 Check whether instrument is measuring.
 
bool8_t ScpIsTriggered (TpDeviceHandle_t hDevice)
 Check is instrument has triggered.
 
uint32_t ScpGetMeasureModes (TpDeviceHandle_t hDevice)
 Get supported measure modes.
 
uint32_t ScpGetMeasureMode (TpDeviceHandle_t hDevice)
 Get measure mode.
 
uint32_t ScpSetMeasureMode (TpDeviceHandle_t hDevice, uint32_t dwMeasureMode)
 Set measure mode.
 

Detailed Description

Function Documentation

void ScpForceTrigger ( TpDeviceHandle_t  hDevice)

Force a trigger.

Parameters
hDeviceA device handle.
uint32_t ScpGetMeasureMode ( TpDeviceHandle_t  hDevice)

Get measure mode.

Parameters
hDeviceA device handle.
Returns
Measure mode, a MM_* value.
uint32_t ScpGetMeasureModes ( TpDeviceHandle_t  hDevice)

Get supported measure modes.

Parameters
hDeviceA device handle.
Returns
Supported measure modes, a set of OR-ed MM_* values.
bool8_t ScpIsDataOverflow ( TpDeviceHandle_t  hDevice)

Check whether a data overflow has occurred.

Parameters
hDeviceA device handle.
Returns
BOOL8_TRUE if overflow occurred, BOOL8_FALSE otherwise.
bool8_t ScpIsDataReady ( TpDeviceHandle_t  hDevice)

Check whether data is ready.

Parameters
hDeviceA device handle.
Returns
BOOL8_TRUE if measuring done, BOOL8_FALSE otherwise.
bool8_t ScpIsRunning ( TpDeviceHandle_t  hDevice)

Check whether instrument is measuring.

Parameters
hDeviceA device handle.
Returns
BOOL8_TRUE if instrument is measuring, BOOL8_FALSE otherwise.
bool8_t ScpIsTriggered ( TpDeviceHandle_t  hDevice)

Check is instrument has triggered.

Parameters
hDeviceA device handle.
Returns
BOOL8_TRUE if oscilloscope has triggerd, BOOL8_FALSE otherwise.
uint32_t ScpSetMeasureMode ( TpDeviceHandle_t  hDevice,
uint32_t  dwMeasureMode 
)

Set measure mode.

Parameters
hDeviceA device handle.
dwMeasureModeMeasure mode, a MM_* value.
Returns
Measure mode, a MM_* value.
bool8_t ScpStart ( TpDeviceHandle_t  hDevice)

Start measuring.

Parameters
hDeviceA device handle.
Returns
BOOL8_TRUE if the measurement is started, BOOL8_FALSE otherwise.
void ScpStop ( TpDeviceHandle_t  hDevice)

Stop measuring.

Parameters
hDeviceA device handle.