co_error co_process_config(co_process process, co_attribute attribute, const char *val); Header Fileco.h DescriptionThis 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. ArgumentsThe arguments for co_process_config are as follows:
Return ValueCurrently, this function always returns co_err_none. NotesThe 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. |