|
Example-3b |
Top Previous Next |
|
Example-3 has two tasks: task driver reads characters from stdin and sends them to task upc which converts the characters to upper case and sends them back task driver for printing. It is the same as Example-3 except that the channels between the tasks are accessed by name rather than by the parameters to main.
Running the Example Make sure you have set the default processor type corresponding to the hardware you have as explained here.
You can build the application by typing Ctrl+B and then execute it by clicking run.
When the application runs, it requests input from the console area. Note that the cursor only moves onto a new line when you start typing.
Type some text and terminate each line with Return. Your input should be printed in the output window with all letters in upper case.
You terminate the program by clicking the Send EOF icon.
Prerequisites You need the following components to be able to run this example:
|