stmSetIntegerLimits
Defines additional parameters for an integer data item: # of bits, min/max values, and default value. An error is issued if the data item is not of integer type.stmSetIntegerLimits (handle, chart_name, dataitem_name, element_type,
min_val, max_val, num_of_bits, default_val)
See Function Status Codes for the list of possible values.
Input/Output STM context descriptor that was returned by stmInitImport Enumeration
stm_element_type stm_data_item
stm_data_type (UserType) Min value: either a numeric constant or a data item name Max value: either a numeric constant or a data item name Number of bits for the integer value (*)Optional - a numeric constant