Functions to control the segment count.
The segment count can be affected by changing the record length.
Get the maximum supported number of segments of a specified oscilloscope.
- Parameters
-
- Returns
- The maximum supported number of segments, or
0
when unsuccessful.
- Status values
-
- See also
- ScpGetSegmentCount
-
ScpSetSegmentCount
- Since
- 0.4.3
Get the currently selected number of segments of a specified oscilloscope.
- Parameters
-
- Returns
- The currently selected number of segments, or
0
when unsuccessful.
- Status values
-
- See also
- ScpGetSegmentCountMax
-
ScpSetSegmentCount
- Since
- 0.4.3
uint32_t ScpSetSegmentCount |
( |
TpDeviceHandle_t |
hDevice, |
|
|
uint32_t |
dwSegmentCount |
|
) |
| |
Set the number of segments of a specified oscilloscope.
- Parameters
-
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | dwSegmentCount | The required number of segments. |
- Returns
- The actually set number of segments, or
0
when unsuccessful.
- Status values
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 not valid. |
NOT_SUPPORTED | Segment count is not supported by the hardware. |
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. |
- See also
- ScpGetSegmentCountMax
-
ScpGetSegmentCount
- Since
- 0.4.3