LibTiePie  0.4.4
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Connection test completed

Functions

void ScpSetCallbackConnectionTestCompleted (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the connection test is completed.
 
void ScpSetEventConnectionTestCompleted (TpDeviceHandle_t hDevice, int fdEvent)
 
void ScpSetEventConnectionTestCompleted (TpDeviceHandle_t hDevice, HANDLE hEvent)
 
void ScpSetMessageConnectionTestCompleted (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which a WM_LIBTIEPIE_SCP_CONNECTIONTESTCOMPLETED message is sent 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.
Since
0.4.0
void ScpSetEventConnectionTestCompleted ( TpDeviceHandle_t  hDevice,
int  fdEvent 
)
Parameters
hDeviceA Opening a device "device handle".
fdEventEvent file descriptor.
Note
This function is only available on GNU/Linux.
Since
0.4.0
void ScpSetEventConnectionTestCompleted ( TpDeviceHandle_t  hDevice,
HANDLE  hEvent 
)
Parameters
hDeviceA Opening a device "device handle".
hEventA handle to the event object.
Note
This function is only available on Windows.
Since
0.4.0
void ScpSetMessageConnectionTestCompleted ( TpDeviceHandle_t  hDevice,
HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
)

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

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