Set/Modify Functions : stmSetStringLimits

stmSetStringLimits

Defines additional parameters for a “String”element: string length and default value. An error is issued if the element is not of “String” type.
Syntax
stmSetStringLimits (handle, chart_name, dataitem_name, element_type, string_length, default_val)
Return Type
status_code
See Function Status Codes for the list of possible values.
Arguments
 
Input/Output
Enumeration
stm_element_type
stm_data_item
stm_data_type (UserType)
Note: This API supports all “String” type elements (except for field, subroutine parameter, and subroutine local variable):

data_item

data_type