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

Functions

void ScpSetCallbackDataReady (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the instrument has data ready.
 
void ScpSetCallbackDataOverflow (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the instrument has a data overflow.
 
void ScpSetCallbackConnectionTestCompleted (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the connection test is completed.
 
void ScpSetEventDataReady (TpDeviceHandle_t hDevice, HANDLE hEvent)
 
void ScpSetEventDataOverflow (TpDeviceHandle_t hDevice, HANDLE hEvent)
 
void ScpSetEventConnectionTestCompleted (TpDeviceHandle_t hDevice, HANDLE hEvent)
 
void ScpSetMessageDataReady (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which is send a WM_LIBTIEPIE_SCP_DATAREADY message when the instrument has data ready.
 
void ScpSetMessageDataOverflow (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which is send a WM_LIBTIEPIE_SCP_DATAOVERFLOW message when a data overflow has occurred.
 
void ScpSetMessageConnectionTestCompleted (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which is send a WM_LIBTIEPIE_SCP_CONNECTIONTESTCOMPLETED message when the connection test is completed.
 

Detailed Description

Function Documentation

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

Set callback function which is called when the connection test is completed.

Parameters
hDeviceA device handle.
pCallbackPointer to callback function.
pDataOptional user data.
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 ScpSetCallbackDataReady ( TpDeviceHandle_t  hDevice,
TpCallback_t  pCallback,
void *  pData 
)

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

Parameters
hDeviceA device handle.
pCallbackPointer to callback function.
pDataOptional user data.
void ScpSetEventConnectionTestCompleted ( TpDeviceHandle_t  hDevice,
HANDLE  hEvent 
)
Parameters
hDeviceA Opening a device handle "device handle".
hEventA handle to the event object.
Note
This function is only supported on Windows.
void ScpSetEventDataOverflow ( TpDeviceHandle_t  hDevice,
HANDLE  hEvent 
)
Parameters
hDeviceA Opening a device handle "device handle".
hEventA handle to the event object.
Note
This function is only supported on Windows.
void ScpSetEventDataReady ( TpDeviceHandle_t  hDevice,
HANDLE  hEvent 
)
Parameters
hDeviceA Opening a device handle "device handle".
hEventA handle to the event object.
Note
This function is only supported on Windows.
void ScpSetMessageConnectionTestCompleted ( TpDeviceHandle_t  hDevice,
HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
)

Set window handle to which is send a WM_LIBTIEPIE_SCP_CONNECTIONTESTCOMPLETED message when the connection test is completed.

Parameters
hDeviceA Opening a device handle "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.
void ScpSetMessageDataOverflow ( TpDeviceHandle_t  hDevice,
HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
)

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

Parameters
hDeviceA Opening a device handle "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.
void ScpSetMessageDataReady ( TpDeviceHandle_t  hDevice,
HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
)

Set window handle to which is send a WM_LIBTIEPIE_SCP_DATAREADY message when the instrument has data ready.

Parameters
hDeviceA Opening a device handle "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.