stmCreateEvent
stmCreateEvent (stm_context, chart_name, event_name, structure, usage, array_lindex, array_rindex, definition, short_description, long_description)See Function Status Codes for the list of possible values.
Argument Name Input/Output STM context descriptor that was returned by stmInitImport 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, definingCOLOR’ RED
as the left index of an array sets the valueRED
in the of enum field of the element’s Data Dictionary form.