LibTiePie  0.9.14
Library for interfacing TiePie engineering instruments

Description

Functions to set notifications that are triggered when the oscilloscope streaming measurement caused an data overflow.

This occurs when during a streaming measurement new measurement data is available while previous measured data is not collected yet.

Functions

void ScpSetCallbackDataOverflow (LibTiePieHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set a callback function which is called when the oscilloscope streaming measurement caused an data overflow. More...
 
void ScpSetEventDataOverflow (LibTiePieHandle_t hDevice, int fdEvent)
 Set an event file descriptor which is set when the oscilloscope streaming measurement caused an data overflow. More...
 
void ScpSetEventDataOverflow (LibTiePieHandle_t hDevice, HANDLE hEvent)
 Set an event object handle which is set when the oscilloscope streaming measurement caused an data overflow. More...
 
void ScpSetMessageDataOverflow (LibTiePieHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set a window handle to which a WM_LIBTIEPIE_SCP_DATAOVERFLOW message is sent when the oscilloscope streaming measurement caused an data overflow. More...
 

Function Documentation

void ScpSetCallbackDataOverflow ( LibTiePieHandle_t  hDevice,
TpCallback_t  pCallback,
void *  pData 
)

Set a callback function which is called when the oscilloscope streaming measurement caused an data overflow.

Deprecated:
Will be removed in future version, see: ObjSetEventCallback()
Parameters
[in]hDeviceA device handle identifying the oscilloscope.
[in]pCallbackA pointer to the callback function. Use NULL to disable.
[in]pDataOptional user data.
Status values
INVALID_HANDLE The handle is not a valid oscilloscope handle.
OBJECT_GONE The object indicated by the handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
See also
ScpIsDataOverflow
Since
0.4.0
void ScpSetEventDataOverflow ( LibTiePieHandle_t  hDevice,
int  fdEvent 
)

Set an event file descriptor which is set when the oscilloscope streaming measurement caused an data overflow.

Deprecated:
Will be removed in future version, see: ObjSetEventEvent()
Parameters
[in]hDeviceA device handle identifying the oscilloscope.
[in]fdEventAn event file descriptor. Use <0 to disable.
Note
This function is only available on GNU/Linux.
Status values
INVALID_HANDLE The handle is not a valid oscilloscope handle.
OBJECT_GONE The object indicated by the handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
See also
ScpIsDataOverflow
Since
0.4.0
void ScpSetEventDataOverflow ( LibTiePieHandle_t  hDevice,
HANDLE  hEvent 
)

Set an event object handle which is set when the oscilloscope streaming measurement caused an data overflow.

Deprecated:
Will be removed in future version, see: ObjSetEventEvent()
Parameters
[in]hDeviceA device handle identifying the oscilloscope.
[in]hEventA handle to the event object. Use NULL to disable.
Note
This function is only available on Windows.
Status values
INVALID_HANDLE The handle is not a valid oscilloscope handle.
OBJECT_GONE The object indicated by the handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
See also
ScpIsDataOverflow
Since
0.4.0
void ScpSetMessageDataOverflow ( LibTiePieHandle_t  hDevice,
HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
)

Set a window handle to which a WM_LIBTIEPIE_SCP_DATAOVERFLOW message is sent when the oscilloscope streaming measurement caused an data overflow.

Deprecated:
Will be removed in future version, see: ObjSetEventWindowHandle()
Parameters
[in]hDeviceA device handle identifying the oscilloscope.
[in]hWndA handle to the window whose window procedure is to receive the message. Use NULL to disable.
[in]wParamOptional user value for the wParam parameter of the message.
[in]lParamOptional user value for the lParam parameter of the message.
Note
This function is only available on Windows.
Status values
INVALID_HANDLE The handle is not a valid oscilloscope handle.
OBJECT_GONE The object indicated by the handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
See also
ScpIsDataOverflow
Since
0.4.0