LibTiePie
0.5
Library for interfacing TiePie engineering instruments
|
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 (TpDeviceHandle_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 (TpDeviceHandle_t hDevice, int fdEvent) |
Set an event file descriptor which is set when the oscilloscope streaming measurement caused an data overflow. More... | |
void ScpSetCallbackDataOverflow | ( | TpDeviceHandle_t | hDevice, |
TpCallback_t | pCallback, | ||
void * | pData | ||
) |
Set a callback function which is called when the oscilloscope streaming measurement caused an data overflow.
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | pCallback | A pointer to the callback function. Use NULL to disable. |
[in] | pData | Optional user data. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
DEVICE_GONE | The device indicated by the device handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
void ScpSetEventDataOverflow | ( | TpDeviceHandle_t | hDevice, |
int | fdEvent | ||
) |
Set an event file descriptor which is set when the oscilloscope streaming measurement caused an data overflow.
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | fdEvent | An event file descriptor. Use <0 to disable. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
DEVICE_GONE | The device indicated by the device handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |