LibTiePie  0.4.4
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Controllable changed

Functions for handling the Controllable changed event. More...

Functions

void GenSetCallbackControllableChanged (TpDeviceHandle_t hDevice, TpCallback_t pCallback, void *pData)
 Set callback function which is called when the generator controllable property changes.
 
void GenSetEventControllableChanged (TpDeviceHandle_t hDevice, int fdEvent)
 Set event file descriptor which is set when the generator controllable property changes.
 
void GenSetEventControllableChanged (TpDeviceHandle_t hDevice, HANDLE hEvent)
 Set event object handle which is set when the generator controllable property changes.
 
void GenSetMessageControllableChanged (TpDeviceHandle_t hDevice, HWND hWnd, WPARAM wParam, LPARAM lParam)
 Set window handle to which a WM_LIBTIEPIE_GEN_CONTROLLABLECHANGED message is sent when the generator controllable property changes.
 

Detailed Description

Functions for handling the Controllable changed event.

Function Documentation

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

Set callback function which is called when the generator controllable property changes.

Parameters
hDeviceA device handle.
pCallbackPointer to callback function.
pDataOptional user data.
Since
0.4.0
void GenSetEventControllableChanged ( TpDeviceHandle_t  hDevice,
int  fdEvent 
)

Set event file descriptor which is set when the generator controllable property changes.

Parameters
hDeviceA Opening a device "device handle".
fdEventEvent file descriptor.
Note
This function is only available on GNU/Linux.
Since
0.4.0
void GenSetEventControllableChanged ( TpDeviceHandle_t  hDevice,
HANDLE  hEvent 
)

Set event object handle which is set when the generator controllable property changes.

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 GenSetMessageControllableChanged ( TpDeviceHandle_t  hDevice,
HWND  hWnd,
WPARAM  wParam,
LPARAM  lParam 
)

Set window handle to which a WM_LIBTIEPIE_GEN_CONTROLLABLECHANGED message is sent when the generator controllable property changes.

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