LibTiePie  0.4.3
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Data overflow

Functions

void ScpSetCallbackDataOverflow (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the instrument has a data overflow.
 
void ScpSetEventDataOverflow (TpDeviceHandle_t hDevice, int fdEvent)
 
void ScpSetEventDataOverflow (TpDeviceHandle_t hDevice, HANDLE hEvent)
 
void ScpSetMessageDataOverflow (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which a WM_LIBTIEPIE_SCP_DATAOVERFLOW message is sent when a data overflow has occurred.
 

Detailed Description

Function Documentation

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

Set callback function which is called when the instrument has a data overflow.

Parameters
hDeviceA device handle.
pCallbackPointer to callback function.
pDataOptional user data.
void ScpSetEventDataOverflow ( TpDeviceHandle_t  hDevice,
int  fdEvent 
)
Parameters
hDeviceA Opening a device "device handle".
fdEventEvent file descriptor.
Note
This function is only supported on GNU/Linux.
void ScpSetEventDataOverflow ( TpDeviceHandle_t  hDevice,
HANDLE  hEvent 
)
Parameters
hDeviceA Opening a device "device handle".
hEventA handle to the event object.
Note
This function is only supported on Windows.
void ScpSetMessageDataOverflow ( TpDeviceHandle_t  hDevice,
HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
)

Set window handle to which a WM_LIBTIEPIE_SCP_DATAOVERFLOW message is sent when a data overflow has occurred.

Parameters
hDeviceA Opening a device "device handle".
hWndA handle to the window whose window procedure is to receive the message.
wParamOptional user value for the messages wParam.
lParamOptional user value for the messages lParam.
Note
This function is only supported on Windows.