Was this helpful?
seglen Routine--Determine Length of Each Long Segment
This routine returns the maximum number of bytes that can fit into a segment. For a peripheral like long line, it is the number of points that can fit in the input length times the size of a point plus the size of a line's overhead.
Inputs
The inputs for this function are:
scb
Pointer to a SCB
dt_id
Data type ID of peripheral object
result_dv
Pointer to an II_DATA_VALUE with the maximum size of the segment in the length field
Outputs
The outputs for this function are:
result_dv
Pointer to an II_DATA_VALUE that receives the underlying data type, the maximum length of the underlying data type, and the precision of the underlying data type.
Returns
II_STATUS
Last modified date: 04/03/2024