stm_r_ac_subroutine_bind_enable Determines whether the subroutine bound to the specified activity is enabled or disabled. Function Type int (predefined constant) For Elements activity ac Syntax stm_r_ac_subroutine_bind_enable (ac_id, &status) Arguments Argument Input/Output Type Description ac_id In stm_id The element ID. status Out int The function status code. Status Codes ● stm_success ● stm_id_out_of_range ● stm_unresolved ● stm_id_not_found Return Values Although the return value of this function is of type int, Dataport enables you to reference this value by name. The possible values are as follows: ● stm_ac_cbk_enable ● stm_ac_cbk_disable ● stm_ac_cbk_bind_missing
activity
ac
ac_id
stm_id
status
int
stm_success
stm_id_out_of_range
stm_unresolved
stm_id_not_found
●
stm_ac_cbk_enable
stm_ac_cbk_disable
stm_ac_cbk_bind_missing