co_error co_process_config(co_process process, co_attribute attribute, const char *val);
This function configures attributes of a process. The co_attribute argument specifies which attribute of the process to configure. This function must be called from within the configuration function of your application.
The arguments for co_process_config are as follows:
Currently, this function always returns co_err_none.
The only possible value of attribute at this time is co_loc (hardware location). The val argument specifies the value of the given attribute. Currently, since there is only one attribute to configure, val always specifies the name of the process hardware location.
In simulation, this function prints an error message and terminates the application if it is called outside the configuration function.