LibTiePie  0.4.5
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Modules Pages
Segment count

Description

This section contains all segment count related functions.

The segment count can be affected by changing the record length.

Functions

uint32_t ScpGetSegmentCountMax (TpDeviceHandle_t hDevice)
 Get the maximum supported number of segments. More...
 
uint32_t ScpGetSegmentCount (TpDeviceHandle_t hDevice)
 Get the currently selected number of segments. More...
 
uint32_t ScpSetSegmentCount (TpDeviceHandle_t hDevice, uint32_t dwSegmentCount)
 Set the number of segments. More...
 

Function Documentation

uint32_t ScpGetSegmentCountMax ( TpDeviceHandle_t  hDevice)

Get the maximum supported number of segments.

Parameters
hDeviceA device handle.
Returns
The maximum supported number of segments.
Since
0.4.3
uint32_t ScpGetSegmentCount ( TpDeviceHandle_t  hDevice)

Get the currently selected number of segments.

Parameters
hDeviceA device handle.
Returns
The currently selected number of segments.
Since
0.4.3
uint32_t ScpSetSegmentCount ( TpDeviceHandle_t  hDevice,
uint32_t  dwSegmentCount 
)

Set the number of segments.

Parameters
hDeviceA device handle.
dwSegmentCountThe required number of segments.
Returns
The actually set number of segments.
Since
0.4.3