Creation Functions : stmCreateEvent

stmCreateEvent

Creates an event.
Syntax
stmCreateEvent (stm_context, chart_name, event_name, structure, usage, array_lindex, array_rindex, definition, short_description, long_description)
Return Type
status_code
See Function Status Codes for the list of possible values.
Arguments
 
Input/Output
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.
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, defining COLOR’ RED as the left index of an array sets the value RED in the of enum field of the element’s Data Dictionary form.