Set/Modify Functions : stmSetRealLimits

stmSetRealLimits

Defines additional parameters for a “Real” type element: min/max values and default value. An error is issued if the data item is not of “Real” type.
Syntax
stmSetRealLimits (handle, chart_name, dataitem_name, element_type, min_val, max_val, 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 “Real” type elements (except for field, subroutine parameter, and subroutine local variable):

data_item

data_type