|
LibTiePie
0.9.16
Library for interfacing TiePie engineering instruments
|
Functions to control the segment count.
The segment count can be affected by changing the record length.
Functions | |
| uint32_t | ScpGetSegmentCountMax (LibTiePieHandle_t hDevice) |
| Get the maximum supported number of segments of a specified oscilloscope. More... | |
| uint32_t | ScpGetSegmentCount (LibTiePieHandle_t hDevice) |
| Get the currently selected number of segments of a specified oscilloscope. More... | |
| uint32_t | ScpSetSegmentCount (LibTiePieHandle_t hDevice, uint32_t dwSegmentCount) |
| Set the number of segments of a specified oscilloscope. More... | |
| uint32_t ScpGetSegmentCountMax | ( | LibTiePieHandle_t | hDevice | ) |
Get the maximum supported number of segments of a specified oscilloscope.
| [in] | hDevice | A device handle identifying the oscilloscope. |
0 when unsuccessful. | NOT_SUPPORTED | Segment count is not supported by the hardware. |
| INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
| OBJECT_GONE | The object indicated by the handle is no longer available. |
| LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
| SUCCESS | The function executed successfully. |
| uint32_t ScpGetSegmentCount | ( | LibTiePieHandle_t | hDevice | ) |
Get the currently selected number of segments of a specified oscilloscope.
| [in] | hDevice | A device handle identifying the oscilloscope. |
0 when unsuccessful. | INVALID_VALUE | The requested value is invalid. |
| NOT_SUPPORTED | Segment count is not supported by the hardware. |
| INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
| OBJECT_GONE | The object indicated by the handle is no longer available. |
| LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
| SUCCESS | The function executed successfully. |
| uint32_t ScpSetSegmentCount | ( | LibTiePieHandle_t | hDevice, |
| uint32_t | dwSegmentCount | ||
| ) |
Set the number of segments of a specified oscilloscope.
| [in] | hDevice | A device handle identifying the oscilloscope. |
| [in] | dwSegmentCount | The required number of segments. |
0 when unsuccessful. | VALUE_CLIPPED | The requested segment count is outside the valid range and clipped to the closest limit. |
| VALUE_MODIFIED | The requested segment count is within the valid range but not available. The closest valid value is set. |
| INVALID_VALUE | The requested value is invalid. |
| NOT_SUPPORTED | Segment count is not supported by the hardware. |
| INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
| OBJECT_GONE | The object indicated by the handle is no longer available. |
| LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
| SUCCESS | The function executed successfully. |