stmCreateCondition
stmCreateCondition (stm_context, chart_name, condition_name, structure, usage, array_lindex, array_rindex, definition, short_description, long_description)See Function Status Codes for the list of possible values.
Input/Output STM context descriptor that was returned by stmInitImport stmstm_co_definition_type Left index of array. May be either a numeric constant or a dataitem name. NULL for non array type Right index of array. May be either a numeric constant or a dataitem name. NULL for non array type Definition of non variable usage. NULL for no definition. Note: If you are using an enumerated value for your array indices, you should define the enumerated index in full-quote notation form. For example, definingCOLORS’RED
as the left index of an array sets the valueRED
in the of enum field of the element’s Data Dictionary form.