co_signal co_signal_create(const char *name); Header Fileco.h DescriptionThis function creates a signal. Signals created using co_signal_create are subsequently used to connect processes. This function must be called from within the configuration function of your application. ArgumentsThe argument for co_signal_create is as follows:
Return ValueA pointer to the created signal. This return value may subsequently be used as an argument to the function co_process_create. NotesSignal names, as specified in the first argument to co_signal_create, must be unique across the application when using the Application Monitor. In simulation, the function prints an error and terminates the application if it is called from outside the configuration function. |