stm_r_ch_usage_type Returns the usage type for a chart. Function Type stm_chart_usage For Elements chart ch Syntax stm_r_ch_usage_type (ch_id, &status) Arguments Argument Input/Output Type Description ch_id In stm_id The element ID. status Out int The function status code. Status Codes ● stm_success ● stm_id_out_of_range ● stm_id_not_found Return Value Although the return value of this function is of type int, Dataport enables you to reference this value by name. The possible values are: ● stm_ch_usage_generic ● stm_ch_usage_normal ● stm_ch_usage_ref_generic ● stm_ch_usage_ref_offpage ● stm_ch_usage_ref_describing
ch_id
stm_id
status
int
stm_success
stm_id_out_of_range
stm_id_not_found
int,
●
stm_ch_usage_generic
stm_ch_usage_normal
stm_ch_usage_ref_generic
stm_ch_usage_ref_offpage
stm_ch_usage_ref_describing