Set/Modify Functions : stmSetBitLimits

stmSetBitLimits

Defines default value for a “Bit” element. An error is issued if the element is not of “Bit” type.
Syntax
stmSetBitLimits (handle, chart_name, dataitem_name, element_type, 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 bit-type elements that may have a default value (except for field, subroutine parameter, and subroutine local variable):

data_item

data_type